diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 20:40:46 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-04 21:49:03 +0200 |
commit | b0c83d50f9f609848c19180b6b032e73a1d504cb (patch) | |
tree | d1f07798d72e22e3b89a8c5d521844c5550b6017 /source3/include | |
parent | 8cf1cd2d5c0469f170b0f81dda94a53ce8575af9 (diff) | |
download | samba-b0c83d50f9f609848c19180b6b032e73a1d504cb.tar.gz samba-b0c83d50f9f609848c19180b6b032e73a1d504cb.tar.bz2 samba-b0c83d50f9f609848c19180b6b032e73a1d504cb.zip |
s3: Replace register_message_flags() with serverid_register_msg_flags()
message_send_all is now done by walking the serverid.tdb, not the
connections.tdb anymore.
Günther, Simo, please check!
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/include/serverid.h | 6 |
2 files changed, 6 insertions, 1 deletions
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 @@ -33,6 +33,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 */ bool serverid_exists(const struct server_id *id); |