X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient%2Fcommand_db.h;h=bed89c433c10e467762b587d3befa52ba4fd0fde;hb=0ff9d0a37959c6f297d33c23fed0eb889114c4bc;hp=a3fbd6cf224da7c007bfcdb31a0cb2376a638ddb;hpb=fb9b40f0535b28b37b64983240c4b78e74ee9a2c;p=plomrogue diff --git a/src/client/command_db.h b/src/client/command_db.h index a3fbd6c..bed89c4 100644 --- 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); -/* Reads CommandDB from CommandDB file, line by line, until first empty line. */ +/* Reads in CommandDB config file. */ extern void init_command_db(); /* Free all memory allocated with init_command_db. */