about summary refs log tree commit diff stats
path: root/apidocs/c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-08-26 08:23:48 +0200
committerGitHub <noreply@github.com>2021-08-26 08:23:48 +0200
commite4ada15f21c49ce17b99a81f940b32915d39e5fc (patch)
treed837e621693d62bf000a3e2bd26c85f33ee4c150 /apidocs/c
parent1d08d8ccf0aa0740cd7ccd7976a5af0ecf0b5fe8 (diff)
parenta1dc3d12370b90dd32b4ab263b75386d066a0312 (diff)
downloadprofani-tty-e4ada15f21c49ce17b99a81f940b32915d39e5fc.tar.gz
Merge pull request #1593 from a1346054/fixes
Minor cleanup
Diffstat (limited to 'apidocs/c')
-rw-r--r--apidocs/c/profapi.h10
-rw-r--r--apidocs/c/profhooks.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/apidocs/c/profapi.h b/apidocs/c/profapi.h
index 4d61ca7d..b344d728 100644
--- a/apidocs/c/profapi.h
+++ b/apidocs/c/profapi.h
@@ -36,14 +36,14 @@ Themes are specified in ~/.local/share/profanity/plugin_themes
 @param group the group name in the themes file
 @param item the item name within the group
 @param def default colour if the theme cannot be found
-@param message the message to print 
+@param message the message to print
 @return 1 on success, 0 on failure
 */
 int prof_cons_show_themed(const char *const group, const char *const item, const char *const def, const char *const message);
 
-/**	
+/**
 Show a message indicating the command has been called incorrectly.
-@param cmd the command name with leading slash, e.g. "/say" 
+@param cmd the command name with leading slash, e.g. "/say"
 @return 1 on success, 0 on failure
 */
 int prof_cons_bad_cmd_usage(const char *const cmd);
@@ -216,14 +216,14 @@ Show a message in the plugin window.
 */
 int prof_win_show(PROF_WIN_TAG win, char *message);
 
-/**	
+/**
 Show a message in the plugin window, using the specified theme.
 Themes are specified in ~/.local/share/profanity/plugin_themes
 @param tag The {@link PROF_WIN_TAG} of the window to display the message
 @param group the group name in the themes file
 @param key the item name within the group
 @param def default colour if the theme cannot be found or NULL
-@param message the message to print 
+@param message the message to print
 @return 1 on success, 0 on failure
 */
 int prof_win_show_themed(PROF_WIN_TAG tag, char *group, char *key, char *def, char *message);
diff --git a/apidocs/c/profhooks.h b/apidocs/c/profhooks.h
index cb14e794..43f2d086 100644
--- a/apidocs/c/profhooks.h
+++ b/apidocs/c/profhooks.h
@@ -45,7 +45,7 @@ Called before a chat message is displayed
 @param barejid Jabber ID of the message sender
 @param resource resource of the message sender
 @param message the received message
-@return the new message to display, or NULL to preserve the original message 
+@return the new message to display, or NULL to preserve the original message
 */
 char* prof_pre_chat_message_display(const char * const barejid, const char *const resource, const char *message);
 
@@ -77,14 +77,14 @@ Called before a chat room message is displayed
 @param barejid Jabber ID of the room
 @param nick nickname of message sender
 @param message the received message
-@return the new message to display, or NULL to preserve the original message 
+@return the new message to display, or NULL to preserve the original message
 */
 char* prof_pre_room_message_display(const char * const barejid, const char * const nick, const char *message);
 
 /**
 Called after a chat room message is displayed
 @param barejid Jabber ID of the room
-@param nick nickname of the message sender 
+@param nick nickname of the message sender
 @param message the received message
 */
 void prof_post_room_message_display(const char * const barejid, const char * const nick, const char *message);
@@ -118,14 +118,14 @@ Called before a private chat room message is displayed
 @param barejid Jabber ID of the room
 @param nick nickname of message sender
 @param message the received message
-@return the new message to display, or NULL to preserve the original message 
+@return the new message to display, or NULL to preserve the original message
 */
 char* prof_pre_priv_message_display(const char * const barejid, const char * const nick, const char *message);
 
 /**
 Called after a private chat room message is displayed
 @param barejid Jabber ID of the room
-@param nick nickname of the message sender 
+@param nick nickname of the message sender
 @param message the received message
 */
 void prof_post_priv_message_display(const char * const barejid, const char * const nick, const char *message);