Author: tpot Date: 2005-08-09 04:11:09 +0000 (Tue, 09 Aug 2005) New Revision: 9223
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9223 Log: Rename smb_raw_session_setup() to smb_raw_sesssetup(). Modified: branches/SAMBA_4_0/source/libcli/cliconnect.c branches/SAMBA_4_0/source/libcli/composite/sesssetup.c branches/SAMBA_4_0/source/libcli/raw/clisession.c Changeset: Modified: branches/SAMBA_4_0/source/libcli/cliconnect.c =================================================================== --- branches/SAMBA_4_0/source/libcli/cliconnect.c 2005-08-09 03:09:47 UTC (rev 9222) +++ branches/SAMBA_4_0/source/libcli/cliconnect.c 2005-08-09 04:11:09 UTC (rev 9223) @@ -61,7 +61,7 @@ return smb_raw_negotiate(cli->transport, lp_maxprotocol()); } -/* wrapper around smb_raw_session_setup() */ +/* wrapper around smb_raw_sesssetup() */ NTSTATUS smbcli_session_setup(struct smbcli_state *cli, struct cli_credentials *credentials) { Modified: branches/SAMBA_4_0/source/libcli/composite/sesssetup.c =================================================================== --- branches/SAMBA_4_0/source/libcli/composite/sesssetup.c 2005-08-09 03:09:47 UTC (rev 9222) +++ branches/SAMBA_4_0/source/libcli/composite/sesssetup.c 2005-08-09 04:11:09 UTC (rev 9223) @@ -79,7 +79,7 @@ DATA_BLOB session_key = data_blob(NULL, 0); DATA_BLOB null_data_blob = data_blob(NULL, 0); - c->status = smb_raw_session_setup_recv(req, state, &state->setup); + c->status = smb_raw_sesssetup_recv(req, state, &state->setup); switch (state->setup.old.level) { case RAW_SESSSETUP_OLD: @@ -115,7 +115,7 @@ smbcli_transport_simple_set_signing(session->transport, session_key, null_data_blob); } - state->req = smb_raw_session_setup_send(session, &state->setup); + state->req = smb_raw_sesssetup_send(session, &state->setup); state->req->async.fn = request_handler; state->req->async.private = c; return; @@ -221,7 +221,7 @@ return NULL; } - return smb_raw_session_setup_send(session, &state->setup); + return smb_raw_sesssetup_send(session, &state->setup); } @@ -256,7 +256,7 @@ strlen(password)); } - return smb_raw_session_setup_send(session, &state->setup); + return smb_raw_sesssetup_send(session, &state->setup); } @@ -344,7 +344,7 @@ smbcli_transport_simple_set_signing(session->transport, session_key, null_data_blob); } - return smb_raw_session_setup_send(session, &state->setup); + return smb_raw_sesssetup_send(session, &state->setup); } Modified: branches/SAMBA_4_0/source/libcli/raw/clisession.c =================================================================== --- branches/SAMBA_4_0/source/libcli/raw/clisession.c 2005-08-09 03:09:47 UTC (rev 9222) +++ branches/SAMBA_4_0/source/libcli/raw/clisession.c 2005-08-09 04:11:09 UTC (rev 9223) @@ -78,7 +78,8 @@ /**************************************************************************** Perform a session setup (async send) ****************************************************************************/ -struct smbcli_request *smb_raw_session_setup_send(struct smbcli_session *session, union smb_sesssetup *parms) +struct smbcli_request *smb_raw_sesssetup_send(struct smbcli_session *session, + union smb_sesssetup *parms) { struct smbcli_request *req = NULL; @@ -150,9 +151,9 @@ /**************************************************************************** Perform a session setup (async recv) ****************************************************************************/ -NTSTATUS smb_raw_session_setup_recv(struct smbcli_request *req, - TALLOC_CTX *mem_ctx, - union smb_sesssetup *parms) +NTSTATUS smb_raw_sesssetup_recv(struct smbcli_request *req, + TALLOC_CTX *mem_ctx, + union smb_sesssetup *parms) { uint16_t len; uint8_t *p; @@ -222,11 +223,11 @@ /* Perform a session setup (sync interface) */ -NTSTATUS smb_raw_session_setup(struct smbcli_session *session, TALLOC_CTX *mem_ctx, - union smb_sesssetup *parms) +NTSTATUS smb_raw_sesssetup(struct smbcli_session *session, + TALLOC_CTX *mem_ctx, union smb_sesssetup *parms) { - struct smbcli_request *req = smb_raw_session_setup_send(session, parms); - return smb_raw_session_setup_recv(req, mem_ctx, parms); + struct smbcli_request *req = smb_raw_sesssetup_send(session, parms); + return smb_raw_sesssetup_recv(req, mem_ctx, parms); }