Rev 11425: Install more headers. in file:///home/jelmer/bzr.samba/nogtk/

Jelmer Vernooij jelmer at samba.org
Mon Feb 12 11:54:22 GMT 2007


At file:///home/jelmer/bzr.samba/nogtk/

------------------------------------------------------------
revno: 11425
revision-id: jelmer at samba.org-20070212115414-o3fkx0tkvqi40hgg
parent: jelmer at samba.org-20070212112403-2zrlvtnp3ihapu9d
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: nogtk
timestamp: Mon 2007-02-12 12:54:14 +0100
message:
  Install more headers.
modified:
  source/headermap.txt           svn-v2:14481 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fheadermap.txt
  source/include/core.h          svn-v2:12693 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2finclude%2fcore.h
  source/lib/registry/config.mk  svn-v2:851 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flib%2fregistry%2fconfig.mk
  source/lib/registry/registry.h svn-v2:10026 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flib%2fregistry%2fregistry.h
  source/lib/talloc/talloc.h     svn-v2:4473 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flib%2ftalloc%2ftalloc.h
  source/libcli/util/nt_status.h svn-v2:13924 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flibcli%2futil%2fnt_status.h
  source/librpc/config.mk        svn-v2:3433 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2flibrpc%2fconfig.mk
  source/pidl/lib/Parse/Pidl/Samba4/Header.pm svn-v2:12463 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fpidl%2flib%2fParse%2fPidl%2fSamba4%2fHeader.pm
=== modified file 'source/headermap.txt'
--- a/source/headermap.txt	2007-02-12 11:24:03 +0000
+++ b/source/headermap.txt	2007-02-12 11:54:14 +0000
@@ -33,6 +33,8 @@
 gtk/common/select.h: gtk/select.h
 librpc/ndr/libndr.h: ndr.h
 lib/registry/registry.h: registry.h
+lib/registry/reg_backend_rpc.h: registry_rpc.h
+lib/registry/registry_proto.h: registry/proto.h
 libcli/util/nterr.h: core/nterr.h
 libcli/util/doserr.h: core/doserr.h
 libcli/util/nt_status.h: core/ntstatus.h
@@ -49,6 +51,9 @@
 librpc/gen_ndr/epmapper.h: dcerpc/epmapper.h
 librpc/gen_ndr/ndr_epmapper.h: dcerpc/ndr_epmapper.h
 librpc/gen_ndr/ndr_epmapper_c.h: dcerpc/ndr_epmapper_c.h
+librpc/gen_ndr/ndr_atsvc.h: dcerpc/ndr_atsvc.h
+librpc/gen_ndr/atsvc.h: dcerpc/atsvc.h
+librpc/gen_ndr/ndr_atsvc_c.h: dcerpc/ndr_atsvc_c.h
 librpc/gen_ndr/misc.h: gen_ndr/misc.h
 librpc/gen_ndr/lsa.h: gen_ndr/lsa.h
 librpc/gen_ndr/samr.h: dcerpc/samr.h
@@ -81,7 +86,9 @@
 libcli/libcli.h: client.h
 libcli/libcli_proto.h: client/proto.h
 librpc/gen_ndr/nbt.h: gen_ndr/nbt.h
-librpc/gen_ndr/svcctl.h: gen_ndr/nbt.h
+librpc/gen_ndr/svcctl.h: dcerpc/svcctl.h
+librpc/gen_ndr/ndr_svcctl.h: dcerpc/ndr_svcctl.h
+librpc/gen_ndr/ndr_svcctl_c.h: dcerpc/ndr_svcctl_c.h
 lib/cmdline/popt_common.h: samba/popt.h
 lib/util/dlinklist.h: dlinklist.h
 version.h: samba/version.h

=== modified file 'source/include/core.h'
--- a/source/include/core.h	2007-01-10 11:50:33 +0000
+++ b/source/include/core.h	2007-02-12 11:54:14 +0000
@@ -26,6 +26,8 @@
 
 #include "libcli/util/nt_status.h"
 
+#include <stdbool.h>
+#include <stdlib.h>
 typedef bool BOOL;
 
 #define False false

=== modified file 'source/lib/registry/config.mk'
--- a/source/lib/registry/config.mk	2006-09-07 10:02:32 +0000
+++ b/source/lib/registry/config.mk	2007-02-12 11:54:14 +0000
@@ -52,7 +52,7 @@
 # Start MODULE registry_rpc
 [MODULE::registry_rpc]
 INIT_FUNCTION = registry_rpc_init
