about summary refs log tree commit diff stats
path: root/src/plugins/profapi.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-03-29 23:44:54 +0100
committerJames Booth <boothj5@gmail.com>2016-03-29 23:44:54 +0100
commit194c53c4fa52361bad8deceb3685ce383b69d271 (patch)
tree9f370ab8563620b764be045ae4491c338f6dfa4b /src/plugins/profapi.c
parent94b9b1d8e4d359fad8e8878723fa903d4b5b91eb (diff)
downloadprofani-tty-194c53c4fa52361bad8deceb3685ce383b69d271.tar.gz
Plugins: Added basic incoming message function
Diffstat (limited to 'src/plugins/profapi.c')
-rw-r--r--src/plugins/profapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/profapi.c b/src/plugins/profapi.c
index 3ea3bded..372db3b1 100644
--- a/src/plugins/profapi.c
+++ b/src/plugins/profapi.c
@@ -77,3 +77,5 @@ char* (*prof_settings_get_string)(char *group, char *key, char *def) = NULL;
 void (*prof_settings_set_string)(char *group, char *key, char *value) = NULL;
 int (*prof_settings_get_int)(char *group, char *key, int def) = NULL;
 void (*prof_settings_set_int)(char *group, char *key, int value) = NULL;
+
+void (*prof_incoming_message)(char *barejid, char *resource, char *message) = NULL;