summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-29 22:32:12 +0200
committerGünther Deschner <gd@samba.org>2011-05-02 15:03:43 +0200
commit49d5f62b42d821bb8a11b595efb53eb88ec3c570 (patch)
treef315704778bbab393f998e56b1f55be6e7695bbc /source3/include/proto.h
parent6dd97ac093ee00281ed029d549d5882d76c2735d (diff)
downloadsamba-49d5f62b42d821bb8a11b595efb53eb88ec3c570.tar.gz
samba-49d5f62b42d821bb8a11b595efb53eb88ec3c570.tar.bz2
samba-49d5f62b42d821bb8a11b595efb53eb88ec3c570.zip
s3-proto: move rpc_srv_register protos and structs to town headerfile.
Guenther
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c296487eac..5ff1c056ce 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2620,27 +2620,10 @@ void set_server_role(void);
uint32 get_int_param( const char* param );
char* get_string_param( const char* param );
-/* The following definitions come from rpc_server/srv_rpc_register.c */
-
-struct rpc_srv_callbacks {
- bool (*init)(void *private_data);
- bool (*shutdown)(void *private_data);
- void *private_data;
-};
-
-struct api_struct;
-struct ndr_interface_table;
-struct pipes_struct;
-NTSTATUS rpc_srv_register(int version, const char *clnt,
- const char *srv,
- const struct ndr_interface_table *iface,
- const struct api_struct *cmds, int size,
- const struct rpc_srv_callbacks *rpc_srv_cb);
-
-NTSTATUS rpc_srv_unregister(const struct ndr_interface_table *iface);
-
/* The following definitions come from rpc_server/srv_pipe.c */
struct ncacn_packet;
+struct api_struct;
+struct pipes_struct;
bool create_next_pdu(struct pipes_struct *p);
bool api_pipe_bind_auth3(struct pipes_struct *p, struct ncacn_packet *pkt);
bool setup_fault_pdu(struct pipes_struct *p, NTSTATUS status);