1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-09 20:23:51 +03:00

r14567: Make some more functions public.

This commit is contained in:
Jelmer Vernooij
2006-03-19 17:51:15 +00:00
committed by Gerald (Jerry) Carter
parent 1ba4245fcb
commit 8e84e6cb6b
10 changed files with 19 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
# auth Server subsystem # auth server subsystem
include gensec/config.mk include gensec/config.mk
include kerberos/config.mk include kerberos/config.mk
include ntlmssp/config.mk include ntlmssp/config.mk
@@ -79,6 +79,6 @@ OBJ_FILES = \
auth_sam_reply.o \ auth_sam_reply.o \
ntlm_check.o \ ntlm_check.o \
auth_simple.o auth_simple.o
REQUIRED_SUBSYSTEMS = LIB_SECURITY REQUIRED_SUBSYSTEMS = LIB_SECURITY process_model
# End SUBSYSTEM auth # End SUBSYSTEM auth
####################### #######################

View File

@@ -8,6 +8,6 @@ OBJ_FILES = \
cldap_server.o \ cldap_server.o \
netlogon.o netlogon.o
REQUIRED_SUBSYSTEMS = \ REQUIRED_SUBSYSTEMS = \
LIBCLI_CLDAP LIBNETIF LIBCLI_CLDAP LIBNETIF process_model
# End SUBSYSTEM CLDAPD # End SUBSYSTEM CLDAPD
####################### #######################

View File

@@ -7,7 +7,7 @@ OBJ_FILES = \
kdc.o \ kdc.o \
kpasswdd.o kpasswdd.o
REQUIRED_SUBSYSTEMS = \ REQUIRED_SUBSYSTEMS = \
ldb KERBEROS_LIB HEIMDAL_KDC HEIMDAL_HDB ldb KERBEROS_LIB HEIMDAL_KDC HEIMDAL_HDB SAMDB
# End SUBSYSTEM KDC # End SUBSYSTEM KDC
####################### #######################

View File

@@ -9,6 +9,6 @@ OBJ_FILES = \
ldap_backend.o \ ldap_backend.o \
ldap_bind.o ldap_bind.o
REQUIRED_SUBSYSTEMS = \ REQUIRED_SUBSYSTEMS = \
LIBCLI_LDAP SAMDB LIBCLI_LDAP SAMDB process_model
# End SUBSYSTEM SMB # End SUBSYSTEM SMB
####################### #######################

View File

@@ -66,6 +66,6 @@ OBJ_FILES = \
irpc.o irpc.o
PRIVATE_PROTO_HEADER = nbt_server_proto.h PRIVATE_PROTO_HEADER = nbt_server_proto.h
REQUIRED_SUBSYSTEMS = \ REQUIRED_SUBSYSTEMS = \
LIBCLI_NBT NBTD_WINS NBTD_DGRAM LIBCLI_NBT NBTD_WINS NBTD_DGRAM process_model
# End SUBSYSTEM NBTD # End SUBSYSTEM NBTD
####################### #######################

View File

