diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-16 17:51:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:31 -0500 |
commit | 83d8fd3dcfb326354173b585905c4438405d2a74 (patch) | |
tree | 0e89229c1774e75074d799b58f5f7057e3f7027c | |
parent | 3709d6b8e33496fee568035b09f49c8ef907a3ef (diff) | |
download | samba-83d8fd3dcfb326354173b585905c4438405d2a74.tar.gz samba-83d8fd3dcfb326354173b585905c4438405d2a74.tar.bz2 samba-83d8fd3dcfb326354173b585905c4438405d2a74.zip |
r14484: Install more headers
(This used to be commit 430c6516d383bfd7f27287394bf8eef9f174b3e6)
-rw-r--r-- | source4/auth/config.mk | 3 | ||||
-rw-r--r-- | source4/auth/credentials/config.mk | 3 | ||||
-rw-r--r-- | source4/auth/credentials/credentials.h | 2 | ||||
-rw-r--r-- | source4/auth/gensec/config.mk | 4 | ||||
-rw-r--r-- | source4/auth/gensec/gensec.h | 2 | ||||
-rw-r--r-- | source4/headermap.txt | 11 | ||||
-rw-r--r-- | source4/include/core.h | 24 | ||||
-rw-r--r-- | source4/include/includes.h | 21 | ||||
-rw-r--r-- | source4/lib/tdr/config.mk | 2 | ||||
-rw-r--r-- | source4/lib/util/config.mk | 2 | ||||
-rw-r--r-- | source4/libcli/auth/config.mk | 1 | ||||
-rw-r--r-- | source4/librpc/config.mk | 10 | ||||
-rw-r--r-- | source4/librpc/idl/dcerpc.idl | 3 | ||||
-rw-r--r-- | source4/librpc/ndr/libndr.h | 3 | ||||
-rw-r--r-- | source4/rpc_server/config.mk | 3 | ||||
-rw-r--r-- | source4/rpc_server/dcerpc_server.h | 5 |
16 files changed, 67 insertions, 32 deletions
diff --git a/source4/auth/config.mk b/source4/auth/config.mk index a64ceb5da1..4f9ed1a52d 100644 --- a/source4/auth/config.mk +++ b/source4/auth/config.mk @@ -69,7 +69,8 @@ OBJ_FILES = pam_errors.o ####################### # 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 \ diff --git a/source4/auth/credentials/config.mk b/source4/auth/credentials/config.mk index 586add9c14..dbf20156fa 100644 --- a/source4/auth/credentials/config.mk +++ b/source4/auth/credentials/config.mk @@ -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 \ diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h index 58d393f762..2e9d77ccae 100644 --- a/source4/auth/credentials/credentials.h +++ b/source4/auth/credentials/credentials.h @@ -23,6 +23,8 @@ #ifndef __CREDENTIALS_H__ #define __CREDENTIALS_H__ +#include "librpc/gen_ndr/misc.h" + struct ccache_container; /* In order of priority */ diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk index a6335692d8..1e5518c545 100644 --- a/source4/auth/gensec/config.mk +++ b/source4/auth/gensec/config.mk @@ -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 diff --git a/source4/auth/gensec/gensec.h b/source4/auth/gensec/gensec.h index 1e9c74566c..f51f8245e3 100644 --- a/source4/auth/gensec/gensec.h +++ b/source4/auth/gensec/gensec.h @@ -128,6 +128,6 @@ struct gensec_critical_sizes { }; #include "auth/credentials/credentials.h" -#include "gensec_proto.h" +#include "auth/gensec/gensec_proto.h" #endif /* __GENSEC_H__ */ diff --git a/source4/headermap.txt b/source4/headermap.txt index 646cc00b8b..ddf37c5d8c 100644 --- a/source4/headermap.txt +++ b/source4/headermap.txt @@ -39,9 +39,20 @@ libcli/cldap/cldap.h: cldap.h 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 diff --git a/source4/include/core.h b/source4/include/core.h index 28a14562ef..cb9da4dd87 100644 --- a/source4/include/core.h +++ b/source4/include/core.h @@ -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 @@ typedef NTSTATUS (*init_module_fn) (void); /* 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 */ diff --git a/source4/include/includes.h b/source4/include/includes.h index f4642cecb9..22dc922d1b 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -95,31 +95,10 @@ _PUBLIC_ void smb_panic(const char *why) NORETURN_ATTRIBUTE; #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" diff --git a/source4/lib/tdr/config.mk b/source4/lib/tdr/config.mk index 8aa3f85056..4160ad1ce9 100644 --- a/source4/lib/tdr/config.mk +++ b/source4/lib/tdr/config.mk @@ -3,5 +3,5 @@ PUBLIC_HEADERS = tdr.h 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 diff --git a/source4/lib/util/config.mk b/source4/lib/util/config.mk index 9740de2020..e4a3784a91 100644 --- a/source4/lib/util/config.mk +++ b/source4/lib/util/config.mk @@ -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 \ diff --git a/source4/libcli/auth/config.mk b/source4/libcli/auth/config.mk index 18983e1644..26e6913c18 100644 --- a/source4/libcli/auth/config.mk +++ b/source4/libcli/auth/config.mk @@ -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 \ diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk index ce2abca006..6680bd484a 100644 --- a/source4/librpc/config.mk +++ b/source4/librpc/config.mk @@ -5,7 +5,7 @@ VERSION = 0.0.1 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 @@ VERSION = 0.0.1 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 @@ VERSION = 0.0.1 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 @@ VERSION = 0.0.1 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 @@ VERSION = 0.0.1 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 @@ VERSION = 0.0.1 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 @@ REQUIRED_SUBSYSTEMS = dcerpc NDR_KEYSVC [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 @@ VERSION = 0.0.1 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 \ diff --git a/source4/librpc/idl/dcerpc.idl b/source4/librpc/idl/dcerpc.idl index 5816259ae7..e0366adf07 100644 --- a/source4/librpc/idl/dcerpc.idl +++ b/source4/librpc/idl/dcerpc.idl @@ -9,7 +9,8 @@ layouts */ [ -pointer_default(unique) +pointer_default(unique), +depends(misc) ] interface dcerpc { diff --git a/source4/librpc/ndr/libndr.h b/source4/librpc/ndr/libndr.h index d6f46fa44e..d3ff7c5e42 100644 --- a/source4/librpc/ndr/libndr.h +++ b/source4/librpc/ndr/libndr.h @@ -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 */ diff --git a/source4/rpc_server/config.mk b/source4/rpc_server/config.mk index 8a5328d294..7ded619095 100644 --- a/source4/rpc_server/config.mk +++ b/source4/rpc_server/config.mk @@ -203,7 +203,8 @@ REQUIRED_SUBSYSTEMS = \ ################################################ # 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 \ diff --git a/source4/rpc_server/dcerpc_server.h b/source4/rpc_server/dcerpc_server.h index 98cee05f88..13e9b897fd 100644 --- a/source4/rpc_server/dcerpc_server.h +++ b/source4/rpc_server/dcerpc_server.h @@ -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. |