forked from enlightenment/efl
make eet unit tests compile on Windows
SVN revision: 49887
This commit is contained in:
parent
9a7760d37d
commit
a608450673
|
@ -2815,7 +2815,7 @@ extern "C" {
|
|||
* @since 1.2.4
|
||||
* @ingroup Eet_Connection_Group
|
||||
*/
|
||||
Eet_Connection *eet_connection_new(Eet_Read_Cb *eet_read_cb, Eet_Write_Cb *eet_write_cb, const void *user_data);
|
||||
EAPI Eet_Connection *eet_connection_new(Eet_Read_Cb *eet_read_cb, Eet_Write_Cb *eet_write_cb, const void *user_data);
|
||||
|
||||
/**
|
||||
* Process a raw packet received over the link
|
||||
|
@ -2831,7 +2831,7 @@ extern "C" {
|
|||
* @since 1.2.4
|
||||
* @ingroup Eet_Connection_Group
|
||||
*/
|
||||
int eet_connection_received(Eet_Connection *conn, const void *data, size_t size);
|
||||
EAPI int eet_connection_received(Eet_Connection *conn, const void *data, size_t size);
|
||||
|
||||
/**
|
||||
* Convert a complex structure and prepare it to be send.
|
||||
|
@ -2850,7 +2850,7 @@ extern "C" {
|
|||
* @since 1.2.4
|
||||
* @ingroup Eet_Connection_Group
|
||||
*/
|
||||
Eina_Bool eet_connection_send(Eet_Connection *conn, Eet_Data_Descriptor *edd, const void *data_in, const char *cipher_key);
|
||||
EAPI Eina_Bool eet_connection_send(Eet_Connection *conn, Eet_Data_Descriptor *edd, const void *data_in, const char *cipher_key);
|
||||
|
||||
/**
|
||||
* Convert a Eet_Node tree and prepare it to be send.
|
||||
|
@ -2868,7 +2868,7 @@ extern "C" {
|
|||
* @since 1.2.4
|
||||
* @ingroup Eet_Connection_Group
|
||||
*/
|
||||
Eina_Bool eet_connection_node_send(Eet_Connection *conn, Eet_Node *node, const char *cipher_key);
|
||||
EAPI Eina_Bool eet_connection_node_send(Eet_Connection *conn, Eet_Node *node, const char *cipher_key);
|
||||
|
||||
/**
|
||||
* Close a connection and lost its track.
|
||||
|
@ -2879,7 +2879,7 @@ extern "C" {
|
|||
* @since 1.2.4
|
||||
* @ingroup Eet_Connection_Group
|
||||
*/
|
||||
void *eet_connection_close(Eet_Connection *conn, Eina_Bool *on_going);
|
||||
EAPI void *eet_connection_close(Eet_Connection *conn, Eina_Bool *on_going);
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ struct _Eet_Connection
|
|||
void *buffer;
|
||||
};
|
||||
|
||||
Eet_Connection *
|
||||
EAPI Eet_Connection *
|
||||
eet_connection_new(Eet_Read_Cb *eet_read_cb,
|
||||
Eet_Write_Cb *eet_write_cb,
|
||||
const void *user_data)
|
||||
|
@ -81,7 +81,7 @@ eet_connection_new(Eet_Read_Cb *eet_read_cb,
|
|||
return conn;
|
||||
}
|
||||
|
||||
int
|
||||
EAPI int
|
||||
eet_connection_received(Eet_Connection *conn, const void *data, size_t size)
|
||||
{
|
||||
if (!conn || !data || !size)
|
||||
|
@ -185,7 +185,7 @@ _eet_connection_raw_send(Eet_Connection *conn, void *data, int data_size)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
EAPI Eina_Bool
|
||||
eet_connection_send(Eet_Connection *conn, Eet_Data_Descriptor *edd, const void *data_in, const char *cipher_key)
|
||||
{
|
||||
void *flat_data;
|
||||
|
@ -203,7 +203,7 @@ eet_connection_send(Eet_Connection *conn, Eet_Data_Descriptor *edd, const void *
|
|||
return ret;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
EAPI Eina_Bool
|
||||
eet_connection_node_send(Eet_Connection *conn, Eet_Node *node, const char *cipher_key)
|
||||
{
|
||||
void *data;
|
||||
|
@ -221,7 +221,7 @@ eet_connection_node_send(Eet_Connection *conn, Eet_Node *node, const char *ciphe
|
|||
return ret;
|
||||
}
|
||||
|
||||
void *
|
||||
EAPI void *
|
||||
eet_connection_close(Eet_Connection *conn, Eina_Bool *on_going)
|
||||
{
|
||||
void *user_data;
|
||||
|
|
|
@ -10,7 +10,7 @@ if EFL_ENABLE_TESTS
|
|||
check_PROGRAMS = eet_suite
|
||||
|
||||
eet_suite_SOURCES = eet_suite.c eet_data_suite.c
|
||||
eet_suite_LDADD = @EINA_LIBS@ @CHECK_LIBS@ $(top_builddir)/src/lib/libeet.la
|
||||
eet_suite_LDADD = $(top_builddir)/src/lib/libeet.la @EINA_LIBS@ @CHECK_LIBS@
|
||||
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue