summary refs log tree commit diff stats
path: root/src/common/plugin.h
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-07-12 01:33:35 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-07-12 01:33:35 +0100
commite0fb3d537d86001a8ccc5cc1c90a0ecc4f6a8d92 (patch)
treea6516c8b421a52b6bcdb6998cf4b4546bb0bcb66 /src/common/plugin.h
parent5e240eb259c473dd5ef25a5d11ef5ad574470f3a (diff)
Added hexchat_emit_print_attrs() to plugin interface.
Diffstat (limited to 'src/common/plugin.h')
-rw-r--r--src/common/plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/plugin.h b/src/common/plugin.h
index 9af54426..3cb97866 100644
--- a/src/common/plugin.h
+++ b/src/common/plugin.h
@@ -144,10 +144,10 @@ struct _hexchat_plugin
 		  int (*callback) (char *word[], hexchat_event_attrs *attrs,
 						   void *user_data),
 		  void *userdata);
+	int (*hexchat_emit_print_attrs) (hexchat_plugin *ph, hexchat_event_attrs *attrs,
+									 const char *event_name, ...);
 
-	/* If you add new functions here you should remove the corresponding number
-	 * of dummy functions bellow. */
-	void *(*hexchat_dummy2) (hexchat_plugin *ph);
+	/* If you add a new function here you should remove the dummy function bellow. */
 	void *(*hexchat_dummy1) (hexchat_plugin *ph);
 
 	/* PRIVATE FIELDS! */