summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/rpc_dfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/rpc/rpc_dfs.c')
-rw-r--r--source4/librpc/rpc/rpc_dfs.c129
1 files changed, 0 insertions, 129 deletions
diff --git a/source4/librpc/rpc/rpc_dfs.c b/source4/librpc/rpc/rpc_dfs.c
deleted file mode 100644
index 4de98ad5f6..0000000000
--- a/source4/librpc/rpc/rpc_dfs.c
+++ /dev/null
@@ -1,129 +0,0 @@
-/* dcerpc client calls generated by pidl */
-
-#include "includes.h"
-
-
-NTSTATUS dcerpc_dfs_Exist(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Exist *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_Exist, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_EXIST, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_Exist,
- (ndr_pull_fn_t) ndr_pull_dfs_Exist,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_Exist, r);
- }
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_Add(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Add *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_Add, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_ADD, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_Add,
- (ndr_pull_fn_t) ndr_pull_dfs_Add,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_Add, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_Remove(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Remove *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_Remove, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_REMOVE, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_Remove,
- (ndr_pull_fn_t) ndr_pull_dfs_Remove,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_Remove, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_SetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_SetInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_SetInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_SETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_SetInfo,
- (ndr_pull_fn_t) ndr_pull_dfs_SetInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_SetInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_GetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_GetInfo *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_GetInfo, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_GETINFO, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_GetInfo,
- (ndr_pull_fn_t) ndr_pull_dfs_GetInfo,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_GetInfo, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}
-
-NTSTATUS dcerpc_dfs_Enum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct dfs_Enum *r)
-{
- NTSTATUS status;
-
- if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(dfs_Enum, r);
- }
-
- status = dcerpc_ndr_request(p, DCERPC_DFS_ENUM, mem_ctx,
- (ndr_push_fn_t) ndr_push_dfs_Enum,
- (ndr_pull_fn_t) ndr_pull_dfs_Enum,
- r);
-
- if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(dfs_Enum, r);
- }
- if (NT_STATUS_IS_OK(status)) status = r->out.result;
-
- return status;
-}