OSSP CVS Repository

ossp - Difference in ossp-pkg/popt/popt.h versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/popt/popt.h 1.2 -> 1.3

--- popt.h       2002/03/15 08:49:49     1.2
+++ popt.h       2002/09/20 18:16:41     1.3
@@ -25,7 +25,7 @@
  *
  *  NOTICE:
  *  This is an automatically generated, stripped down version of the
- *  POPT 1.6.4 library from Red Hat, Inc. This version is still
+ *  POPT 1.7 library from Red Hat, Inc. This version is still
  *  distributed under above Open Source license, but Red Hat is no longer
  *  responsible for this version. Contact The OSSP Project instead.
  */
@@ -118,10 +118,12 @@
 }  *popt_item;
 
 extern struct popt_option popt_aliasOptions[];
+
 #define POPT_AUTOALIAS { NULL, '\0', POPT_ARG_INCLUDE_TABLE, popt_aliasOptions, \
                         0, "Options implemented via popt alias/exec:", NULL },
 
 extern struct popt_option popt_helpoptions[];
+
 #define POPT_AUTOHELP { NULL, '\0', POPT_ARG_INCLUDE_TABLE, popt_helpoptions, \
                         0, "Help options:", NULL },
 
@@ -135,9 +137,10 @@
 
 #endif
 
-enum popt_callbackreason { POPT_CALLBACK_REASON_PRE,
-        POPT_CALLBACK_REASON_POST,
-        POPT_CALLBACK_REASON_OPTION
+enum popt_callbackreason {
+        POPT_CALLBACK_REASON_PRE = 0,
+        POPT_CALLBACK_REASON_POST = 1,
+        POPT_CALLBACK_REASON_OPTION = 2
 };
 
 #ifdef __cplusplus
@@ -189,6 +192,9 @@
         int popt_parseargvstring(const char *s,
                                                          int *argcPtr, const char ***argvPtr);
 
+        int poptConfigFileToString(FILE * fp, char **argstrp, int flags)
+           ;
+
         const char *const popt_strerror(const int error);
 
         void popt_setexecpath(popt_context con, const char *path,
@@ -206,6 +212,12 @@
 
         int popt_strippedargv(popt_context con, int argc, char **argv);
 
+        int poptSaveLong(long *arg, int argInfo, long aLong)
+           ;
+
+        int poptSaveInt(int *arg, int argInfo, long aLong)
+           ;
+
 #ifdef  __cplusplus
 }
 #endif

CVSTrac 2.0.1