netatalk: aclldap.h Source File

netatalk 4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
aclldap.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2008,2009 Frank Lahm <franklahm@gmail.com>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13 */
14
15#ifndef ACLLDAP_H
16#define ACLLDAP_H
17
18#include <atalk/uuid.h> /* just for uuidtype_t*/
19
20/********************************************************
21 * Interface
22 ********************************************************/
23
24extern int ldap_getuuidfromname(const char *name, uuidtype_t type,
25 char **uuid_string);
26extern int ldap_getnamefromuuid(const char *uuidstr, char **name,
27 uuidtype_t *type);
28
29#endif /* ACLLDAP_H */
ldap_getnamefromuuid
int ldap_getnamefromuuid(const char *uuidstr, char **name, uuidtype_t *type)
LDAP search wrapper.
Definition ldap.c:490
ldap_getuuidfromname
int ldap_getuuidfromname(const char *name, uuidtype_t type, char **uuid_string)
Search UUID for name in LDAP.
Definition ldap.c:400
type
static enum op type
Definition nad_cp.c:96
uuid.h
uuidtype_t
uuidtype_t
Definition uuid.h:24