diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-09-14 07:07:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:45 -0500 |
commit | 28d076d20f9ce8afbee9a5de157ec0c9e308c9cf (patch) | |
tree | 8e552ea1b57562a6b2eca6ad16489d7fd6dd6ebf /source3/nsswitch/winbind_nss_irix.c | |
parent | 45a2713b475e66a880b4c6f019dc22119444dc7b (diff) | |
download | samba-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_nss_irix.c')
-rw-r--r-- | source3/nsswitch/winbind_nss_irix.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source3/nsswitch/winbind_nss_irix.c b/source3/nsswitch/winbind_nss_irix.c index b0277db559..4726c1e13f 100644 --- a/source3/nsswitch/winbind_nss_irix.c +++ b/source3/nsswitch/winbind_nss_irix.c @@ -195,7 +195,7 @@ winbind_callback(nsd_file_t **rqp, int fd) if (status != NSS_STATUS_SUCCESS) { /* free any extra data area in response structure */ - free_response(&response); + winbindd_free_response(&response); nsd_logprintf(NSD_LOG_MIN, "callback (winbind) returning not found, status = %d\n", status); @@ -227,7 +227,7 @@ winbind_callback(nsd_file_t **rqp, int fd) return NSD_ERROR; } - free_response(&response); + winbindd_free_response(&response); nsd_logprintf(NSD_LOG_MIN, " %s\n", result); nsd_set_result(rq, NS_SUCCESS, result, rlen, DYNAMIC); @@ -252,7 +252,7 @@ winbind_callback(nsd_file_t **rqp, int fd) if (rlen == 0 || result == NULL) return NSD_ERROR; - free_response(&response); + winbindd_free_response(&response); nsd_logprintf(NSD_LOG_MIN, " %s\n", result); nsd_set_result(rq, NS_SUCCESS, result, rlen, DYNAMIC); @@ -279,7 +279,7 @@ winbind_callback(nsd_file_t **rqp, int fd) if (rlen == 0 || result == NULL) return NSD_ERROR; - free_response(&response); + winbindd_free_response(&response); nsd_logprintf(NSD_LOG_MIN, " %s\n", result); nsd_set_result(rq, NS_SUCCESS, result, rlen, DYNAMIC); @@ -290,7 +290,7 @@ winbind_callback(nsd_file_t **rqp, int fd) case WINBINDD_SETPWENT: nsd_logprintf(NSD_LOG_MIN, "callback (winbind) SETGRENT | SETPWENT\n"); - free_response(&response); + winbindd_free_response(&response); return(do_list(1,rq)); case WINBINDD_GETGRENT: @@ -311,7 +311,7 @@ winbind_callback(nsd_file_t **rqp, int fd) gr = (struct winbindd_gr *)response.extra_data.data; if (! gr ) { nsd_logprintf(NSD_LOG_MIN, " no extra_data\n"); - free_response(&response); + winbindd_free_response(&response); return NSD_ERROR; } @@ -338,7 +338,7 @@ winbind_callback(nsd_file_t **rqp, int fd) } entries = response.data.num_entries; - free_response(&response); + winbindd_free_response(&response); if (entries < MAX_GETPWENT_USERS) return(do_list(2,rq)); else @@ -360,7 +360,7 @@ winbind_callback(nsd_file_t **rqp, int fd) pw = (struct winbindd_pw *)response.extra_data.data; if (! pw ) { nsd_logprintf(NSD_LOG_MIN, " no extra_data\n"); - free_response(&response); + winbindd_free_response(&response); return NSD_ERROR; } for (i = 0; i < response.data.num_entries; i++) { @@ -385,7 +385,7 @@ winbind_callback(nsd_file_t **rqp, int fd) } entries = response.data.num_entries; - free_response(&response); + winbindd_free_response(&response); if (entries < MAX_GETPWENT_USERS) return(do_list(2,rq)); else @@ -396,11 +396,11 @@ winbind_callback(nsd_file_t **rqp, int fd) case WINBINDD_ENDPWENT: nsd_logprintf(NSD_LOG_MIN, "callback (winbind) ENDGRENT | ENDPWENT\n"); nsd_append_element(rq, NS_SUCCESS, "\n", 1); - free_response(&response); + winbindd_free_response(&response); return NSD_NEXT; default: - free_response(&response); + winbindd_free_response(&response); nsd_logprintf(NSD_LOG_MIN, "callback (winbind) invalid command %d\n", (int)rq->f_cmd_data); return NSD_NEXT; } |