diff options
author | Richard Sharpe <sharpe@samba.org> | 2003-04-18 19:32:58 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2003-04-18 19:32:58 +0000 |
commit | db233b6970da2a87bb2c137cf45e99b2f208967f (patch) | |
tree | f0a98734fe1430715e732e0c1569a10a45b4a6c1 /source3/utils/editreg.c | |
parent | 78f039f04347bf1fe4fa7b8f5ca56b444fc2d539 (diff) | |
download | samba-db233b6970da2a87bb2c137cf45e99b2f208967f.tar.gz samba-db233b6970da2a87bb2c137cf45e99b2f208967f.tar.bz2 samba-db233b6970da2a87bb2c137cf45e99b2f208967f.zip |
More minor edits to add features ...
(This used to be commit 882799ca113566b91e42c3c852a9c1986552daaa)
Diffstat (limited to 'source3/utils/editreg.c')
-rw-r--r-- | source3/utils/editreg.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/source3/utils/editreg.c b/source3/utils/editreg.c index ad4417921c..1b7b3d587d 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 <value-name> 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) |