Changeset 740 for vendor/current/nsswitch/winbind_client.h
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/nsswitch/winbind_client.h
r414 r740 1 /* 2 Unix SMB/CIFS implementation. 3 4 winbind client common code 5 6 Copyright (C) Tim Potter 2000 7 Copyright (C) Andrew Tridgell 2000 8 Copyright (C) Andrew Bartlett 2002 9 10 11 This library is free software; you can redistribute it and/or 12 modify it under the terms of the GNU Lesser General Public 13 License as published by the Free Software Foundation; either 14 version 3 of the License, or (at your option) any later version. 15 16 This library is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 Library General Public License for more details. 20 21 You should have received a copy of the GNU Lesser General Public License 22 along with this program. If not, see <http://www.gnu.org/licenses/>. 23 */ 24 25 #ifndef _NSSWITCH_WINBIND_CLIENT_H_ 26 #define _NSSWITCH_WINBIND_CLIENT_H_ 27 1 28 #include "winbind_nss_config.h" 2 29 #include "winbind_struct_protocol.h" 3 30 4 void winbindd_init_request(struct winbindd_request *req,int rq_type);5 31 void winbindd_free_response(struct winbindd_response *response); 6 32 NSS_STATUS winbindd_send_request(int req_type, int need_priv, … … 13 39 struct winbindd_request *request, 14 40 struct winbindd_response *response); 15 int winbindd_read_reply(struct winbindd_response *response);16 17 41 #define winbind_env_set() \ 18 42 (strcmp(getenv(WINBINDD_DONT_ENV)?getenv(WINBINDD_DONT_ENV):"0","1") == 0) … … 24 48 (setenv(WINBINDD_DONT_ENV, "0", 1) == 0) 25 49 26 int winbind_write_sock(void *buffer, int count, int recursing, int need_priv); 27 int winbind_read_sock(void *buffer, int count); 28 void winbind_close_sock(void); 29 30 const char *nss_err_str(NSS_STATUS ret); 50 #endif /* _NSSWITCH_WINBIND_CLIENT_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.