diff options
author | Volker Lendecke <vl@samba.org> | 2017-11-05 12:58:09 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-12-05 04:58:26 +0100 |
commit | 41cfc737dfb2c751053a61917458a4a8cdb386b0 (patch) | |
tree | ddf54f290a82bd733e62bde8d8c300063364de7d /source3/include | |
parent | 6423ca4bf293cac5e2f84b1a37bb29b06b5c05ed (diff) | |
download | samba-41cfc737dfb2c751053a61917458a4a8cdb386b0.tar.gz |
lib: Remove unused serverid.tdb
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Dec 5 04:58:26 CET 2017 on sn-devel-144
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/serverid.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/source3/include/serverid.h b/source3/include/serverid.h index a73a6f6986c..89487cfa62d 100644 --- a/source3/include/serverid.h +++ b/source3/include/serverid.h @@ -21,60 +21,11 @@ #define __SERVERID_H__ #include "replace.h" -#include "lib/dbwrap/dbwrap.h" #include "librpc/gen_ndr/server_id.h" -/* Flags to classify messages - used in message_send_all() */ -/* Sender will filter by flag. */ - -#define FLAG_MSG_GENERAL 0x0001 -#define FLAG_MSG_SMBD 0x0002 -#define FLAG_MSG_NMBD 0x0004 -#define FLAG_MSG_WINBIND 0x0008 -#define FLAG_MSG_PRINT_GENERAL 0x0010 -/* dbwrap messages 4001-4999 */ -#define FLAG_MSG_DBWRAP 0x0020 - -/* - * Register a server with its unique id - */ -bool serverid_register(const struct server_id id, uint32_t msg_flags); - -/* - * De-register a server with its unique id - */ -bool serverid_deregister(const struct server_id id); - /* * Check existence of a server id */ bool serverid_exists(const struct server_id *id); -/* - * Walk the list of server_ids registered - */ -bool serverid_traverse(int (*fn)(struct db_record *rec, - const struct server_id *id, - uint32_t msg_flags, - void *private_data), - void *private_data); - -/* - * Walk the list of server_ids registered read-only - */ -bool serverid_traverse_read(int (*fn)(const struct server_id *id, - uint32_t msg_flags, - void *private_data), - void *private_data); -/* - * Ensure CLEAR_IF_FIRST works fine, to be called from the parent smbd - */ -bool serverid_parent_init(TALLOC_CTX *mem_ctx); - -struct messaging_context; - -bool message_send_all(struct messaging_context *msg_ctx, - int msg_type, - const void *buf, size_t len); - #endif |