aboutsummaryrefslogtreecommitdiffstats
path: root/roms/SLOF/lib/libnet/args.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/SLOF/lib/libnet/args.h')
-rw-r--r--roms/SLOF/lib/libnet/args.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/roms/SLOF/lib/libnet/args.h b/roms/SLOF/lib/libnet/args.h
new file mode 100644
index 000000000..1ede9a8c8
--- /dev/null
+++ b/roms/SLOF/lib/libnet/args.h
@@ -0,0 +1,23 @@
+/******************************************************************************
+ * Copyright (c) 2004, 2008 IBM Corporation
+ * All rights reserved.
+ * This program and the accompanying materials
+ * are made available under the terms of the BSD License
+ * which accompanies this distribution, and is available at
+ * http://www.opensource.org/licenses/bsd-license.php
+ *
+ * Contributors:
+ * IBM Corporation - initial implementation
+ *****************************************************************************/
+
+#ifndef _ARGS_H
+#define _ARGS_H
+
+const char *get_arg_ptr(const char *, unsigned int);
+unsigned int get_args_count(const char *);
+unsigned int get_arg_length(const char *);
+char *argncpy(const char *, unsigned int, char *, unsigned int);
+int strtoip(const char *, char[4]);
+int strtoip_netmask(const char *, char[4], unsigned int *netmask);
+
+#endif /* _ARGS_H */