Profanity C Plugin API
profhooks.h
Go to the documentation of this file.
1 
12 void prof_init(const char * const version, const char * const status, const char *const account_name, const char *const fulljid);
13 
17 void prof_on_start(void);
18 
22 void prof_on_shutdown(void);
23 
27 void prof_on_unload(void);
28 
34 void prof_on_connect(const char * const account_name, const char * const fulljid);
35 
41 void prof_on_disconnect(const char * const account_name, const char * const fulljid);
42 
50 char* prof_pre_chat_message_display(const char * const barejid, const char *const resource, const char *message);
51 
58 void prof_post_chat_message_display(const char * const barejid, const char *const resource, const char *message);
59 
66 char* prof_pre_chat_message_send(const char * const barejid, const char *message);
67 
73 void prof_post_chat_message_send(const char * const barejid, const char *message);
74 
82 char* prof_pre_room_message_display(const char * const barejid, const char * const nick, const char *message);
83 
90 void prof_post_room_message_display(const char * const barejid, const char * const nick, const char *message);
91 
98 char* prof_pre_room_message_send(const char * const barejid, const char *message);
99 
105 void prof_post_room_message_send(const char * const barejid, const char *message);
106 
114 void prof_on_room_history_message(const char * const barejid, const char *const nick, const char *const message, const char *const timestamp);
115 
123 char* prof_pre_priv_message_display(const char * const barejid, const char * const nick, const char *message);
124 
131 void prof_post_priv_message_display(const char * const barejid, const char * const nick, const char *message);
132 
140 char* prof_pre_priv_message_send(const char * const barejid, const char * const nick, const char *message);
141 
148 void prof_post_priv_message_send(const char * const barejid, const char * const nick, const char *message);
149 
155 char* prof_on_message_stanza_send(const char *const stanza);
156 
162 int prof_on_message_stanza_receive(const char *const stanza);
163 
169 char* prof_on_presence_stanza_send(const char *const stanza);
170 
176 int prof_on_presence_stanza_receive(const char *const stanza);
177 
183 char* prof_on_iq_stanza_send(const char *const stanza);
184 
190 int prof_on_iq_stanza_receive(const char *const stanza);
191 
198 void prof_on_contact_offline(const char *const barejid, const char *const resource, const char *const status);
199 
208 void prof_on_contact_presence(const char *const barejid, const char *const resource, const char *const presence, const char *const status, const int priority);
209 
214 void prof_on_chat_win_focus(const char *const barejid);
215 
220 void prof_on_room_win_focus(const char *const barejid);
void prof_post_room_message_send(const char *const barejid, const char *message)
char * prof_on_iq_stanza_send(const char *const stanza)
char * prof_on_presence_stanza_send(const char *const stanza)
void prof_on_contact_presence(const char *const barejid, const char *const resource, const char *const presence, const char *const status, const int priority)
char * prof_pre_chat_message_display(const char *const barejid, const char *const resource, const char *message)
int prof_on_message_stanza_receive(const char *const stanza)
void prof_on_contact_offline(const char *const barejid, const char *const resource, const char *const status)
void prof_post_chat_message_send(const char *const barejid, const char *message)
void prof_post_chat_message_display(const char *const barejid, const char *const resource, const char *message)
void prof_post_priv_message_send(const char *const barejid, const char *const nick, const char *message)
void prof_init(const char *const version, const char *const status, const char *const account_name, const char *const fulljid)
char * prof_pre_room_message_send(const char *const barejid, const char *message)
char * prof_on_message_stanza_send(const char *const stanza)
void prof_on_start(void)
int prof_on_presence_stanza_receive(const char *const stanza)
char * prof_pre_chat_message_send(const char *const barejid, const char *message)
void prof_on_disconnect(const char *const account_name, const char *const fulljid)
void prof_on_connect(const char *const account_name, const char *const fulljid)
void prof_on_room_win_focus(const char *const barejid)
char * prof_pre_room_message_display(const char *const barejid, const char *const nick, const char *message)
void prof_on_chat_win_focus(const char *const barejid)
void prof_post_priv_message_display(const char *const barejid, const char *const nick, const char *message)
void prof_post_room_message_display(const char *const barejid, const char *const nick, const char *message)
void prof_on_shutdown(void)
void prof_on_unload(void)
char * prof_pre_priv_message_display(const char *const barejid, const char *const nick, const char *message)
int prof_on_iq_stanza_receive(const char *const stanza)
void prof_on_room_history_message(const char *const barejid, const char *const nick, const char *const message, const char *const timestamp)
char * prof_pre_priv_message_send(const char *const barejid, const char *const nick, const char *message)