Add callbacks file
Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
7ba0d6d295
commit
edbddea696
|
@ -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);
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue