From 61ada700a6ad010846b132d866c66220e6379054 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 19 Aug 2011 18:10:29 +0200 Subject: s3-id_cache: Use better names for id cache management ops The IDMAP term is normally associated with Winbind's idmap stuff. These functions deal with id caching not id mapping. Signed-off-by: Simo Sorce --- source3/smbd/msg_idmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/smbd/msg_idmap.c') diff --git a/source3/smbd/msg_idmap.c b/source3/smbd/msg_idmap.c index 0a24bb1626..702f545bb1 100644 --- a/source3/smbd/msg_idmap.c +++ b/source3/smbd/msg_idmap.c @@ -86,7 +86,7 @@ static bool id_in_use(const struct user_struct* user, return false; } -static void message_idmap_kill(struct messaging_context *msg_ctx, +static void id_cache_kill(struct messaging_context *msg_ctx, void *private_data, uint32_t msg_type, struct server_id server_id, @@ -106,7 +106,7 @@ static void message_idmap_kill(struct messaging_context *msg_ctx, } } -void msg_idmap_register_kill_msg(struct messaging_context *ctx) +void id_cache_register_kill_msg(struct messaging_context *ctx) { - messaging_register(ctx, NULL, MSG_IDMAP_KILL, message_idmap_kill); + messaging_register(ctx, NULL, ID_CACHE_KILL, id_cache_kill); } -- cgit