Lines Matching refs:map
47 ldap_friendly_name( char *filename, char *uname, FriendlyMap **map )
54 if ( map == NULL ) {
61 if ( *map == NULL ) {
72 if ( (*map = (FriendlyMap *) malloc( (entries + 1) *
109 (*map)[i].f_unfriendly = strdup( buf );
110 (*map)[i].f_friendly = strdup( s );
115 (*map)[i].f_unfriendly = NULL;
118 for ( i = 0; (*map)[i].f_unfriendly != NULL; i++ ) {
119 if ( strcasecmp( uname, (*map)[i].f_unfriendly ) == 0 )
120 return( (*map)[i].f_friendly );
127 ldap_free_friendlymap( FriendlyMap **map )
129 struct friendly* pF = *map;
140 free( *map );
141 *map = NULL;