@@ -29,7 +29,7 @@
*/ */
/* This hardcoded value should go into a ldb database! */ /* This hardcoded value should go into a ldb database! */
enum srvsvc_PlatformId dcesrv_common_get_platform_id(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx) _PUBLIC_ enum srvsvc_PlatformId dcesrv_common_get_platform_id(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{ {
enum srvsvc_PlatformId id; enum srvsvc_PlatformId id;
@@ -38,7 +38,7 @@ enum srvsvc_PlatformId dcesrv_common_get_platform_id(TALLOC_CTX *mem_ctx, struct
return id; return id;
} }
const char *dcesrv_common_get_server_name(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, const char *server_unc) _PUBLIC_ const char *dcesrv_common_get_server_name(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, const char *server_unc)
{ {
const char *p = server_unc; const char *p = server_unc;
@@ -61,31 +61,31 @@ const char *dcesrv_common_get_domain_name(TALLOC_CTX *mem_ctx, struct dcesrv_con
} }
/* This hardcoded value should go into a ldb database! */ /* This hardcoded value should go into a ldb database! */
uint32_t dcesrv_common_get_version_major(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx) _PUBLIC_ uint32_t dcesrv_common_get_version_major(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{ {
return lp_parm_int(-1, "server_info", "version_major", 5); return lp_parm_int(-1, "server_info", "version_major", 5);
} }
/* This hardcoded value should go into a ldb database! */ /* This hardcoded value should go into a ldb database! */
uint32_t dcesrv_common_get_version_minor(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx) _PUBLIC_ uint32_t dcesrv_common_get_version_minor(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{ {
return lp_parm_int(-1, "server_info", "version_minor", 2); return lp_parm_int(-1, "server_info", "version_minor", 2);
} }
/* This hardcoded value should go into a ldb database! */ /* This hardcoded value should go into a ldb database! */
uint32_t dcesrv_common_get_version_build(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx) _PUBLIC_ uint32_t dcesrv_common_get_version_build(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{ {
return lp_parm_int(-1, "server_info", "version_build", 3790); return lp_parm_int(-1, "server_info", "version_build", 3790);
} }
/* This hardcoded value should go into a ldb database! */ /* This hardcoded value should go into a ldb database! */
uint32_t dcesrv_common_get_server_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx) _PUBLIC_ uint32_t dcesrv_common_get_server_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{ {
return lp_default_server_announce(); return lp_default_server_announce();
} }
/* This hardcoded value should go into a ldb database! */ /* This hardcoded value should go into a ldb database! */
const char *dcesrv_common_get_lan_root(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx) _PUBLIC_ const char *dcesrv_common_get_lan_root(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx)
{ {
return talloc_strdup(mem_ctx, ""); return talloc_strdup(mem_ctx, "");
} }

View File

@@ -26,7 +26,7 @@
/* /*
setup the events for the chosen process model setup the events for the chosen process model
*/ */
const struct model_ops *process_model_startup(struct event_context *ev, const char *model) _PUBLIC_ const struct model_ops *process_model_startup(struct event_context *ev, const char *model)
{ {
const struct model_ops *ops; const struct model_ops *ops;
@@ -53,7 +53,7 @@ static int num_models;
The 'name' can be later used by other backends to find the operations The 'name' can be later used by other backends to find the operations
structure for this backend. structure for this backend.
*/ */
NTSTATUS register_process_model(const void *_ops) _PUBLIC_ NTSTATUS register_process_model(const void *_ops)
{ {
const struct model_ops *ops = _ops; const struct model_ops *ops = _ops;

View File

@@ -7,6 +7,6 @@ PRIVATE_PROTO_HEADER = proto.h
OBJ_FILES = \ OBJ_FILES = \
web_server.o \ web_server.o \
http.o http.o
REQUIRED_SUBSYSTEMS = ESP LIBTLS smbcalls REQUIRED_SUBSYSTEMS = ESP LIBTLS smbcalls process_model
# End SUBSYSTEM WEB # End SUBSYSTEM WEB
####################### #######################

View File

@@ -21,7 +21,8 @@ OBJ_FILES = \
wb_cmd_usersids.o \ wb_cmd_usersids.o \
wb_cmd_list_trustdom.o \ wb_cmd_list_trustdom.o \
wb_pam_auth.o wb_pam_auth.o
REQUIRED_SUBSYSTEMS = WB_HELPER RPC_NDR_LSA RPC_NDR_SAMR REQUIRED_SUBSYSTEMS = WB_HELPER RPC_NDR_LSA RPC_NDR_SAMR process_model \
PAM_ERRORS
# End SUBSYSTEM WINBIND # End SUBSYSTEM WINBIND
####################### #######################

View File

@@ -15,6 +15,6 @@ OBJ_FILES = \
wrepl_out_helpers.o wrepl_out_helpers.o
PRIVATE_PROTO_HEADER = wrepl_server_proto.h PRIVATE_PROTO_HEADER = wrepl_server_proto.h
REQUIRED_SUBSYSTEMS = \ REQUIRED_SUBSYSTEMS = \
LIBCLI_WREPL WINSDB LIBCLI_WREPL WINSDB process_model
# End SUBSYSTEM WREPL_SRV # End SUBSYSTEM WREPL_SRV
####################### #######################