Back to index

lightning-sunbird  0.9+nobinonly
Functions
countvalues.c File Reference
#include "ldap-int.h"

Go to the source code of this file.

Functions

int LDAP_CALL ldap_count_values (char **vals)
int LDAP_CALL ldap_count_values_len (struct berval **vals)

Function Documentation

int LDAP_CALL ldap_count_values ( char **  vals)

Definition at line 49 of file countvalues.c.

{
       int    i;

       if ( vals == NULL )
              return( 0 );

       for ( i = 0; vals[i] != NULL; i++ )
              ;      /* NULL */

       return( i );
}

Here is the caller graph for this function:

Definition at line 64 of file countvalues.c.

{
       return( ldap_count_values( (char **) vals ) );
}

Here is the call graph for this function: