1) added (unimplemented) POPT_CB_USE_INCLUDE_DATA and POPT_ARG_FLAG_*
authorewt <devnull@localhost>
Tue, 13 Oct 1998 14:45:18 +0000 (14:45 +0000)
committerewt <devnull@localhost>
Tue, 13 Oct 1998 14:45:18 +0000 (14:45 +0000)
2) added (and sued) POPT_ARG_MASK

CVS patchset: 2453
CVS date: 1998/10/13 14:45:18

popt/popt.h

index bdedcea..f982da3 100644 (file)
@@ -14,6 +14,8 @@
                                           set first in table; arg points 
                                           to callback, descrip points to 
                                           callback data to pass */
+#define POPT_ARG_MASK          0x0000FFFF
+#define POPT_ARGFLAG_MULTIPLE  0x80000000
 
 #define POPT_ERROR_NOARG       -10
 #define POPT_ERROR_BADOPT      -11
@@ -55,6 +57,7 @@ extern struct poptOption poptHelpOptions[];
 typedef struct poptContext_s * poptContext;
 typedef struct poptOption * poptOption;
 
+#define POPT_CB_USE_INCLUDE_DATA       ((void *) -1)
 typedef void (*poptCallbackType)(poptContext con, 
                                 const struct poptOption * opt,
                                 const char * arg, void * data);