From 1b25aa84cb17fd52d1983701553de27e38ebf3eb Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 19 Jan 2017 22:33:29 +0000 Subject: Add titlebar encryption text to plugins api --- apidocs/c/profapi.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'apidocs/c/profapi.h') diff --git a/apidocs/c/profapi.h b/apidocs/c/profapi.h index 7d5cad0e..9ef1a795 100644 --- a/apidocs/c/profapi.h +++ b/apidocs/c/profapi.h @@ -339,3 +339,19 @@ End any encrypted session with the specified user. @param barejid Jabber ID of the recipient */ void prof_encryption_reset(char *barejid); + +/** +Set the text to display in the titlebar encryption indicator. +@param barejid Jabber ID of the recipient +@param enctext The text to display +@return 1 on success, 0 on failure +*/ +int prof_chat_set_titlebar_enctext(char *barejid, char *enctext); + +/** +Let profanity decide what to show in the titlebar encryption indicator +@param barejid Jabber ID of the recipient +@return 1 on success, 0 on failure +*/ +int prof_chat_unset_titlebar_enctext(char *barejid); + -- cgit 1.4.1-2-gfad0