From cd82d4ba569a5048e506f8455d9c496a47805fc1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 1 Oct 2009 02:09:33 +0200 Subject: s3: add perfcount idl and generated files. Guenther --- source3/include/includes.h | 3 +-- source3/include/proto.h | 10 ++++------ 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'source3/include') diff --git a/source3/include/includes.h b/source3/include/includes.h index 71125140be..453c8b3f29 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -672,8 +672,7 @@ struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx); #include "ntdomain.h" #include "reg_objects.h" #include "reg_db.h" -#include "rpc_perfcount.h" -#include "rpc_perfcount_defs.h" +#include "librpc/gen_ndr/perfcount.h" #include "librpc/gen_ndr/notify.h" #include "librpc/gen_ndr/xattr.h" #include "librpc/gen_ndr/messaging.h" diff --git a/source3/include/proto.h b/source3/include/proto.h index ba2f42688d..530f167df6 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5131,18 +5131,18 @@ uint32 reg_perfcount_get_last_help(uint32 last_counter); uint32 reg_perfcount_get_counter_help(uint32 base_index, char **retbuf); uint32 reg_perfcount_get_counter_names(uint32 base_index, char **retbuf); bool _reg_perfcount_get_counter_data(TDB_DATA key, TDB_DATA *data); -bool _reg_perfcount_get_instance_info(PERF_INSTANCE_DEFINITION *inst, +bool _reg_perfcount_get_instance_info(struct PERF_INSTANCE_DEFINITION *inst, prs_struct *ps, int instId, - PERF_OBJECT_TYPE *obj, + struct PERF_OBJECT_TYPE *obj, TDB_CONTEXT *names); -bool _reg_perfcount_add_instance(PERF_OBJECT_TYPE *obj, +bool _reg_perfcount_add_instance(struct PERF_OBJECT_TYPE *obj, prs_struct *ps, int instInd, TDB_CONTEXT *names); uint32 reg_perfcount_get_perf_data_block(uint32 base_index, prs_struct *ps, - PERF_DATA_BLOCK *block, + struct PERF_DATA_BLOCK *block, const char *object_ids); WERROR reg_perfcount_get_hkpd(prs_struct *ps, uint32 max_buf_size, uint32 *outbuf_len, const char *object_ids); @@ -5636,8 +5636,6 @@ NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli, /* The following definitions come from rpc_parse/parse_misc.c */ bool smb_io_time(const char *desc, NTTIME *nttime, prs_struct *ps, int depth); -bool smb_io_system_time(const char *desc, prs_struct *ps, int depth, SYSTEMTIME *systime); -bool make_systemtime(SYSTEMTIME *systime, struct tm *unixtime); bool smb_io_uuid(const char *desc, struct GUID *uuid, prs_struct *ps, int depth); -- cgit