home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor refactorings in config file parse code to clear up code.
[plomrogue]
/
src
/
client
/
command_db.h
diff --git
a/src/client/command_db.h
b/src/client/command_db.h
index a3fbd6cf224da7c007bfcdb31a0cb2376a638ddb..bed89c433c10e467762b587d3befa52ba4fd0fde 100644
(file)
--- a/
src/client/command_db.h
+++ b/
src/client/command_db.h
@@
-28,10
+28,12
@@
struct CommandDB
-/* Return Command struct for command described by its "dsc_short" member. */
+/* Return Command struct for command described by its "dsc_short" member. Return
+ * NULL if no such command is found.
+ */
extern struct Command * get_command(char * dsc_short);
extern struct Command * get_command(char * dsc_short);
-/* Reads
CommandDB from CommandDB file, line by line, until first empty lin
e. */
+/* Reads
in CommandDB config fil
e. */
extern void init_command_db();
/* Free all memory allocated with init_command_db. */
extern void init_command_db();
/* Free all memory allocated with init_command_db. */