diff options
author | Günther Deschner <gd@samba.org> | 2011-04-29 22:32:12 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-05-02 15:03:43 +0200 |
commit | 49d5f62b42d821bb8a11b595efb53eb88ec3c570 (patch) | |
tree | f315704778bbab393f998e56b1f55be6e7695bbc /source3/include | |
parent | 6dd97ac093ee00281ed029d549d5882d76c2735d (diff) | |
download | samba-49d5f62b42d821bb8a11b595efb53eb88ec3c570.tar.gz |
s3-proto: move rpc_srv_register protos and structs to town headerfile.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntdomain.h | 1 | ||||
-rw-r--r-- | source3/include/proto.h | 21 |
2 files changed, 3 insertions, 19 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 9cd00da21a..2c5fa2b669 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -234,5 +234,6 @@ void *_policy_handle_find(struct pipes_struct *p, (_type *)_policy_handle_find((_p), (_hnd), (_access_required), \ (_access_granted), #_type, __location__, (_pstatus)) +#include "rpc_server/srv_pipe_register.h" #endif /* _NT_DOMAIN_H */ 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); |