From: Kurt Zeilenga Date: Wed, 5 Dec 2001 00:07:04 +0000 (+0000) Subject: zap friendly X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~783 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dffcf0be274a9fa6082d69a0bfdc2d34696e0365;p=openldap zap friendly --- diff --git a/doc/man/man3/ldap_friendly.3 b/doc/man/man3/ldap_friendly.3 deleted file mode 100644 index 754d7bf6f9..0000000000 --- a/doc/man/man3/ldap_friendly.3 +++ /dev/null @@ -1,71 +0,0 @@ -.TH LDAP_FRIENDLY 3 "22 September 1998" "OpenLDAP LDVERSION" -.\" $OpenLDAP$ -.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved. -.\" Copying restrictions apply. See COPYRIGHT/LICENSE. -.SH NAME -ldap_friendly_name, ldap_free_friendlymap \- LDAP unfriendly to friendly name mapping routine -.SH SYNOPSIS -.nf -.ft B -#include -.LP -.ft B -typedef struct ldap_friendly LDAPFriendlyMap; -.LP -.ft B -const char *ldap_friendly_name( - const char *filename, - const char *name, - LDAPFriendlyMap **map) -.LP -.ft B -void ldap_free_friendlymap( LDAPFriendlyMap **map ) -.ft -LDAPFriendlyMap **map; -.SH DESCRIPTION -This routine is used to map one set of strings to another. Typically, -this is done for country names, to map from the two-letter country -codes to longer more readable names. The mechanism is general enough -to be used with other things, though. -.LP -\fIfilename\fP is the name of a file containing the unfriendly to -friendly mapping, \fIname\fP is the unfriendly name to map to a friendly -name, and \fImap\fP is a result-parameter that should be set to NULL -on the first call. It is then used to hold the mapping in core so that -the file need not be read on subsequent calls. -.LP -For example: -.LP -.nf -.ft tt - LDAPFriendlyMap *map = NULL; - - printf( "unfriendly %s => friendly %s\\n", name, - ldap_friendly_name( "DATADIR/ldapfriendly", name, &map ) ); -.ft -.fi -.LP -The mapping file should contain lines like this: unfriendlyname\\tfriendlyname. -Lines that begin with a '#' character are comments and are ignored. -.LP -The -.B ldap_free_friendlymap() -call is used to free structures allocated by -.B ldap_friendly_name() -when no more calls to -.B ldap_friendly_name() -are to be made. -.SH ERRORS -NULL is returned by -.B ldap_friendly_name() -if there is an error opening \fIfilename\fP, or if the file has a bad -format, or if the \fImap\fP parameter is NULL. -.SH FILES -DATADIR/ldapfriendly.conf -.SH SEE ALSO -.BR ldap (3) -.SH ACKNOWLEDGEMENTS -.B OpenLDAP -is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). -.B OpenLDAP -is derived from University of Michigan LDAP 3.3 Release. diff --git a/doc/man/man3/ldap_friendly.3.links b/doc/man/man3/ldap_friendly.3.links deleted file mode 100644 index 5b17231fd3..0000000000 --- a/doc/man/man3/ldap_friendly.3.links +++ /dev/null @@ -1,2 +0,0 @@ -ldap_friendly_name.3 -ldap_free_friendlymap.3 diff --git a/doc/man/man5/ldapfriendly.5 b/doc/man/man5/ldapfriendly.5 deleted file mode 100644 index f3e4ea0720..0000000000 --- a/doc/man/man5/ldapfriendly.5 +++ /dev/null @@ -1,34 +0,0 @@ -.TH LDAPFRIENDLY 5 "20 August 2000" "OpenLDAP LDVERSION" -.\" $OpenLDAP$ -.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved. -.\" Copying restrictions apply. See COPYRIGHT/LICENSE. -.SH NAME -ldapfriendly \- data file for LDAP friendly routines -.SH SYNOPSIS -DATADIR/ldapfriendly -.SH DESCRIPTION -.LP -The file DATADIR/ldapfriendly contains simple mapping information -used by the -.BR ldap_friendly_name (3) -routine. Blank lines and -lines that have a first character of `#' are treated as comments and -ignored. The information consists of lines that contain -an "unfriendly" name, a tab, and a "friendly" name. -.LP -Other friendly mapping files can be created and used by -.BR ldap_friendly_name (3). -Just use the same format as that described -above and include the file name in the -.B ldap_friendly_name() -call. -.SH FILES -DATADIR/ldapfriendly -.SH SEE ALSO -.BR ldap (3), -.BR ldap_friendly_name (3) -.SH ACKNOWLEDGEMENTS -.B OpenLDAP -is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). -.B OpenLDAP -is derived from University of Michigan LDAP 3.3 Release.