From 151713d694508ce5af39aebbb00ace214361732b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 21 May 2006 14:59:02 +0000 Subject: r15777: Fix unresolved symbols in shared library build. (This used to be commit 3fb9f07a7576c465853b03916cb7c0e87e68a276) --- source4/librpc/config.mk | 2 +- source4/rpc_server/dcerpc_server.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk index 682b887378..9e920b9d39 100644 --- a/source4/librpc/config.mk +++ b/source4/librpc/config.mk @@ -656,7 +656,7 @@ PUBLIC_DEPENDENCIES = dcerpc NDR_WKSSVC EJSRPC RPC_EJS_SRVSVC RPC_EJS_MISC INIT_FUNCTION = ejs_init_srvsvc OBJ_FILES = gen_ndr/ndr_srvsvc_ejs.o SUBSYSTEM = smbcalls -PUBLIC_DEPENDENCIES = dcerpc NDR_SRVSVC EJSRPC RPC_EJS_MISC RPC_EJS_SVCCTL +PUBLIC_DEPENDENCIES = dcerpc NDR_SRVSVC EJSRPC RPC_EJS_MISC RPC_EJS_SVCCTL RPC_EJS_SECURITY [MODULE::RPC_EJS_EVENTLOG] INIT_FUNCTION = ejs_init_eventlog diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index 394bd45cea..a0a0148959 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -905,7 +905,7 @@ _PUBLIC_ NTSTATUS dcesrv_reply(struct dcesrv_call_state *call) return NT_STATUS_OK; } -struct socket_address *dcesrv_connection_get_my_addr(struct dcesrv_connection *conn, TALLOC_CTX *mem_ctx) +_PUBLIC_ struct socket_address *dcesrv_connection_get_my_addr(struct dcesrv_connection *conn, TALLOC_CTX *mem_ctx) { if (!conn->transport.get_my_addr) { return NULL; @@ -914,7 +914,7 @@ struct socket_address *dcesrv_connection_get_my_addr(struct dcesrv_connection *c return conn->transport.get_my_addr(conn, mem_ctx); } -struct socket_address *dcesrv_connection_get_peer_addr(struct dcesrv_connection *conn, TALLOC_CTX *mem_ctx) +_PUBLIC_ struct socket_address *dcesrv_connection_get_peer_addr(struct dcesrv_connection *conn, TALLOC_CTX *mem_ctx) { if (!conn->transport.get_peer_addr) { return NULL; -- cgit