From 1815f0298f33c949f78e181477e8474a37663ccd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 27 Apr 2011 12:06:25 -0700 Subject: Remove fstrings from client struct. Properly talloc strings (ensuring we never end up with a NULL pointer). --- source3/include/client.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/include/client.h') diff --git a/source3/include/client.h b/source3/include/client.h index 9e4a61dbacb..b51da909732 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -71,7 +71,7 @@ struct cli_state { int rap_error; int privileges; - fstring desthost; + char *desthost; /* The credentials used to open the cli_state connection. */ char *domain; @@ -83,12 +83,12 @@ struct cli_state { * ones returned by the server if * the protocol > NT1. */ - fstring server_type; - fstring server_os; - fstring server_domain; + char *server_type; + char *server_os; + char *server_domain; - fstring share; - fstring dev; + char *share; + char *dev; struct nmb_name called; struct nmb_name calling; struct sockaddr_storage dest_ss; -- cgit From 01386ff3132ff5c786e83fc24328a80661de6bb7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 29 May 2011 10:58:05 +0200 Subject: s3: Extract the guest_login field in sesssetup --- source3/include/client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/client.h') diff --git a/source3/include/client.h b/source3/include/client.h index b51da909732..7d66bf912cd 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -109,6 +109,7 @@ struct cli_state { int initialised; int win95; bool is_samba; + bool is_guestlogin; uint32 capabilities; /* What the server offered. */ uint32_t server_posix_capabilities; -- cgit From fdfb5e95fee67bb7bb3942270031d9260e0505b0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 9 Jun 2011 11:59:58 +0200 Subject: s3:libsmb: remove unused cli_state_seqnum infrastructure metze Autobuild-User: Jeremy Allison Autobuild-Date: Fri Jun 10 20:37:54 CEST 2011 on sn-devel-104 --- source3/include/client.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'source3/include/client.h') diff --git a/source3/include/client.h b/source3/include/client.h index 7d66bf912cd..a853e90af64 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -46,13 +46,6 @@ struct print_job_info { time_t t; }; -struct cli_state_seqnum { - struct cli_state_seqnum *prev, *next; - uint16_t mid; - uint32_t seqnum; - bool persistent; -}; - struct cli_state { /** * A list of subsidiary connections for DFS. @@ -103,7 +96,6 @@ struct cli_state { size_t max_xmit; size_t max_mux; char *outbuf; - struct cli_state_seqnum *seqnum; char *inbuf; unsigned int bufsize; int initialised; -- cgit