2012-08-09 13:15:30 -07:00
|
|
|
#ifndef ENTRANCE_CONNECT_
|
|
|
|
#define ENTRANCE_CONNECT_
|
2013-09-03 17:10:38 -07:00
|
|
|
|
2013-10-29 11:26:56 -07:00
|
|
|
typedef void (*Entrance_Connect_Auth_Cb)(void *data, const char *login, Eina_Bool granted);
|
2013-09-03 17:10:38 -07:00
|
|
|
|
2012-08-09 13:15:30 -07:00
|
|
|
void entrance_connect_init();
|
2013-09-03 11:08:37 -07:00
|
|
|
void entrance_connect_auth_send(const char *login, const char *password, const char *session, Eina_Bool open_session);
|
|
|
|
void entrance_connect_action_send(unsigned char id);
|
|
|
|
void entrance_connect_conf_send(Entrance_Conf_Gui_Event *conf);
|
2013-09-03 17:10:38 -07:00
|
|
|
void *entrance_connect_auth_cb_add(Entrance_Connect_Auth_Cb func, void *data);
|
|
|
|
void entrance_connect_auth_cb_del(void *list);
|
2012-08-09 13:15:30 -07:00
|
|
|
void entrance_connect_shutdown();
|
|
|
|
#endif /* ENTRANCE_CONNECT_ */
|