summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/config.mk1
-rw-r--r--source4/librpc/rpc/dcerpc.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index a359f13f54..09e2a278c4 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -30,6 +30,7 @@ ADD_OBJ_FILES = \
################################################
# Start SUBSYSTEM LIBNDR_GEN
[SUBSYSTEM::LIBNDR_GEN]
+INIT_FUNCTION = librpc_init
INIT_OBJ_FILES = \
librpc/gen_ndr/tables.o
ADD_OBJ_FILES = \
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 3c05c303af..27292bc8c3 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -24,6 +24,12 @@
#include "dlinklist.h"
#include "librpc/gen_ndr/ndr_epmapper.h"
+NTSTATUS librpc_init(void)
+{
+ /* FIXME: Register module registration function here */
+ return NT_STATUS_OK;
+}
+
/* initialise a dcerpc pipe. */
struct dcerpc_pipe *dcerpc_pipe_init(void)
{