move more idmap stuff into winbindd_idmap.c
authormetze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 8 Oct 2007 11:13:36 +0000 (11:13 +0000)
committermetze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Mon, 8 Oct 2007 11:13:36 +0000 (11:13 +0000)
metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25569 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/winbindd/winbindd_idmap.c
source/winbindd/winbindd_sid.c

index 3ae88c4..6089487 100644 (file)
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND
 
+static struct winbindd_child static_idmap_child;
+
+void init_idmap_child(void)
+{
+       setup_domain_child(NULL, &static_idmap_child, "idmap");
+}
+
+struct winbindd_child *idmap_child(void)
+{
+       return &static_idmap_child;
+}
+
 static void winbindd_set_mapping_recv(TALLOC_CTX *mem_ctx, BOOL success,
                                   struct winbindd_response *response,
                                   void *c, void *private_data)
index 48e84d3..b607db2 100644 (file)
@@ -152,18 +152,6 @@ void winbindd_lookuprids(struct winbindd_cli_state *state)
        sendto_domain(state, domain);
 }
 
-static struct winbindd_child static_idmap_child;
-
-void init_idmap_child(void)
-{
-       setup_domain_child(NULL, &static_idmap_child, "idmap");
-}
-
-struct winbindd_child *idmap_child(void)
-{
-       return &static_idmap_child;
-}
-
 /* Convert a sid to a uid.  We assume we only have one rid attached to the
    sid. */