svn commit: samba r14484 - in branches/SAMBA_4_0/source: . auth auth/credentials auth/gensec include lib/tdr lib/util libcli/auth librpc librpc/idl librpc/ndr rpc_server

jelmer at samba.org jelmer at samba.org
Thu Mar 16 17:51:05 GMT 2006


Author: jelmer
Date: 2006-03-16 17:51:04 +0000 (Thu, 16 Mar 2006)
New Revision: 14484

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14484

Log:
Install more headers

Modified:
   branches/SAMBA_4_0/source/auth/config.mk
   branches/SAMBA_4_0/source/auth/credentials/config.mk
   branches/SAMBA_4_0/source/auth/credentials/credentials.h
   branches/SAMBA_4_0/source/auth/gensec/config.mk
   branches/SAMBA_4_0/source/auth/gensec/gensec.h
   branches/SAMBA_4_0/source/headermap.txt
   branches/SAMBA_4_0/source/include/core.h
   branches/SAMBA_4_0/source/include/includes.h
   branches/SAMBA_4_0/source/lib/tdr/config.mk
   branches/SAMBA_4_0/source/lib/util/config.mk
   branches/SAMBA_4_0/source/libcli/auth/config.mk
   branches/SAMBA_4_0/source/librpc/config.mk
   branches/SAMBA_4_0/source/librpc/idl/dcerpc.idl
   branches/SAMBA_4_0/source/librpc/ndr/libndr.h
   branches/SAMBA_4_0/source/rpc_server/config.mk
   branches/SAMBA_4_0/source/rpc_server/dcerpc_server.h


Changeset:
Modified: branches/SAMBA_4_0/source/auth/config.mk
===================================================================
--- branches/SAMBA_4_0/source/auth/config.mk	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/auth/config.mk	2006-03-16 17:51:04 UTC (rev 14484)
@@ -69,7 +69,8 @@
 #######################
 # Start SUBSYSTEM auth
 [SUBSYSTEM::auth]
-PRIVATE_PROTO_HEADER = auth_proto.h
+PUBLIC_HEADERS = auth.h
+PUBLIC_PROTO_HEADER = auth_proto.h
 OBJ_FILES = \
 		auth.o \
 		auth_util.o \

Modified: branches/SAMBA_4_0/source/auth/credentials/config.mk
===================================================================
--- branches/SAMBA_4_0/source/auth/credentials/config.mk	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/auth/credentials/config.mk	2006-03-16 17:51:04 UTC (rev 14484)
@@ -1,7 +1,8 @@
 #################################
 # Start SUBSYSTEM gensec
 [SUBSYSTEM::CREDENTIALS]
-PRIVATE_PROTO_HEADER = credentials_proto.h
+PUBLIC_PROTO_HEADER = credentials_proto.h
+PUBLIC_HEADERS = credentials.h
 OBJ_FILES = credentials.o \
 		credentials_files.o \
 		credentials_krb5.o \

Modified: branches/SAMBA_4_0/source/auth/credentials/credentials.h
===================================================================
--- branches/SAMBA_4_0/source/auth/credentials/credentials.h	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/auth/credentials/credentials.h	2006-03-16 17:51:04 UTC (rev 14484)
@@ -23,6 +23,8 @@
 #ifndef __CREDENTIALS_H__
 #define __CREDENTIALS_H__
 
+#include "librpc/gen_ndr/misc.h"
+
 struct ccache_container;
 
 /* In order of priority */

Modified: branches/SAMBA_4_0/source/auth/gensec/config.mk
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/config.mk	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/auth/gensec/config.mk	2006-03-16 17:51:04 UTC (rev 14484)
@@ -4,8 +4,8 @@
 VERSION = 0.0.1
 SO_VERSION = 0.0.1
 DESCRIPTION = Generic Security Library
-PUBLIC_HEADERS = gensec.h
-PRIVATE_PROTO_HEADER = gensec_proto.h
+PUBLIC_HEADERS = gensec.h spnego.h
+PUBLIC_PROTO_HEADER = gensec_proto.h
 OBJ_FILES = gensec.o
 REQUIRED_SUBSYSTEMS = \
 		CREDENTIALS

