Add callbacks file

Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
Chris Michael 2014-01-19 12:04:02 +00:00
parent 7ba0d6d295
commit edbddea696
2 changed files with 21 additions and 0 deletions

14
src/bin/callbacks.c Normal file
View File

@ -0,0 +1,14 @@
#include "private.h"
#include "callbacks.h"
void
_callback_server_connected(Express_Network *net EINA_UNUSED, const char *event EINA_UNUSED, const char *source, const char **params EINA_UNUSED, unsigned int count EINA_UNUSED, void *data)
{
DBG("Server %s Connected", source);
}
void
_callback_server_disconnected(Express_Network *net EINA_UNUSED, const char *event EINA_UNUSED, const char *source, const char **params EINA_UNUSED, unsigned int count EINA_UNUSED, void *data)
{
DBG("Server %s Disconnected", source);
}

7
src/bin/callbacks.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef _CALLBACKS_H_
# define _CALLBACKS_H_ 1
void _callback_server_connected(Express_Network *net, const char *event, const char *source, const char **params, unsigned int count, void *data);
void _callback_server_disconnected(Express_Network *net, const char *event, const char *source, const char **params, unsigned int count, void *data);
#endif