server_id.idl: Bring server_id.idl in common
authorAndrew Bartlett <abartlet@samba.org>
Mon, 2 May 2011 00:55:20 +0000 (10:55 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 8 Jun 2011 04:40:52 +0000 (14:40 +1000)
Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
19 files changed:
librpc/idl/server_id.idl [moved from source3/librpc/idl/server_id.idl with 100% similarity]
librpc/idl/wscript_build
librpc/wscript_build
source3/Makefile.in
source3/librpc/idl/wscript_build
source3/librpc/wscript_build
source4/cluster/cluster.c
source4/cluster/cluster.h
source4/cluster/local.c
source4/lib/messaging/messaging.h
source4/lib/messaging/pymessaging.c
source4/librpc/idl/opendb.idl
source4/librpc/idl/s4_notify.idl
source4/librpc/idl/wscript_build
source4/librpc/wscript_build
source4/ntvfs/ntvfs.h
source4/rpc_server/dcerpc_server.h
source4/smbd/service_stream.h
source4/smbd/service_task.h

index 7e1340e6f77d7cf07e322ef244e066675a37d95d..1c5d6ec74606af0ec6e04797b0c9de2e2f02a94b 100644 (file)
@@ -8,7 +8,7 @@ bld.SAMBA_PIDL_LIST('PIDL',
                        browser.idl dfs.idl dssetup.idl frsapi.idl krb5pac.idl
                        named_pipe_auth.idl orpc.idl rot.idl spoolss.idl w32time.idl xattr.idl
                        dbgidl.idl dnsserver.idl echo.idl frsrpc.idl lsa.idl nbt.idl dns.idl
-                       oxidresolver.idl samr.idl srvsvc.idl winreg.idl dcerpc.idl
+                       oxidresolver.idl samr.idl server_id.idl srvsvc.idl winreg.idl dcerpc.idl
                        drsblobs.idl efs.idl frstrans.idl mgmt.idl netlogon.idl
                        policyagent.idl scerpc.idl svcctl.idl wkssvc.idl eventlog6.idl backupkey.idl
                        printcap.idl''',
index d8b3fe78ff56616d0f4156ebd5ccd951156d55e2..56959062f21801dc469742628b98c5f94ed96fba 100644 (file)
@@ -175,6 +175,13 @@ bld.SAMBA_SUBSYSTEM('NDR_SCERPC',
        public_deps='ndr'
        )
 
+bld.SAMBA_SUBSYSTEM('NDR_SERVER_ID',
+       source='gen_ndr/ndr_server_id.c',
+       deps='ndr',
+       public_headers='gen_ndr/server_id.h',
+       header_path='gen_ndr'
+       )
+
 bld.SAMBA_SUBSYSTEM('NDR_TRKWKS',
        source='gen_ndr/ndr_trkwks.c',
        public_deps='ndr'
index d4b59b95b964ff07c7adbdc4cb35f30baff0e49e..311678d6bb90dbb83527adbc6c25a85332ba15dd 100644 (file)
@@ -1608,8 +1608,7 @@ IDL_FILES = librpc/idl/messaging.idl \
            librpc/idl/wbint.idl \
            librpc/idl/perfcount.idl \
            librpc/idl/secrets.idl \
-           librpc/idl/libnet_join.idl \
-           librpc/idl/server_id.idl
+           librpc/idl/libnet_join.idl
 
 samba3-idl::
        @PIDL_OUTPUTDIR="librpc/gen_ndr" PIDL_ARGS="$(PIDL_ARGS)" CPP="$(CPP)" PIDL="../pidl/pidl" \
index 5a8dc31980b679fa3a751280382cde65c6e47f3a..97b14659d15447f848850d60e701f925fe343705 100644 (file)
@@ -6,7 +6,7 @@ topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl')
 
 bld.SAMBA_PIDL_LIST('PIDL',
                     '''messaging.idl libnetapi.idl notify.idl
-                       perfcount.idl secrets.idl libnet_join.idl server_id.idl''',
+                       perfcount.idl secrets.idl libnet_join.idl''',
                     options='--includedir=%s --header --ndr-parser' % topinclude,
                     output_dir='../gen_ndr')
 
index d99936cc1663c230d3afd84ecba2eee3c27ee2e8..7f18f032588bced4e66a090b3f9048b1b20a192f 100644 (file)
@@ -10,11 +10,6 @@ bld.SAMBA3_SUBSYSTEM('NDR_LIBNET_JOIN',
        public_deps='ndr'
        )
 
-bld.SAMBA3_SUBSYSTEM('NDR_SERVER_ID',
-       source='gen_ndr/ndr_server_id.c',
-       public_deps='ndr'
-       )
-
 bld.SAMBA3_SUBSYSTEM('NDR_MESSAGING',
        source='gen_ndr/ndr_messaging.c',
        public_deps='ndr NDR_SERVER_ID'
index 9dcec2e3e07d7b287704952e93b451b548456283..767e6a719f0dcedc3b884bb9aeeed11c3e58e0a6 100644 (file)
@@ -23,7 +23,7 @@
 #include "cluster/cluster.h"
 #include "cluster/cluster_private.h"
 #include "librpc/gen_ndr/misc.h"
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 
 static struct cluster_ops *ops;
 
index df12c8bb270130e76938058dc4c5c1498e4695b0..a6f74f956c935b51f83e57327c6c1f407eeb853c 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef __CLUSTER_H__
 #define __CLUSTER_H__ 
 
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 
 /*
   test for same cluster id
index 7fe3e04c3ecb1b48af660a320695b0a02d29eebe..e7b648fc9bea5658f877a5d595763b7106d75527 100644 (file)
@@ -26,7 +26,7 @@
 #include "lib/util/tdb_wrap.h"
 #include "system/filesys.h"
 #include "param/param.h"
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 
 /*
   server a server_id for the local node
index 14a112f87853e6c0726b78392b250f0732c2ee60..eb8a8abc79553fc16d16a213267a95bc547308b2 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef _MESSAGES_H_
 #define _MESSAGES_H_
 
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 
 struct imessaging_context;
 
index 63312da5d096738c6c4847ad27b484bd75f2d4fb..cafd45beae33804e39fa4d6a122e9cb411d94987 100644 (file)
@@ -31,7 +31,7 @@
 #include "param/param.h"
 #include "param/pyparam.h"
 #include "librpc/rpc/dcerpc.h"
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 
 void initmessaging(void);
 
index 4973cd09826a80cbc60245145a5a20f01eb8f619..b76992960afd13a47e6a80c48016d35dea698031 100644 (file)
@@ -7,7 +7,7 @@
    ntvfs/common/opendb.c
 */
 
-import "server_id4.idl";
+import "server_id.idl";
 
 [
   pointer_default(unique)
index 89ade2991c953d09c80742bea88feb60e2bb7106..1d4c33470d4c90792fc87b5f00f010d7659f51b8 100644 (file)
@@ -7,7 +7,7 @@
    the change notify buffers
 */
 
-import "server_id4.idl";
+import "server_id.idl";
 
 [
   pointer_default(unique)
index 6fe3690b335782734b5f3dd1978934413eb55212..a35dc79768837f3f30eeb4d1df8daa2baa9ee042 100644 (file)
@@ -6,7 +6,7 @@ topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl')
 
 bld.SAMBA_PIDL_LIST('PIDL',
                     source='''irpc.idl nfs4acl.idl s4_notify.idl ntp_signd.idl
-                              opendb.idl sasl_helpers.idl server_id4.idl winbind.idl
+                              opendb.idl sasl_helpers.idl winbind.idl
                               winsif.idl winsrepl.idl winstation.idl''',
                     options="--includedir=%s --header --ndr-parser --client --python --server" % topinclude,
                     output_dir='../gen_ndr')
index e9456074f699d7a801ae994a549635024faf9764..efde567bf8b96ce726c3e6011875e8a6a69a4662 100755 (executable)
@@ -4,13 +4,6 @@ bld.RECURSE('../../librpc/idl')
 bld.RECURSE('../../librpc/tools')
 bld.RECURSE('idl')
 
-bld.SAMBA_SUBSYSTEM('NDR_SERVER_ID4',
-       source='gen_ndr/ndr_server_id4.c',
-       deps='ndr',
-       public_headers='gen_ndr/server_id4.h',
-       header_path='gen_ndr'
-       )
-
 
 bld.SAMBA_SUBSYSTEM('NDR_WINSTATION',
        source='gen_ndr/ndr_winstation.c',
@@ -52,7 +45,7 @@ bld.SAMBA_SUBSYSTEM('NDR_OPENDB',
 
 bld.SAMBA_SUBSYSTEM('NDR_NOTIFY',
        source='gen_ndr/ndr_s4_notify.c',
-       public_deps='ndr NDR_SERVER_ID4'
+       public_deps='ndr NDR_SERVER_ID'
        )
 
 
index a31e302dfcfbd58459b7031dc41b7745af46c7b9..1716687e5fbde8a9e13f9a73b00919d7c1d4e8d7 100644 (file)
@@ -24,7 +24,7 @@
 #include "libcli/raw/interfaces.h"
 #include "param/share.h"
 #include "librpc/gen_ndr/security.h"
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 
 /* modules can use the following to determine if the interface has changed */
 /* version 1 -> 0 - make module stacking easier -- metze */
index 069ba6bb5d4853fa79d4c65ca246a9debb3d8a4f..4fcb5c50a13e11892008efb671e6bf8d077701fc 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef SAMBA_DCERPC_SERVER_H
 #define SAMBA_DCERPC_SERVER_H
 
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 #include "librpc/rpc/dcerpc.h"
 #include "librpc/ndr/libndr.h"
 
index 6590bc0ea09b0ae194b936bab77826666cab448a..e098a690f1fbdc100b2c329a19920ec8cc0f1095 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef __SERVICE_STREAM_H__
 #define __SERVICE_STREAM_H__
 
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 
 /* modules can use the following to determine if the interface has changed
  * please increment the version number after each interface change
index 34b41d9f04e3c222b8a91ef13f8e9cb4b2cb7a2f..ded4590daffe05f19f7f05097e000b798233d8e3 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef __SERVICE_TASK_H__
 #define __SERVICE_TASK_H__ 
 
-#include "librpc/gen_ndr/server_id4.h"
+#include "librpc/gen_ndr/server_id.h"
 
 struct task_server {
        struct tevent_context *event_ctx;