summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-13 12:18:01 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-13 15:45:36 +0100
commitcefb797434ef738870b3f2447fdbeea361bdea57 (patch)
tree15e05b66676c36c42bd334b52b649bb2447d394b /source3/smbd/proto.h
parent611ab8aaa779c1e426a918eb376b8a8e44bc56ef (diff)
downloadsamba-cefb797434ef738870b3f2447fdbeea361bdea57.tar.gz
samba-cefb797434ef738870b3f2447fdbeea361bdea57.tar.bz2
samba-cefb797434ef738870b3f2447fdbeea361bdea57.zip
s3:smbd: add connections_snum_used()
This works similar to conn_snum_used(), but instead of looking at the current connection only, it looks at all active connections in "connections.tdb". metze
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 151ae78ec3..6d833d7b2d 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -164,6 +164,7 @@ void msg_force_tdis(struct messaging_context *msg,
bool yield_connection(connection_struct *conn, const char *name);
int count_current_connections( const char *sharename, bool clear );
+bool connections_snum_used(struct smbd_server_connection *unused, int snum);
bool claim_connection(connection_struct *conn, const char *name);
/* The following definitions come from smbd/dfree.c */