From 1589791b95091ab387acc70ded8a067a836f9779 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Mar 2006 10:09:53 +0000 Subject: r13855: Docs for the registry library as well (This used to be commit ad43464cc1d1fdb59a26e612e0b4ec85ef4a43d2) --- source4/lib/registry/patchfile.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'source4/lib/registry/patchfile.c') 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) -- cgit