diff options
Diffstat (limited to 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index de6d0ea03..72460940f 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -58,6 +58,14 @@ struct custom_command { }; /** + * Find a character in command in and return pointer to the first part of the string, in is modified to point to the second part of string + * @param in f_str_t input + * @param c separator character + * @return pointer to the first part of string or NULL if there is no separator found + */ +gchar* separate_command (f_str_t * in, gchar c); + +/** * Read one line of user's input for specified task * @param task task object * @param line line of user's input |