diff options
Diffstat (limited to 'ldap/systools/pio.h')
-rw-r--r-- | ldap/systools/pio.h | 32 |
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 */ + + |