Add some sectioning comments to reg_api.c
authorMichael Adam <obnox@samba.org>
Wed, 16 Jan 2008 23:57:53 +0000 (00:57 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 17 Jan 2008 15:25:11 +0000 (16:25 +0100)
Michael

source/registry/reg_api.c

index cef14e2ca10feb4fbfaa556e4986b8da58be8373..744e5eb6e307ae4ad06de62acfb7da13c72f35f8 100644 (file)
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_REGISTRY
 
+
+/**********************************************************************
+ * Helper functions
+ **********************************************************************/
+
 static WERROR fill_value_cache(struct registry_key *key)
 {
        if (key->values != NULL) {
@@ -186,6 +191,11 @@ WERROR reg_openhive(TALLOC_CTX *mem_ctx, const char *hive,
                                    pkey);
 }
 
+
+/**********************************************************************
+ * The API functions
+ **********************************************************************/
+
 WERROR reg_openkey(TALLOC_CTX *mem_ctx, struct registry_key *parent,
                   const char *name, uint32 desired_access,
                   struct registry_key **pkey)
@@ -627,6 +637,11 @@ WERROR reg_deletevalue(struct registry_key *key, const char *name)
        return WERR_OK;
 }
 
+
+/**********************************************************************
+ * Higher level utility functions
+ **********************************************************************/
+
 WERROR reg_deleteallvalues(struct registry_key *key)
 {
        WERROR err;