summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/ec_pluginapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/ec_pluginapi.h b/api/ec_pluginapi.h
index 67b7c7d..6bcf5e7 100644
--- a/api/ec_pluginapi.h
+++ b/api/ec_pluginapi.h
@@ -34,7 +34,7 @@ typedef void* (*EVENT_HANDLER)(void*);
typedef struct
{
- void (*CreateServiceFunction)(const char *,SERVICE); //register new service "service name" in core (will be avaible for all modules)
+ int (*CreateServiceFunction)(const char *,SERVICE); //register new service "service name" in core (will be avaible for all modules)
void* (*CallService)(const char *,void*); //execute "service name" service with custom data (service dependent)
int (*ServiceExists)(const char *); //check if "service name" service exists
int (*RegisterEventHandler)(int, EVENT_HANDLER); //event type, handler function, return 0 on success