summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_conf.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-29 02:18:44 +0100
committerMichael Adam <obnox@samba.org>2007-12-29 02:18:44 +0100
commitb5b51b530fedf2190f675adbc1ba6e333a86ac0d (patch)
tree24a3fe6ee5c801d9876b0d89c2124f508eeddd5f /source3/libnet/libnet_conf.c
parent618b0efbbcc42beff60da4fe57ad6a6162b5e3f0 (diff)
downloadsamba-b5b51b530fedf2190f675adbc1ba6e333a86ac0d.tar.gz
samba-b5b51b530fedf2190f675adbc1ba6e333a86ac0d.tar.bz2
samba-b5b51b530fedf2190f675adbc1ba6e333a86ac0d.zip
Add a comment header for libnet_smbconf_format_registry_value().
Michael (This used to be commit 80e73407ea326cc68cd8728845c7a1c0907e2201)
Diffstat (limited to 'source3/libnet/libnet_conf.c')
-rw-r--r--source3/libnet/libnet_conf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 3335c37299..6603de0199 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -222,6 +222,13 @@ done:
return werr;
}
+/**
+ * format a registry_value into a string.
+ *
+ * This is intended to be used for smbconf registry values,
+ * which are ar stored as REG_SZ values, so the incomplete
+ * handling should be ok.
+ */
char *libnet_smbconf_format_registry_value(TALLOC_CTX *mem_ctx,
struct registry_value *value)
{