Modified: branches/SAMBA_4_0/source/auth/gensec/gensec.h
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/gensec.h	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/auth/gensec/gensec.h	2006-03-16 17:51:04 UTC (rev 14484)
@@ -128,6 +128,6 @@
 };
 
 #include "auth/credentials/credentials.h"
-#include "gensec_proto.h"
+#include "auth/gensec/gensec_proto.h"
 
 #endif /* __GENSEC_H__ */

Modified: branches/SAMBA_4_0/source/headermap.txt
===================================================================
--- branches/SAMBA_4_0/source/headermap.txt	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/headermap.txt	2006-03-16 17:51:04 UTC (rev 14484)
@@ -39,9 +39,20 @@
 lib/samba3/samba3.h: samba3.h
 include/core.h: core.h
 librpc/gen_ndr/dcerpc.h: gen_ndr/dcerpc.h
+librpc/gen_ndr/netlogon.h: gen_ndr/netlogon.h
 librpc/gen_ndr/misc.h: gen_ndr/misc.h
+librpc/gen_ndr/lsa.h: gen_ndr/lsa.h
+librpc/gen_ndr/samr.h: gen_ndr/samr.h
+librpc/gen_ndr/security.h: gen_ndr/security.h
 librpc/ndr/libndr_proto.h: ndr/proto.h
 librpc/rpc/dcerpc_proto.h: dcerpc/proto.h
 lib/tdr/tdr_proto.h: tdr/proto.h
 auth/credentials/credentials.h: credentials.h
 auth/credentials/credentials_proto.h: credentials/proto.h
+rpc_server/dcerpc_server.h: dcerpc_server.h
+rpc_server/dcerpc_server_proto.h: dcerpc_server/proto.h
+auth/auth.h: auth.h
+auth/auth_proto.h: auth/proto.h
+auth/gensec/spnego.h: gensec/spnego.h
+auth/gensec/gensec_proto.h: gensec/proto.h
+libcli/auth/credentials.h: domain_credentials.h

Modified: branches/SAMBA_4_0/source/include/core.h
===================================================================
--- branches/SAMBA_4_0/source/include/core.h	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/include/core.h	2006-03-16 17:51:04 UTC (rev 14484)
@@ -24,6 +24,8 @@
 #ifndef _SAMBA_CORE_H
 #define _SAMBA_CORE_H
 
+#include "libcli/util/nt_status.h"
+
 #define False (0)
 #define True (1)
 #define Auto (2)
@@ -74,4 +76,26 @@
 /* same struct as dom_sid but inside a 28 bytes fixed buffer in NDR */
 #define dom_sid28 dom_sid
 
+/* protocol types. It assumes that higher protocols include lower protocols
+   as subsets. FIXME: Move to one of the smb-specific headers */
+enum protocol_types {
+	PROTOCOL_NONE,
+	PROTOCOL_CORE,
+	PROTOCOL_COREPLUS,
+	PROTOCOL_LANMAN1,
+	PROTOCOL_LANMAN2,
+	PROTOCOL_NT1,
+	PROTOCOL_SMB2
+};
+
+/* passed to br lock code. FIXME: Move to one of the smb-specific headers */
+enum brl_type {
+	READ_LOCK,
+	WRITE_LOCK,
+	PENDING_READ_LOCK,
+	PENDING_WRITE_LOCK
+};
+
+
+
 #endif /* _SAMBA_CORE_H */

Modified: branches/SAMBA_4_0/source/include/includes.h
===================================================================
--- branches/SAMBA_4_0/source/include/includes.h	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/include/includes.h	2006-03-16 17:51:04 UTC (rev 14484)
@@ -95,31 +95,10 @@
 #include <varargs.h>
 #endif
 
