build: separate out dependencies and python rules
[Samba.git] / nsswitch / winbind_client.h
blobed1c81ddb2b5c4fb949d05315ea70f6182276706
1 #include "winbind_nss_config.h"
2 #include "winbind_struct_protocol.h"
4 void winbindd_free_response(struct winbindd_response *response);
5 NSS_STATUS winbindd_send_request(int req_type, int need_priv,
6 struct winbindd_request *request);
7 NSS_STATUS winbindd_get_response(struct winbindd_response *response);
8 NSS_STATUS winbindd_request_response(int req_type,
9 struct winbindd_request *request,
10 struct winbindd_response *response);
11 NSS_STATUS winbindd_priv_request_response(int req_type,
12 struct winbindd_request *request,
13 struct winbindd_response *response);
14 #define winbind_env_set() \
15 (strcmp(getenv(WINBINDD_DONT_ENV)?getenv(WINBINDD_DONT_ENV):"0","1") == 0)
17 #define winbind_off() \
18 (setenv(WINBINDD_DONT_ENV, "1", 1) == 0)
20 #define winbind_on() \
21 (setenv(WINBINDD_DONT_ENV, "0", 1) == 0)