summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbind_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/winbind_client.h')
-rw-r--r--source3/nsswitch/winbind_client.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/nsswitch/winbind_client.h b/source3/nsswitch/winbind_client.h
index 1d3d379af0..d80aff37fa 100644
--- a/source3/nsswitch/winbind_client.h
+++ b/source3/nsswitch/winbind_client.h
@@ -2,13 +2,16 @@
#include "winbindd_nss.h"
void init_request(struct winbindd_request *req,int rq_type);
-NSS_STATUS winbindd_send_request(int req_type,
+NSS_STATUS winbindd_send_request(int req_type, int need_priv,
struct winbindd_request *request);
NSS_STATUS winbindd_get_response(struct winbindd_response *response);
NSS_STATUS winbindd_request_response(int req_type,
struct winbindd_request *request,
struct winbindd_response *response);
-int write_sock(void *buffer, int count, int recursing);
+NSS_STATUS winbindd_priv_request_response(int req_type,
+ struct winbindd_request *request,
+ struct winbindd_response *response);
+int write_sock(void *buffer, int count, int recursing, int need_priv);
int read_reply(struct winbindd_response *response);
void close_sock(void);
void free_response(struct winbindd_response *response);