-/* protocol types. It assumes that higher protocols include lower protocols
-   as subsets. FIXME: Move to one of the smb-specific headers */
-enum protocol_types {
-	PROTOCOL_NONE,
-	PROTOCOL_CORE,
-	PROTOCOL_COREPLUS,
-	PROTOCOL_LANMAN1,
-	PROTOCOL_LANMAN2,
-	PROTOCOL_NT1,
-	PROTOCOL_SMB2
-};
-
-/* passed to br lock code. FIXME: Move to one of the smb-specific headers */
-enum brl_type {
-	READ_LOCK,
-	WRITE_LOCK,
-	PENDING_READ_LOCK,
-	PENDING_WRITE_LOCK
-};
-
 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
 #include "lib/replace/replace.h"
 
 /* Lists, trees, caching, database... */
-#include "libcli/util/nt_status.h"
 #include "talloc/talloc.h"
 #include "core.h"
 #include "charset/charset.h"

Modified: branches/SAMBA_4_0/source/lib/tdr/config.mk
===================================================================
--- branches/SAMBA_4_0/source/lib/tdr/config.mk	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/lib/tdr/config.mk	2006-03-16 17:51:04 UTC (rev 14484)
@@ -3,5 +3,5 @@
 VERSION = 0.0.1
 SO_VERSION = 0.0.1
 DESCRIPTION = Simple marshall/unmarshall library
-PRIVATE_PROTO_HEADER = tdr_proto.h
+PUBLIC_PROTO_HEADER = tdr_proto.h
 OBJ_FILES = tdr.o

Modified: branches/SAMBA_4_0/source/lib/util/config.mk
===================================================================
--- branches/SAMBA_4_0/source/lib/util/config.mk	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/lib/util/config.mk	2006-03-16 17:51:04 UTC (rev 14484)
@@ -2,7 +2,7 @@
 VERSION = 0.0.1
 SO_VERSION = 0.0.1
 DESCRIPTION = Generic utility functions
-PRIVATE_PROTO_HEADER = util_proto.h
+PUBLIC_PROTO_HEADER = util_proto.h
 PUBLIC_HEADERS = util.h \
 				 byteorder.h \
 				 debug.h \

Modified: branches/SAMBA_4_0/source/libcli/auth/config.mk
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/config.mk	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/libcli/auth/config.mk	2006-03-16 17:51:04 UTC (rev 14484)
@@ -1,6 +1,7 @@
 #################################
 # Start SUBSYSTEM LIBCLI_AUTH
 [SUBSYSTEM::LIBCLI_AUTH]
+PUBLIC_HEADERS = credentials.h
 PRIVATE_PROTO_HEADER = proto.h
 OBJ_FILES = credentials.o \
 		session.o \

Modified: branches/SAMBA_4_0/source/librpc/config.mk
===================================================================
--- branches/SAMBA_4_0/source/librpc/config.mk	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/librpc/config.mk	2006-03-16 17:51:04 UTC (rev 14484)
@@ -5,7 +5,7 @@
 SO_VERSION = 0.0.1
 DESCRIPTION = Network Data Representation Core Library
 PUBLIC_HEADERS = ndr/libndr.h
-PRIVATE_PROTO_HEADER = ndr/libndr_proto.h
+PUBLIC_PROTO_HEADER = ndr/libndr_proto.h
 OBJ_FILES = \
 		ndr/ndr.o \
 		ndr/ndr_basic.o \
@@ -38,6 +38,7 @@
 SO_VERSION = 0.0.1
 DESCRIPTION =
 OBJ_FILES = gen_ndr/ndr_security.o
+PUBLIC_HEADERS = gen_ndr/security.h
 REQUIRED_SUBSYSTEMS = NDR_MISC NDR_SECURITY_HELPER
 
 [LIBRARY::NDR_AUDIOSRV]
@@ -101,6 +102,7 @@
 SO_VERSION = 0.0.1
 DESCRIPTION =
 OBJ_FILES = gen_ndr/ndr_misc.o
+PUBLIC_HEADERS = gen_ndr/misc.h
 REQUIRED_SUBSYSTEMS = LIBNDR
 
 [LIBRARY::NDR_ROT]
@@ -115,6 +117,7 @@
 SO_VERSION = 0.0.1
 DESCRIPTION =
 OBJ_FILES = gen_ndr/ndr_lsa.o
+PUBLIC_HEADERS = gen_ndr/lsa.h
 REQUIRED_SUBSYSTEMS = LIBNDR
 
 [LIBRARY::NDR_DFS]
