Back to index

courier  0.68.2
Functions
abookfind.c File Reference
#include "config.h"
#include "ldapaddressbook.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

struct ldapabookldapabook_find (const struct ldapabook *l, const char *n)

Function Documentation

struct ldapabook* ldapabook_find ( const struct ldapabook l,
const char *  n 
) [read]

Definition at line 14 of file abookfind.c.

{
       while (l)
       {
              if (strcmp(l->name, n) == 0)       return (l);

              l=l->next;
       }
       return (0);
}

Here is the caller graph for this function: