]> git.sur5r.net Git - openldap/blob - servers/slapd/tools/ldapsyntax.h
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
[openldap] / servers / slapd / tools / ldapsyntax.h
1 /* $OpenLDAP$ */
2 /*
3  * Copyright (c) 1995 Regents of the University of Michigan.
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted
7  * provided that this notice is preserved and that due credit is given
8  * to the University of Michigan at Ann Arbor. The name of the University
9  * may not be used to endorse or promote products derived from this
10  * software without specific prior written permission. This software
11  * is provided ``as is'' without express or implied warranty.
12  */
13
14 #ifndef LDAPSYNTAX_H
15 #define LDAPSYNTAX_H 1
16
17 #include <ldap_cdefs.h>
18
19 LDAP_BEGIN_DECL
20
21 /* XXX: the "master" LINE_WIDTH #define is in ../slap.h */
22 #define LINE_WIDTH      76      /* for lines in string rep of an entry */
23
24 /*
25  * function prototypes
26  */
27
28 int init_syntaxes LDAP_P(( void ));
29 int av2ldif LDAP_P(( FILE *outfp, AV_Sequence av, DN dn, short syntax,
30     char *attrname, PS str_ps ));
31
32 LDAP_END_DECL
33 #endif