summaryrefslogtreecommitdiffstats
path: root/ldap/systools/pio.h
diff options
context:
space:
mode:
authorcvsadm <cvsadm>2005-01-21 00:44:34 +0000
committercvsadm <cvsadm>2005-01-21 00:44:34 +0000
commitb2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch)
treecf58939393a9032182c4fbc4441164a9456e82f8 /ldap/systools/pio.h
downloadds-ldapserver7x.tar.gz
ds-ldapserver7x.tar.xz
ds-ldapserver7x.zip
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
Diffstat (limited to 'ldap/systools/pio.h')
-rw-r--r--ldap/systools/pio.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/ldap/systools/pio.h b/ldap/systools/pio.h
new file mode 100644
index 00000000..6f24bf8e
--- /dev/null
+++ b/ldap/systools/pio.h
@@ -0,0 +1,32 @@
+/** BEGIN COPYRIGHT BLOCK
+ * Copyright 2001 Sun Microsystems, Inc.
+ * Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
+ * All rights reserved.
+ * END COPYRIGHT BLOCK **/
+
+#ifndef _H_III_PIO_H
+#define _H_III_PIO_H
+
+#include <stdio.h>
+
+struct iii_pio_parsetab {
+ char *token;
+ int (*fn)(char *,char *);
+};
+
+#define III_PIO_SZ(x) (sizeof(x)/sizeof(struct iii_pio_parsetab))
+
+extern int iii_pio_procparse (
+ const char *cmd,
+ int count,
+ struct iii_pio_parsetab *
+);
+
+extern int iii_pio_getnum (
+ const char *cmd,
+ long *valPtr
+);
+
+#endif /* _H_III_PIO_H */
+
+