diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-15 20:50:30 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-15 20:50:30 -0700 |
commit | f80363c90a60a4496309a50d760ca05ac4b59e4f (patch) | |
tree | 35e0975936dab33b1eee47940b59e4c846c4e32e /source4/rpc_server/common/common.h | |
parent | 5d2dfd12cf779c410e041a1815e5e3edf0ea38d8 (diff) | |
download | samba-f80363c90a60a4496309a50d760ca05ac4b59e4f.tar.gz samba-f80363c90a60a4496309a50d760ca05ac4b59e4f.tar.bz2 samba-f80363c90a60a4496309a50d760ca05ac4b59e4f.zip |
s4-rpc: added a module for forwarding RPC requests
dcesrv_irpc_forward_rpc_call() can be used to forward an arbitrary RPC
request to another task in Samba4, with the return being handled
asynchronously.
This is useful for forwarding DRS requests to the repl or kcc tasks
Diffstat (limited to 'source4/rpc_server/common/common.h')
-rw-r--r-- | source4/rpc_server/common/common.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source4/rpc_server/common/common.h b/source4/rpc_server/common/common.h index aacd460388..5a1d7abab9 100644 --- a/source4/rpc_server/common/common.h +++ b/source4/rpc_server/common/common.h @@ -25,14 +25,6 @@ struct share_config; struct dcesrv_context; -enum srvsvc_ShareType dcesrv_common_get_share_type(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg); -enum srvsvc_PlatformId dcesrv_common_get_platform_id(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx); -const char *dcesrv_common_get_lan_root(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx); -const char *dcesrv_common_get_server_name(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, const char *server_unc); -uint32_t dcesrv_common_get_share_permissions(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg); -uint32_t dcesrv_common_get_share_current_users(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg); -const char *dcesrv_common_get_share_path(TALLOC_CTX *mem_ctx, struct dcesrv_context *dce_ctx, struct share_config *scfg); - struct dcesrv_context; struct dcerpc_server_info { @@ -42,4 +34,6 @@ struct dcerpc_server_info { uint32_t version_build; }; +#include "rpc_server/common/proto.h" + #endif /* _DCERPC_SERVER_COMMON_H_ */ |