Deal with c_req send errors asynchronously
[Samba/vfs_proxy.git] / source4 / nsswitch / winbind_client.h
blob2a3956e1fd410af0c12a7038612e3cd1d36c526e
1 #include "winbind_nss_config.h"
2 #include "winbind_struct_protocol.h"
4 void winbindd_init_request(struct winbindd_request *req,int rq_type);
5 void winbindd_free_response(struct winbindd_response *response);
6 NSS_STATUS winbindd_send_request(int req_type, int need_priv,
7 struct winbindd_request *request);
8 NSS_STATUS winbindd_get_response(struct winbindd_response *response);
9 NSS_STATUS winbindd_request_response(int req_type,
10 struct winbindd_request *request,
11 struct winbindd_response *response);
12 NSS_STATUS winbindd_priv_request_response(int req_type,
13 struct winbindd_request *request,
14 struct winbindd_response *response);
15 int winbindd_read_reply(struct winbindd_response *response);
17 bool winbind_env_set(void);
18 bool winbind_off(void);
19 bool winbind_on(void);
21 int winbind_write_sock(void *buffer, int count, int recursing, int need_priv);
22 int winbind_read_sock(void *buffer, int count);
23 void winbind_close_sock(void);
25 const char *nss_err_str(NSS_STATUS ret);