[BACK]Return to getarg.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / asn1_compile

Diff for /src/usr.bin/asn1_compile/Attic/getarg.h between version 1.1 and 1.2

version 1.1, 2003/05/11 21:36:33 version 1.2, 2005/10/16 18:56:35
Line 31 
Line 31 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
 /* $KTH: getarg.h,v 1.12 2002/04/18 08:50:08 joda Exp $ */  /* $KTH: getarg.h,v 1.14 2005/04/13 05:52:27 lha Exp $ */
   
 #ifndef __GETARG_H__  #ifndef __GETARG_H__
 #define __GETARG_H__  #define __GETARG_H__
   
 #include <stddef.h>  #include <stddef.h>
   
   #ifndef ROKEN_LIB_FUNCTION
   #ifdef _WIN32
   #define ROKEN_LIB_FUNCTION _stdcall
   #else
   #define ROKEN_LIB_FUNCTION
   #endif
   #endif
   
 struct getargs{  struct getargs{
     const char *long_name;      const char *long_name;
     char short_name;      char short_name;
Line 78 
Line 86 
     void *data;      void *data;
 } getarg_collect_info;  } getarg_collect_info;
   
 int getarg(struct getargs *args, size_t num_args,  int ROKEN_LIB_FUNCTION
            int argc, char **argv, int *goptind);  getarg(struct getargs *args, size_t num_args,
          int argc, char **argv, int *goptind);
   
 void arg_printusage (struct getargs *args,  void ROKEN_LIB_FUNCTION
                      size_t num_args,  arg_printusage (struct getargs *args,
                      const char *progname,                  size_t num_args,
                      const char *extra_string);                  const char *progname,
                   const char *extra_string);
   
 void free_getarg_strings (getarg_strings *);  void ROKEN_LIB_FUNCTION
   free_getarg_strings (getarg_strings *);
   
 #endif /* __GETARG_H__ */  #endif /* __GETARG_H__ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2