my_getopt.h 375 B

1234567891011121314151617
  1. #ifndef MY_GETOPT_H_INCLUDED
  2. #define MY_GETOPT_H_INCLUDED
  3. #include <kopano/zcdefs.h>
  4. #include <getopt.h>
  5. struct option;
  6. namespace KC {
  7. /* Permit unknown long options, move them to end of argv like arguments */
  8. extern _kc_export int my_getopt_long_permissive(int, char **, const char *, const struct option *, int *);
  9. } /* namespace */
  10. #endif /* MY_GETOPT_H_INCLUDED */