Change from getopt to popt.
authorMartin Pool <mbp@samba.org>
Fri, 23 Feb 2001 01:02:55 +0000 (01:02 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 23 Feb 2001 01:02:55 +0000 (01:02 +0000)
Add comment.

rsync.h

diff --git a/rsync.h b/rsync.h
index 12dc2c8..cb138be 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -1,6 +1,7 @@
 /* 
    Copyright (C) by Andrew Tridgell 1996, 2000
    Copyright (C) Paul Mackerras 1996
+   Copyright (C) 2001 by Martin Pool <mbp@samba.org>
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -63,6 +64,9 @@
 
 #define MPLEX_BASE 7
 
+/* Log values.  I *think* what these mean is: FLOG goes to the server
+ * logfile; FERROR and FINFO try to end up on the client, with
+ * different levels of filtering. */
 enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 };
 
 #include "errcode.h"
@@ -77,12 +81,6 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 };
 
 #include <sys/types.h>
 
-#ifdef HAVE_GETOPT_LONG
-#include <getopt.h>
-#else
-#include "lib/getopt.h"
-#endif
-
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif