From b0c83d50f9f609848c19180b6b032e73a1d504cb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Jul 2010 20:40:46 +0200 Subject: s3: Replace register_message_flags() with serverid_register_msg_flags() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit message_send_all is now done by walking the serverid.tdb, not the connections.tdb anymore. Günther, Simo, please check! --- source3/include/proto.h | 1 - source3/include/serverid.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 30a432521f..5f332ef53e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5358,7 +5358,6 @@ bool yield_connection(connection_struct *conn, const char *name); int count_current_connections( const char *sharename, bool clear ); bool claim_connection(connection_struct *conn, const char *name, uint32 msg_flags); -bool register_message_flags(bool doreg, uint32 msg_flags); /* The following definitions come from smbd/dfree.c */ diff --git a/source3/include/serverid.h b/source3/include/serverid.h index db2ce5ab87..3fcb5548d6 100644 --- a/source3/include/serverid.h +++ b/source3/include/serverid.h @@ -32,6 +32,12 @@ bool serverid_register(const struct server_id id, uint32_t msg_flags); */ bool serverid_deregister(const struct server_id id); +/* + * (De)register additional message flags + */ +bool serverid_register_msg_flags(const struct server_id id, bool do_reg, + uint32_t msg_flags); + /* * Check existence of a server id */ -- cgit