summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-21 19:57:41 +0100
committerVolker Lendecke <vl@samba.org>2009-11-21 20:49:17 +0100
commitc85a4c9ba4a7de65a7850f6f9708df66bd24deea (patch)
tree5205ef1da477ed65127276d684cf48a7edfbe7d5 /source3/include/proto.h
parent6a149022976fe6a5579ec9afc7a4d2dcb44dc8af (diff)
downloadsamba-c85a4c9ba4a7de65a7850f6f9708df66bd24deea.tar.gz
samba-c85a4c9ba4a7de65a7850f6f9708df66bd24deea.tar.bz2
samba-c85a4c9ba4a7de65a7850f6f9708df66bd24deea.zip
s3: Move the global variable Protocol to struct smbd_server_connection
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index b28e5f51e4..8cf4769d06 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1075,8 +1075,8 @@ struct passwd *Get_Pwnam_alloc(TALLOC_CTX *mem_ctx, const char *user);
/* The following definitions come from lib/util.c */
-enum protocol_types get_Protocol(void);
-void set_Protocol(enum protocol_types p);
+enum protocol_types get_Protocol(const struct smbd_server_connection *c);
+void set_Protocol(struct smbd_server_connection *c, enum protocol_types p);
bool all_zero(const uint8_t *ptr, size_t size);
bool set_global_myname(const char *myname);
const char *global_myname(void);