The implementation of parser parsing ldap:.
More...
#include "ld_uri.h"
#include "ld_cfg.h"
#include "../../mem/mem.h"
#include "../../ut.h"
#include <string.h>
Go to the source code of this file.
Defines
-
#define cmpstr(s1, s2, f) ((s1)!=(s2)) && ((s1)==0 || (s2)==0 || (f)((s1), (s2))!=0)
- compare s1 & s2 with a function f (which should return 0 if ==); s1 & s2 can be null return 0 if match, 1 if not
Functions
-
static int dupl_string (char **dst, const char *begin, const char *end)
- Duplicate a string.
- int ld_uri (db_uri_t *uri)
- Create a new ld_uri structure and parse the URI in parameter.
- static unsigned char ld_uri_cmp (db_uri_t *uri1, db_uri_t *uri2)
- Compares two LDAP connection URIs.
-
static char * pkgstrdup (str *s)
- Duplicate a string.
Detailed Description
. URIs.
Definition in file ld_uri.c.