diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/config.mk | 3 | ||||
-rw-r--r-- | source4/rpc_server/service_rpc.c | 11 |
2 files changed, 9 insertions, 5 deletions
diff --git a/source4/rpc_server/config.mk b/source4/rpc_server/config.mk index 93617c2c98..527770a8cd 100644 --- a/source4/rpc_server/config.mk +++ b/source4/rpc_server/config.mk @@ -230,3 +230,6 @@ SUBSYSTEM = service PRIVATE_DEPENDENCIES = dcerpc_server DCESRV_OBJ_FILES = $(rpc_serversrcdir)/service_rpc.o + +$(eval $(call proto_header_template,$(rpc_serversrcdir)/service_rpc.h,$(DCESRV_OBJ_FILES:.o=.c))) + diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c index 01bc00762d..3d5c364ec9 100644 --- a/source4/rpc_server/service_rpc.c +++ b/source4/rpc_server/service_rpc.c @@ -28,6 +28,7 @@ #include "../lib/util/dlinklist.h" #include "rpc_server/dcerpc_server.h" #include "rpc_server/dcerpc_server_proto.h" +#include "rpc_server/service_rpc.h" #include "lib/events/events.h" #include "smbd/service_task.h" #include "smbd/service_stream.h" @@ -658,11 +659,11 @@ static NTSTATUS dcesrv_add_ep_tcp(struct dcesrv_context *dce_ctx, return NT_STATUS_OK; } - -static NTSTATUS dcesrv_add_ep(struct dcesrv_context *dce_ctx, - struct loadparm_context *lp_ctx, - struct dcesrv_endpoint *e, - struct tevent_context *event_ctx, const struct model_ops *model_ops) +NTSTATUS dcesrv_add_ep(struct dcesrv_context *dce_ctx, + struct loadparm_context *lp_ctx, + struct dcesrv_endpoint *e, + struct tevent_context *event_ctx, + const struct model_ops *model_ops) { switch (e->ep_description->transport) { case NCACN_UNIX_STREAM: |