summaryrefslogtreecommitdiff
path: root/include/net-snmp/library/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-snmp/library/getopt.h')
-rw-r--r--include/net-snmp/library/getopt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/net-snmp/library/getopt.h b/include/net-snmp/library/getopt.h
new file mode 100644
index 0000000..0f4d691
--- /dev/null
+++ b/include/net-snmp/library/getopt.h
@@ -0,0 +1,15 @@
+#ifndef _GETOPT_H_
+#define _GETOPT_H_ 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+NETSNMP_IMPORT int getopt(int, char *const *, const char *);
+NETSNMP_IMPORT char *optarg;
+NETSNMP_IMPORT int optind, opterr, optopt, optreset;
+
+#ifdef __cplusplus
+}
+#endif
+#endif