summaryrefslogtreecommitdiffstats
path: root/include/xrmoptions.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-10-14 08:47:21 +0200
committerDave Davenport <qball@gmpclient.org>2016-10-14 08:47:21 +0200
commitb4c599f022feb69d5be7c27a3037c70c02c44790 (patch)
treefe0a1d674e402182e6c8ae7e6ada3767d837f466 /include/xrmoptions.h
parentcc496c38ee31cab226bbede60d3790afcf108b3d (diff)
Add more documentation.
Current state: 61% coverage.
Diffstat (limited to 'include/xrmoptions.h')
-rw-r--r--include/xrmoptions.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/xrmoptions.h b/include/xrmoptions.h
index 19e89ebc..489c91f3 100644
--- a/include/xrmoptions.h
+++ b/include/xrmoptions.h
@@ -35,13 +35,20 @@
* @{
*/
-// This maps xresource options to config structure.
+/**
+ * Type of the config options.
+ */
typedef enum
{
+ /** Config option is string */
xrm_String = 0,
+ /** Config option is an unsigned number */
xrm_Number = 1,
+ /** Config option is a signed number */
xrm_SNumber = 2,
+ /** Config option is a boolean (true/false) value*/
xrm_Boolean = 3,
+ /** Config option is a character */
xrm_Char = 4
} XrmOptionType;
@@ -136,6 +143,13 @@ void print_options ( void );
*/
void print_help_msg ( const char *option, const char *type, const char*text, const char *def, int isatty );
+/**
+ * @param length the length of the returned array
+ *
+ * Creates an array with a strings describing each keybinding.
+ *
+ * @returns an array of string with length elements
+ */
char ** config_parser_return_display_help ( unsigned int *length );
/* @}*/