]> granicus.if.org Git - curl/commitdiff
smb: Use standard naming for setup connection function
authorSteve Holme <steve_holme@hotmail.com>
Wed, 24 Dec 2014 17:10:28 +0000 (17:10 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 24 Dec 2014 17:10:28 +0000 (17:10 +0000)
Renamed smb_setup() to smb_setup_connection() to follow more widely
used function naming.

lib/smb.c

index a8fcf4acc4535cf076dae431d026d149d74478be..a097c89194e7bb9bd4b997b3e2fa68bca8d531eb 100644 (file)
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -50,7 +50,7 @@
 #include "memdebug.h"
 
 /* Local API functions */
-static CURLcode smb_setup(struct connectdata *conn);
+static CURLcode smb_setup_connection(struct connectdata *conn);
 static CURLcode smb_connect(struct connectdata *conn, bool *done);
 static CURLcode smb_connection_state(struct connectdata *conn, bool *done);
 static CURLcode smb_request_state(struct connectdata *conn, bool *done);
@@ -66,7 +66,7 @@ static CURLcode smb_parse_url_path(struct connectdata *conn);
  */
 const struct Curl_handler Curl_handler_smb = {
   "SMB",                                /* scheme */
-  smb_setup,                            /* setup_connection */
+  smb_setup_connection,                 /* setup_connection */
   ZERO_NULL,                            /* do_it */
   smb_done,                             /* done */
   ZERO_NULL,                            /* do_more */
@@ -90,7 +90,7 @@ const struct Curl_handler Curl_handler_smb = {
  */
 const struct Curl_handler Curl_handler_smbs = {
   "SMBS",                               /* scheme */
-  smb_setup,                            /* setup_connection */
+  smb_setup_connection,                 /* setup_connection */
   ZERO_NULL,                            /* do_it */
   smb_done,                             /* done */
   ZERO_NULL,                            /* do_more */
@@ -225,7 +225,7 @@ static void request_state(struct connectdata *conn,
   req->state = newstate;
 }
 
-static CURLcode smb_setup(struct connectdata *conn)
+static CURLcode smb_setup_connection(struct connectdata *conn)
 {
   struct smb_request *req;