From 43d0a4813bf919e7fe6ab82f6920015d1a57f7bc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 19 Nov 2008 14:37:47 +0100 Subject: s3-ntsvcs: remove last traces of hand-marshalled NTSVCS. Guenther --- source3/include/includes.h | 1 - source3/include/proto.h | 11 ----------- source3/include/rpc_ntsvcs.h | 36 ------------------------------------ 3 files changed, 48 deletions(-) delete mode 100644 source3/include/rpc_ntsvcs.h (limited to 'source3/include') diff --git a/source3/include/includes.h b/source3/include/includes.h index 38d6ec06b9..4e41fa3c05 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -620,7 +620,6 @@ struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx); #include "auth.h" #include "ntdomain.h" #include "rpc_svcctl.h" -#include "rpc_ntsvcs.h" #include "rpc_lsa.h" #include "reg_objects.h" #include "reg_db.h" diff --git a/source3/include/proto.h b/source3/include/proto.h index 9c3aba29af..5e2b823d64 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6023,8 +6023,6 @@ bool make_bufhdr2(BUFHDR2 *hdr, uint32 info_level, uint32 length, uint32 buffer) uint32 str_len_uni(UNISTR *source); bool policy_handle_is_valid(const POLICY_HND *hnd); -/* The following definitions come from rpc_parse/parse_ntsvcs.c */ - /* The following definitions come from rpc_parse/parse_prs.c */ void prs_dump(const char *name, int v, prs_struct *ps); @@ -6551,15 +6549,6 @@ bool close_policy_hnd(pipes_struct *p, POLICY_HND *hnd); void close_policy_by_pipe(pipes_struct *p); bool pipe_access_check(pipes_struct *p); -/* The following definitions come from rpc_server/srv_ntsvcs.c */ - -void ntsvcs2_get_pipe_fns( struct api_struct **fns, int *n_fns ); -NTSTATUS rpc_ntsvcs2_init(void); - -/* The following definitions come from rpc_server/srv_ntsvcs_nt.c */ - -WERROR _ntsvcs_get_device_list( pipes_struct *p, NTSVCS_Q_GET_DEVICE_LIST *q_u, NTSVCS_R_GET_DEVICE_LIST *r_u ); - /* The following definitions come from rpc_server/srv_pipe.c */ bool create_next_pdu(pipes_struct *p); diff --git a/source3/include/rpc_ntsvcs.h b/source3/include/rpc_ntsvcs.h deleted file mode 100644 index 14e11cf6a1..0000000000 --- a/source3/include/rpc_ntsvcs.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - Unix SMB/CIFS implementation. - SMB parameters and setup - Copyright (C) Gerald (Jerry) Carter 2005 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ - -#ifndef _RPC_NTSVCS_H /* _RPC_NTSVCS_H */ -#define _RPC_NTSVCS_H - -/* ntsvcs pipe */ - -#define NTSVCS_GET_VERSION 0x02 -#define NTSVCS_VALIDATE_DEVICE_INSTANCE 0x06 -#define NTSVCS_GET_ROOT_DEVICE_INSTANCE 0x07 -#define NTSVCS_GET_DEVICE_LIST 0x0a -#define NTSVCS_GET_DEVICE_LIST_SIZE 0x0b -#define NTSVCS_GET_DEVICE_REG_PROPERTY 0x0d -#define NTSVCS_HW_PROFILE_FLAGS 0x28 -#define NTSVCS_GET_HW_PROFILE_INFO 0x29 -#define NTSVCS_GET_VERSION_INTERNAL 0x3e - - -#endif /* _RPC_NTSVCS_H */ -- cgit