forked from enlightenment/efl
efl_net_dialer_http: export read size.
In the legacy wrapper I'll need that.
This commit is contained in:
parent
6b350fc696
commit
b4ed72518d
|
@ -740,4 +740,6 @@ size_t efl_net_udp_datagram_size_query(SOCKET fd);
|
|||
/* SSL abstraction API */
|
||||
extern void *efl_net_ssl_context_connection_new(Efl_Net_Ssl_Context *context);
|
||||
|
||||
#define EFL_NET_DIALER_HTTP_BUFFER_RECEIVE_SIZE (1U << 14) /* 16Kb to receive */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#define EFL_NET_DIALER_HTTP_BUFFER_RECEIVE_SIZE (1U << 14) /* 16Kb to receive */
|
||||
|
||||
#include "Ecore.h"
|
||||
#include "Ecore_Con.h"
|
||||
#include "ecore_con_private.h"
|
||||
|
@ -2193,4 +2191,12 @@ _efl_net_dialer_http_cookie_jar_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data
|
|||
return pd->cookie_jar;
|
||||
}
|
||||
|
||||
CURL *
|
||||
efl_net_dialer_http_curl_get(const Eo *o)
|
||||
{
|
||||
Efl_Net_Dialer_Http_Data *pd = efl_data_scope_get(o, MY_CLASS);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL);
|
||||
return pd->easy;
|
||||
}
|
||||
|
||||
#include "efl_net_dialer_http.eo.c"
|
||||
|
|
Loading…
Reference in New Issue