@@ -168,6 +171,7 @@
 SO_VERSION = 0.0.1
 DESCRIPTION =
 OBJ_FILES = gen_ndr/ndr_samr.o
+PUBLIC_HEADERS = gen_ndr/samr.h
 REQUIRED_SUBSYSTEMS = LIBNDR NDR_MISC NDR_LSA NDR_SECURITY
 
 [LIBRARY::NDR_SPOOLSS]
@@ -351,6 +355,7 @@
 SO_VERSION = 0.0.1
 DESCRIPTION =
 OBJ_FILES = gen_ndr/ndr_netlogon.o
+PUBLIC_HEADERS = gen_ndr/netlogon.h
 REQUIRED_SUBSYSTEMS = LIBNDR NDR_SAMR NDR_LSA
 
 [LIBRARY::NDR_TRKWKS]
@@ -700,6 +705,7 @@
 [SUBSYSTEM::NDR_DCERPC]
 OBJ_FILES = gen_ndr/ndr_dcerpc.o
 REQUIRED_SUBSYSTEMS = LIBNDR NDR_MISC
+PUBLIC_HEADERS = gen_ndr/dcerpc.h
 
 ################################################
 # Start SUBSYSTEM dcerpc
@@ -708,7 +714,7 @@
 SO_VERSION = 0.0.1
 DESCRIPTION = DCE/RPC client library
 PUBLIC_HEADERS = rpc/dcerpc.h
-PRIVATE_PROTO_HEADER = rpc/dcerpc_proto.h
+PUBLIC_PROTO_HEADER = rpc/dcerpc_proto.h
 OBJ_FILES = \
 		rpc/dcerpc.o \
 		rpc/dcerpc_auth.o \

Modified: branches/SAMBA_4_0/source/librpc/idl/dcerpc.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/dcerpc.idl	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/librpc/idl/dcerpc.idl	2006-03-16 17:51:04 UTC (rev 14484)
@@ -9,7 +9,8 @@
   layouts
 */
 [
-pointer_default(unique)
+pointer_default(unique),
+depends(misc)
 ]
 interface dcerpc
 {

Modified: branches/SAMBA_4_0/source/librpc/ndr/libndr.h
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/libndr.h	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/librpc/ndr/libndr.h	2006-03-16 17:51:04 UTC (rev 14484)
@@ -21,6 +21,9 @@
 #ifndef __LIBNDR_H__
 #define __LIBNDR_H__
 
+#include "core.h"
+#include "lib/talloc/talloc.h"
+
 /*
   this provides definitions for the libcli/rpc/ MSRPC library
 */

Modified: branches/SAMBA_4_0/source/rpc_server/config.mk
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/config.mk	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/rpc_server/config.mk	2006-03-16 17:51:04 UTC (rev 14484)
@@ -203,7 +203,8 @@
 ################################################
 # Start SUBSYSTEM dcerpc_server
 [SUBSYSTEM::dcerpc_server]
-PRIVATE_PROTO_HEADER = dcerpc_server_proto.h
+PUBLIC_HEADERS = dcerpc_server.h
+PUBLIC_PROTO_HEADER = dcerpc_server_proto.h
 OBJ_FILES = \
 		dcerpc_server.o \
 		dcerpc_sock.o \

Modified: branches/SAMBA_4_0/source/rpc_server/dcerpc_server.h
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/dcerpc_server.h	2006-03-16 16:47:18 UTC (rev 14483)
+++ branches/SAMBA_4_0/source/rpc_server/dcerpc_server.h	2006-03-16 17:51:04 UTC (rev 14484)
@@ -24,6 +24,11 @@
 #ifndef SAMBA_DCERPC_SERVER_H
 #define SAMBA_DCERPC_SERVER_H
 
+#include "core.h"
+#include "librpc/gen_ndr/misc.h"
+#include "librpc/gen_ndr/dcerpc.h"
+#include "librpc/ndr/libndr.h"
+
 /* modules can use the following to determine if the interface has changed
  * please increment the version number after each interface change
  * with a comment and maybe update struct dcesrv_critical_sizes.



More information about the samba-cvs mailing list