getopt.h 312 B

1234567891011121314
  1. #ifndef _LINUX_GETOPT_H
  2. #define _LINUX_GETOPT_H
  3. struct option {
  4. const char *name;
  5. unsigned long flag;
  6. int val;
  7. };
  8. extern int smb_getopt(char *caller, char **options, struct option *opts,
  9. char **optopt, char **optarg, unsigned long *flag,
  10. unsigned long *value);
  11. #endif /* _LINUX_GETOPT_H */