getopt.h 454 B

12345678910111213141516171819202122232425
  1. #ifndef _GETOPT_H_
  2. #define _GETOPT_H_ 1
  3. #ifndef NET_SNMP_CONFIG_H
  4. #error <net-snmp/net-snmp-config.h> must be included before <net-snmp/library/getopt.h>.
  5. #endif
  6. #if !defined(HAVE_GETOPT_H)
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. NETSNMP_IMPORT int getopt(int, char *const *, const char *);
  11. NETSNMP_IMPORT char *optarg;
  12. NETSNMP_IMPORT int optind, opterr, optopt, optreset;
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif /* HAVE_GETOPT_H */
  17. #endif