summaryrefslogtreecommitdiff
path: root/source3/registry/reg_eventlog.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-03-23 18:14:17 +0100
committerMichael Adam <obnox@samba.org>2009-04-27 11:21:02 +0200
commit221151a2a2c30e5c82b100161b498fdbbc1d4382 (patch)
treed4346a16206b3308ff20b026012aa095e99d778a /source3/registry/reg_eventlog.c
parent38d02c5d857ecea3405c3f48e64906764329f1a1 (diff)
downloadsamba-221151a2a2c30e5c82b100161b498fdbbc1d4382.tar.gz
samba-221151a2a2c30e5c82b100161b498fdbbc1d4382.tar.bz2
samba-221151a2a2c30e5c82b100161b498fdbbc1d4382.zip
s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.
This paves the way for hiding the typedef and the implementation from the surface. Michael
Diffstat (limited to 'source3/registry/reg_eventlog.c')
-rw-r--r--source3/registry/reg_eventlog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/registry/reg_eventlog.c b/source3/registry/reg_eventlog.c
index c02318beac..fbeef9acad 100644
--- a/source3/registry/reg_eventlog.c
+++ b/source3/registry/reg_eventlog.c
@@ -36,7 +36,7 @@ bool eventlog_init_keys(void)
char *evtlogpath = NULL;
char *evtfilepath = NULL;
struct regsubkey_ctr *subkeys;
- REGVAL_CTR *values;
+ struct regval_ctr *values;
uint32 uiMaxSize;
uint32 uiRetention;
uint32 uiCategoryCount;
@@ -87,7 +87,7 @@ bool eventlog_init_keys(void)
TALLOC_FREE( subkeys );
/* now add the values to the KEY_EVENTLOG/Application form key */
- if (!(values = TALLOC_ZERO_P(ctx, REGVAL_CTR))) {
+ if (!(values = TALLOC_ZERO_P(ctx, struct regval_ctr))) {
DEBUG( 0, ( "talloc() failure!\n" ) );
return False;
}
@@ -149,7 +149,7 @@ bool eventlog_init_keys(void)
if (!evtlogpath) {
return false;
}
- if (!(values = TALLOC_ZERO_P(ctx, REGVAL_CTR))) {
+ if (!(values = TALLOC_ZERO_P(ctx, struct regval_ctr))) {
DEBUG( 0, ( "talloc() failure!\n" ) );
return False;
}
@@ -201,7 +201,7 @@ bool eventlog_add_source( const char *eventlog, const char *sourcename,
char **wrklist, **wp;
char *evtlogpath = NULL;
struct regsubkey_ctr *subkeys;
- REGVAL_CTR *values;
+ struct regval_ctr *values;
REGISTRY_VALUE *rval;
UNISTR2 data;
uint16 *msz_wp;
@@ -233,7 +233,7 @@ bool eventlog_add_source( const char *eventlog, const char *sourcename,
/* todo add to Sources */
- if (!( values = TALLOC_ZERO_P(ctx, REGVAL_CTR))) {
+ if (!( values = TALLOC_ZERO_P(ctx, struct regval_ctr))) {
DEBUG( 0, ( "talloc() failure!\n" ));
return false;
}
@@ -363,7 +363,7 @@ bool eventlog_add_source( const char *eventlog, const char *sourcename,
regdb_fetch_keys( evtlogpath, subkeys );
/* now add the values to the KEY_EVENTLOG/Application form key */
- if ( !( values = TALLOC_ZERO_P(ctx, REGVAL_CTR ) ) ) {
+ if ( !( values = TALLOC_ZERO_P(ctx, struct regval_ctr ) ) ) {
DEBUG( 0, ( "talloc() failure!\n" ) );
return False;
}