added request amb251

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40749
This commit is contained in:
David Anderson
2007-05-06 06:15:48 +00:00
parent 8137f2d29d
commit 7013072236
2 changed files with 88 additions and 0 deletions
+20
View File
@@ -192,6 +192,26 @@ native bool:KvJumpFirstSubKey(Handle:kv);
*/
native bool:KvJumpNextSubKey(Handle:kv);
/**
* Removes the given key from the current position.
*
* @param kv KeyValues Handle.
* @param key Name of the key.
* @return True on success, false if key did not exist.
* @error Invalid Handle.
*/
native bool:KvDeleteKey(Handle:kv, const String:key[]);
/**
* Removes the current sub-key and jumps back one position, using the previous
* position as the search point. This will not work if used on the root node.
*
* @param kv KeyValues Handle.
* @return True on success, false if there was no sub key.
* @error Invalid Handle.
*/
native bool:KvDeleteThis(Handle:kv);
/**
* Jumps back to the previous position. Returns false if there are no
* previous positions (i.e., at the root node). This should be called