1 #ifndef COMMAND_FUNCS_H 2 #define COMMAND_FUNCS_H 3 4 #include <stdbool.h> 5 6 /** slash_send_file() 7 * 8 * takes a file from the message box, and send it to the current friend. 9 * 10 * TODO, make sure the file exists. 11 */ 12 bool slash_send_file(void *friend_handle, char *filepath, int arg_length); 13 14 /** 15 * Adds a device to a friend 16 */ 17 bool slash_device(void *f, char *argument, int arg_length); 18 19 /** 20 * Sets the current friend's alias to the value of arg 21 */ 22 bool slash_alias(void *f, char *arg, int arg_length); 23 24 /** 25 * Invites a friend to the current groupchat 26 */ 27 bool slash_invite(void *f, char *arg, int arg_length); 28 29 /** 30 * Sets the topic of the current groupchat to the value of arg 31 */ 32 bool slash_topic(void *object, char *arg, int arg_length); 33 34 #endif 35