don't dereference null pointer
[Samba/gebeck_regimport.git] / source4 / nsswitch / winbind_client.h
blob4de2d57cc7d987d4ae838bebc56f4ce51be9eed6
1 #include "winbind_nss_config.h"
2 #include "winbindd_nss.h"
4 void init_request(struct winbindd_request *req,int rq_type);
5 NSS_STATUS winbindd_send_request(int req_type,
6 struct winbindd_request *request);
7 NSS_STATUS winbindd_get_response(struct winbindd_response *response);
8 NSS_STATUS winbindd_request(int req_type,
9 struct winbindd_request *request,
10 struct winbindd_response *response);
11 int winbind_open_pipe_sock(void);
12 int write_sock(void *buffer, int count);
13 int read_reply(struct winbindd_response *response);
14 void close_sock(void);
15 void free_response(struct winbindd_response *response);