s3:modules: s/event_add_timed/tevent_add_timer
[Samba/gebeck_regimport.git] / nsswitch / libwbclient / wbclient_internal.h
blob31f413057e04de096b6ecd74ff2a4ef49383e721
1 /*
2 Unix SMB/CIFS implementation.
4 Winbind client API
6 Copyright (C) Gerald (Jerry) Carter 2007
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 3 of the License, or (at your option) any later version.
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Library General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _WBCLIENT_INTERNAL_H
23 #define _WBCLIENT_INTERNAL_H
25 /* Private functions */
27 wbcErr wbcRequestResponse(int cmd,
28 struct winbindd_request *request,
29 struct winbindd_response *response);
31 wbcErr wbcRequestResponsePriv(int cmd,
32 struct winbindd_request *request,
33 struct winbindd_response *response);
35 void *wbcAllocateMemory(size_t nelem, size_t elsize,
36 void (*destructor)(void *ptr));
38 char *wbcStrDup(const char *str);
39 const char **wbcAllocateStringArray(int num_strings);
41 #endif /* _WBCLIENT_INTERNAL_H */