2 $Id: aclldap.h,v 1.1 2009-02-02 11:55:01 franklahm Exp $
3 Copyright (c) 2008,2009 Frank Lahm <franklahm@gmail.com>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
19 #include <atalk/uuid.h> /* just for uuidtype_t*/
21 /********************************************************
23 ********************************************************/
26 * name: give me his name
27 * type: and type of USER or GROUP
28 * uuid_string: returns pointer to allocated string
29 * returns 0 on success !=0 on errror
31 extern int ldap_getuuidfromname( const char *name, uuidtype_t type, char **uuid_string);
34 * uuipd: give me his uuid
35 * name: returns pointer to allocated string
36 * type: returns type: USER or GROUP
37 * returns 0 on success !=0 on errror
39 extern int ldap_getnamefromuuid( uuidp_t uuidp, char **name, uuidtype_t *type);
41 #endif /* ACLLDAP_H */