summaryrefslogtreecommitdiff
path: root/source4/lib/registry/patchfile.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-06 10:09:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:16 -0500
commit1589791b95091ab387acc70ded8a067a836f9779 (patch)
treec3e834397da0230715f23dbe1be9f9a05876129b /source4/lib/registry/patchfile.c
parentce2c9f22e5e1c74cc6002c7bd6ca47d12cd41cc2 (diff)
downloadsamba-1589791b95091ab387acc70ded8a067a836f9779.tar.gz
samba-1589791b95091ab387acc70ded8a067a836f9779.tar.bz2
samba-1589791b95091ab387acc70ded8a067a836f9779.zip
r13855: Docs for the registry library as well
(This used to be commit ad43464cc1d1fdb59a26e612e0b4ec85ef4a43d2)
Diffstat (limited to 'source4/lib/registry/patchfile.c')
-rw-r--r--source4/lib/registry/patchfile.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/source4/lib/registry/patchfile.c b/source4/lib/registry/patchfile.c
index 9a7a8e586f..bb37e4bb6a 100644
--- a/source4/lib/registry/patchfile.c
+++ b/source4/lib/registry/patchfile.c
@@ -23,6 +23,11 @@
#include "lib/registry/registry.h"
#include "system/filesys.h"
+/**
+ * @file
+ * @brief Registry patch files
+ */
+
#define DEFAULT_IDENT_STRING "SAMBA4 REGISTRY"
static struct reg_diff_key *diff_find_add_key(struct reg_diff *diff, const char *path)
@@ -168,7 +173,7 @@ static WERROR reg_generate_diff_key(struct reg_diff *diff, struct registry_key *
return WERR_OK;
}
-/*
+/**
* Generate diff between two registry contexts
*/
_PUBLIC_ struct reg_diff *reg_generate_diff(TALLOC_CTX *mem_ctx, struct registry_context *ctx1, struct registry_context *ctx2)
@@ -197,7 +202,7 @@ _PUBLIC_ struct reg_diff *reg_generate_diff(TALLOC_CTX *mem_ctx, struct registry
return diff;
}
-/*
+/**
* Save registry diff
*/
_PUBLIC_ WERROR reg_diff_save(const struct reg_diff *diff, const char *filename)
@@ -247,7 +252,7 @@ _PUBLIC_ WERROR reg_diff_save(const struct reg_diff *diff, const char *filename)
return WERR_OK;
}
-/*
+/**
* Load diff file
*/
_PUBLIC_ struct reg_diff *reg_diff_load(TALLOC_CTX *ctx, const char *fn)
@@ -358,7 +363,7 @@ _PUBLIC_ struct reg_diff *reg_diff_load(TALLOC_CTX *ctx, const char *fn)
return diff;
}
-/*
+/**
* Apply diff to a registry context
*/
_PUBLIC_ BOOL reg_diff_apply (const struct reg_diff *diff, struct registry_context *ctx)