-PRIVATE_PROTO_HEADER = reg_backend_rpc.h
+PUBLIC_PROTO_HEADER = reg_backend_rpc.h
 OUTPUT_TYPE = INTEGRATED
 SUBSYSTEM = registry
 OBJ_FILES = \
@@ -99,7 +99,7 @@
 		patchfile.o
 PUBLIC_DEPENDENCIES = \
 		LIBSAMBA-UTIL CHARSET
-PRIVATE_PROTO_HEADER = registry_proto.h
+PUBLIC_PROTO_HEADER = registry_proto.h
 PUBLIC_HEADERS = registry.h
 # End MODULE registry_ldb
 ################################################

=== modified file 'source/lib/registry/registry.h'
--- a/source/lib/registry/registry.h	2006-11-07 00:48:36 +0000
+++ b/source/lib/registry/registry.h	2007-02-12 11:54:14 +0000
@@ -22,6 +22,8 @@
 #ifndef _REGISTRY_H /* _REGISTRY_H */
 #define _REGISTRY_H 
 
+#include "core.h"
+#include "talloc.h"
 #include "librpc/gen_ndr/security.h"
 
 /* Handles for the predefined keys */

=== modified file 'source/lib/talloc/talloc.h'
--- a/source/lib/talloc/talloc.h	2006-12-15 22:45:36 +0000
+++ b/source/lib/talloc/talloc.h	2007-02-12 11:54:14 +0000
@@ -26,6 +26,10 @@
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdarg.h>
+
 /* this is only needed for compatibility with the old talloc */
 typedef void TALLOC_CTX;
 

=== modified file 'source/libcli/util/nt_status.h'
--- a/source/libcli/util/nt_status.h	2006-03-17 01:36:32 +0000
+++ b/source/libcli/util/nt_status.h	2007-02-12 11:54:14 +0000
@@ -22,6 +22,8 @@
 #ifndef _NT_STATUS_H
 #define _NT_STATUS_H
 
+#include <stdint.h>
+
 /* the following rather strange looking definitions of NTSTATUS and WERROR
    and there in order to catch common coding errors where different error types
    are mixed up. This is especially important as we slowly convert Samba

=== modified file 'source/librpc/config.mk'
--- a/source/librpc/config.mk	2007-02-12 11:24:03 +0000
+++ b/source/librpc/config.mk	2007-02-12 11:54:14 +0000
@@ -135,10 +135,12 @@
 
 [SUBSYSTEM::NDR_SVCCTL]
 OBJ_FILES = gen_ndr/ndr_svcctl.o
+PUBLIC_HEADERS = gen_ndr/ndr_svcctl.h gen_ndr/svcctl.h
 PUBLIC_DEPENDENCIES = LIBNDR NDR_MISC
 
 [SUBSYSTEM::NDR_ATSVC]
 OBJ_FILES = gen_ndr/ndr_atsvc.o
+PUBLIC_HEADERS = gen_ndr/atsvc.h gen_ndr/ndr_atsvc.h
 PUBLIC_DEPENDENCIES = LIBNDR
 
 [SUBSYSTEM::NDR_EVENTLOG]
@@ -344,10 +346,12 @@
 
 [SUBSYSTEM::RPC_NDR_SVCCTL]
 OBJ_FILES = gen_ndr/ndr_svcctl_c.o
+PUBLIC_HEADERS = gen_ndr/ndr_svcctl_c.h
 PUBLIC_DEPENDENCIES = dcerpc NDR_SVCCTL
 
 [SUBSYSTEM::RPC_NDR_ATSVC]
 OBJ_FILES = gen_ndr/ndr_atsvc_c.o
+PUBLIC_HEADERS = gen_ndr/ndr_atsvc_c.h
 PUBLIC_DEPENDENCIES = dcerpc NDR_ATSVC
 
 [SUBSYSTEM::RPC_NDR_EVENTLOG]

=== modified file 'source/pidl/lib/Parse/Pidl/Samba4/Header.pm'
--- a/source/pidl/lib/Parse/Pidl/Samba4/Header.pm	2007-02-08 23:54:31 +0000
+++ b/source/pidl/lib/Parse/Pidl/Samba4/Header.pm	2007-02-12 11:54:14 +0000
@@ -378,8 +378,10 @@
 	%headerstructs = ();
     pidl "/* header auto-generated by pidl */\n\n";
 	if (!is_intree()) {
-		pidl "#include <core.h>\n\n";
+		pidl "#include <core.h>\n";
 	}
+	pidl "#include <stdint.h>\n";
+	pidl "\n";
 	
     foreach (@{$idl}) {
 	    ($_->{TYPE} eq "INTERFACE") && HeaderInterface($_);



More information about the samba-cvs mailing list