From db233b6970da2a87bb2c137cf45e99b2f208967f Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Fri, 18 Apr 2003 19:32:58 +0000 Subject: [PATCH] More minor edits to add features ... (This used to be commit 882799ca113566b91e42c3c852a9c1986552daaa) --- source3/utils/editreg.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/source3/utils/editreg.c b/source3/utils/editreg.c index ad4417921c8..1b7b3d587df 100644 --- a/source3/utils/editreg.c +++ b/source3/utils/editreg.c @@ -939,6 +939,24 @@ int nt_delete_reg_key(REG_KEY *key, int delete_name) return 1; } +/* + * Add a value to the key specified ... + */ +REG_KEY *nt_add_reg_value(REG_KEY *key, char *name, int type, char *value) +{ + + return NULL; +} + +/* + * Delete a value. Should perhaps return the value ... + */ +REG_KEY *nt_delete_reg_valye(REG_KEY *key, char *name) +{ + + return NULL; +} + /* * Add a key to the tree ... We walk down the components matching until * we don't find any. There must be a match on the first component ... @@ -2200,6 +2218,9 @@ struct cmd_line *get_cmd_line(int fd) * * If it parsed OK, return the as a string, and the * value type and value-string in parameters. + * + * The value name can be empty. There can only be one empty name in + * a list of values. A value of - removes the value entirely. */ char *dup_str(char *s, int len) -- 2.11.4.GIT