summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbind_client.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-14 07:07:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:45 -0500
commit28d076d20f9ce8afbee9a5de157ec0c9e308c9cf (patch)
tree8e552ea1b57562a6b2eca6ad16489d7fd6dd6ebf /source3/nsswitch/winbind_client.h
parent45a2713b475e66a880b4c6f019dc22119444dc7b (diff)
downloadsamba-28d076d20f9ce8afbee9a5de157ec0c9e308c9cf.tar.gz
samba-28d076d20f9ce8afbee9a5de157ec0c9e308c9cf.tar.bz2
samba-28d076d20f9ce8afbee9a5de157ec0c9e308c9cf.zip
r25143: rename public functions from winbind_client.h
init_request => winbindd_init_request free_response => winbindd_free_response read_reply => winbindd_read_reply write_sock => winbind_write_sock read_sock => winbind_read_sock close_sock => winbind_close_sock(void) metze (This used to be commit 8a95d7a7edcfa5e45bccc6eda5c45d9c308cb95d)
Diffstat (limited to 'source3/nsswitch/winbind_client.h')
-rw-r--r--source3/nsswitch/winbind_client.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/source3/nsswitch/winbind_client.h b/source3/nsswitch/winbind_client.h
index 01e46a2203..7c955a1cc3 100644
--- a/source3/nsswitch/winbind_client.h
+++ b/source3/nsswitch/winbind_client.h
@@ -1,7 +1,8 @@
#include "winbind_nss_config.h"
#include "winbindd_nss.h"
-void init_request(struct winbindd_request *req,int rq_type);
+void winbindd_init_request(struct winbindd_request *req,int rq_type);
+void winbindd_free_response(struct winbindd_response *response);
NSS_STATUS winbindd_send_request(int req_type, int need_priv,
struct winbindd_request *request);
NSS_STATUS winbindd_get_response(struct winbindd_response *response);
@@ -11,12 +12,14 @@ NSS_STATUS winbindd_request_response(int req_type,
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);
-const char *nss_err_str(NSS_STATUS ret);
+int winbindd_read_reply(struct winbindd_response *response);
+
bool winbind_env_set(void);
bool winbind_off(void);
bool winbind_on(void);
+int winbind_write_sock(void *buffer, int count, int recursing, int need_priv);
+int winbind_read_sock(void *buffer, int count);
+void winbind_close_sock(void);
+
+const char *nss_err_str(NSS_STATUS ret);