\hypertarget{group__Ecore__Con__Url__Group}{}\doxysection{Ecore URL Connection Functions}
\label{group__Ecore__Con__Url__Group}\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}}


Utility functions that set up, use and shut down the Ecore URL Connection library.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Ecore__Con__Event__Url__Data}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Data}}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga5affbb43768cd629c629d80afa2b5706}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+DATA}} event. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Ecore__Con__Event__Url__Complete}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Complete}}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the \mbox{\hyperlink{group__Ecore__Con__Events__Group_gaa814f51fd5f97a92cdc76b624651d85a}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE}} event. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__Ecore__Con__Event__Url__Progress}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Progress}}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga80f2cc4f6c436a5291150f8791d1a72f}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+PROGRESS}} event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__Ecore__Con__Url__Group_gae2ea5d131df1c0431201e790d9bbb02b}{ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+CHECK\+\_\+\+RETURN}}(u, ...)
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gae49ebb07c15d6556b70edd28093b5b90}\label{group__Ecore__Con__Url__Group_gae49ebb07c15d6556b70edd28093b5b90}} 
typedef enum \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}} {\bfseries Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga348035f794b584d602402c4c113875eb}\label{group__Ecore__Con__Url__Group_ga348035f794b584d602402c4c113875eb}} 
typedef enum \mbox{\hyperlink{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}} {\bfseries Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}\label{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}} 
typedef struct \+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url {\bfseries Ecore\+\_\+\+Con\+\_\+\+Url}
\begin{DoxyCompactList}\small\item\em Used to provide legacy API/\+ABI compatibility with non-\/\+Eo applications. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga4a852b5c3b987f7121335a65edb57e30}\label{group__Ecore__Con__Url__Group_ga4a852b5c3b987f7121335a65edb57e30}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Con__Event__Url__Data}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Data}} {\bfseries Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Data}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the corresponding event. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gab9574a94d94e0666014017da95859101}\label{group__Ecore__Con__Url__Group_gab9574a94d94e0666014017da95859101}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Con__Event__Url__Complete}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Complete}} {\bfseries Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Complete}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the corresponding event. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga747059128eafe43198aca46022d24d07}\label{group__Ecore__Con__Url__Group_ga747059128eafe43198aca46022d24d07}} 
typedef struct \mbox{\hyperlink{struct__Ecore__Con__Event__Url__Progress}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Progress}} {\bfseries Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Progress}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the corresponding event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}} \{ \newline
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba9e4d490da20f62548bd97d409c475436}{ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+TIME\+\_\+\+NONE}} = 0
, \newline
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6bad3aba66e3ab06bb1c66942641a0b2d29}{ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+TIME\+\_\+\+IFMODSINCE}}
, \newline
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba2d5e568c8b773072e14e432336a09032}{ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+TIME\+\_\+\+IFUNMODSINCE}}
 \}
\begin{DoxyCompactList}\small\item\em The type of condition to use when making an HTTP request dependent on time, so that headers such as \char`\"{}\+If-\/\+Modified-\/\+Since\char`\"{} are used. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}} \{ \newline
\mbox{\hyperlink{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa55f2d8b8fffda55eff07b42fec3a1943}{ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+HTTP\+\_\+\+VERSION\+\_\+1\+\_\+0}}
, \newline
\mbox{\hyperlink{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa178312d197e62f3bfcca05c0e908716b}{ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+HTTP\+\_\+\+VERSION\+\_\+1\+\_\+1}}
 \}
\begin{DoxyCompactList}\small\item\em The http version to use. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8dd1ac704c2ce5dbba4a9faf7869d9ea}{ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version version)
\begin{DoxyCompactList}\small\item\em Changes the HTTP version used for the request. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API int \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga96388997453269f58bde7873811af6d5}{ecore\+\_\+con\+\_\+url\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initializes the Ecore\+\_\+\+Con\+\_\+\+Url library. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API int \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaabcdae26e4a474dc5b9c43f60e4d00d4}{ecore\+\_\+con\+\_\+url\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore\+\_\+\+Con\+\_\+\+Url library. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaa13943c00d041db2391e1d5a04600db2}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set}} (\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} enable)
\begin{DoxyCompactList}\small\item\em Enables or disable HTTP 1.\+1 pipelining. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaebd8dbd1359502c6a6b92267797a3339}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Is HTTP 1.\+1 pipelining enable ? \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$ \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}{ecore\+\_\+con\+\_\+url\+\_\+new}} (const char $\ast$url)
\begin{DoxyCompactList}\small\item\em Creates and initializes a new Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$url)
\begin{DoxyCompactList}\small\item\em Change the URL assigned to this handle. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API const char $\ast$ \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac6a789cb3face5a89e9b90407a9795f7}{ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+get}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Retrieve the URL assigned to this handle. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$ \mbox{\hyperlink{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new}} (const char $\ast$url, const char $\ast$custom\+\_\+request)
\begin{DoxyCompactList}\small\item\em Creates a custom connection object. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga856c091a11980598adb0666cec9b5add}{ecore\+\_\+con\+\_\+url\+\_\+free}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Destroys an Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gab5587450c5ac21e9128fb46e8dc80c33}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Associates data with a connection object. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void $\ast$ \mbox{\hyperlink{group__Ecore__Con__Url__Group_gacba8bd1b8da593f7365d9e42bad9b279}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Retrieves data associated with a Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gae8aba3432937e59e434ea31daf0963b8}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$key, const char $\ast$value)
\begin{DoxyCompactList}\small\item\em Adds an additional header to the request connection object. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga144780986e85dc5629b06ede0866bea9}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Cleans additional headers. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga688c91a2eb687133c245c5b0fb4f2219}{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Retrieves headers from last request sent. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga006356bcaff26d482e407c7d9d0d691e}{ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, int fd)
\begin{DoxyCompactList}\small\item\em Sets up a file for receiving response data. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API int \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga564d9e14d2bb0edbe1d8d9d7eec60a1c}{ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Retrieves the number of bytes received. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaa9ada099dbaa8d6ecc21f3d2c0936ced}{ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$username, const char $\ast$password, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} safe)
\begin{DoxyCompactList}\small\item\em Sets url\+\_\+con to use http auth, with given username and password, \char`\"{}safely\char`\"{} or not. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\+\_\+con\+\_\+url\+\_\+get}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Sends a get request. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaf9311b9adfbf7bbe9d0763cc1e9ed481}{ecore\+\_\+con\+\_\+url\+\_\+head}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Sends a HEAD request. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\+\_\+con\+\_\+url\+\_\+post}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const void $\ast$data, long length, const char $\ast$content\+\_\+type)
\begin{DoxyCompactList}\small\item\em Sends a post request. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac31f028ff6ce1504971d6267c270b4ea}{ecore\+\_\+con\+\_\+url\+\_\+time}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time time\+\_\+condition, double timestamp)
\begin{DoxyCompactList}\small\item\em Sets whether HTTP requests should be conditional, dependent on modification time. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga97f9d4c4f9afcd699ab01ad9159c8141}{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$filename, const char $\ast$user, const char $\ast$pass, const char $\ast$upload\+\_\+dir)
\begin{DoxyCompactList}\small\item\em Uploads a file to an ftp site. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gadfdedb767b05247a0eb3660de56151c7}{ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} verbose)
\begin{DoxyCompactList}\small\item\em Toggles libcurl\textquotesingle{}s verbose output. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga60dd7211f169f36b1c98a64121c5bb38}{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} use\+\_\+epsv)
\begin{DoxyCompactList}\small\item\em Enables or disables EPSV extension. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8bc02b9db038f83cd0a972aa9750a0cb}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Enables the cookie engine for subsequent HTTP requests. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac59cc35ad7f389c493fd402d7df59cbd}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ignore)
\begin{DoxyCompactList}\small\item\em Controls whether session cookies from previous sessions shall be loaded. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga79b613e890270cd3d29b3339674e7e90}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Clears currently loaded cookies. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gada110b082940f4ec8b16a2721a0bd9b5}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Clears currently loaded session cookies. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$const file\+\_\+name)
\begin{DoxyCompactList}\small\item\em Adds a file to the list of files from which to load cookies. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$const cookiejar\+\_\+file)
\begin{DoxyCompactList}\small\item\em Sets the name of the file to which all current cookies will be written when either cookies are flushed or Ecore\+\_\+\+Con is shut down. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaafd91595d433d25a7f9760a7cb734bbc}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Writes all current cookies to the cookie jar immediately. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga06e0331497fd4a6ecffc5fe296e7e31a}{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} verify)
\begin{DoxyCompactList}\small\item\em Toggle libcurl\textquotesingle{}s verify peer\textquotesingle{}s certificate option. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API int \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga46b6f13b3d5c42d69a7f2edf8ee1dcf4}{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$ca\+\_\+path)
\begin{DoxyCompactList}\small\item\em Set a custom CA to trust for SSL/\+TLS connections. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_gad74fe3aac8b14a689ca77d26edcf541e}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$proxy)
\begin{DoxyCompactList}\small\item\em Sets HTTP proxy to use. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8a02a8d63eba11a96816f93053907176}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$username)
\begin{DoxyCompactList}\small\item\em Sets zero terminated username to use for proxy. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga6c273f4a1eec74e16f0967b3b44ca429}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$password)
\begin{DoxyCompactList}\small\item\em Sets zero terminated password to use for proxy. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga778fc5386bfefdaa5aede5d459a141e6}{ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, double timeout)
\begin{DoxyCompactList}\small\item\em Sets timeout in seconds. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API int \mbox{\hyperlink{group__Ecore__Con__Url__Group_gab42d35f0a18ae6d02e3e023b96e455ab}{ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Gets the returned HTTP STATUS code. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gae518b344b93eb7d2e9c29ba6e6127477}{ecore\+\_\+con\+\_\+url\+\_\+limit\+\_\+upload\+\_\+speed}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+obj, off\+\_\+t max\+\_\+speed)
\begin{DoxyCompactList}\small\item\em Sets a maximum upload speed. \end{DoxyCompactList}\item 
ECORE\+\_\+\+CON\+\_\+\+API void \mbox{\hyperlink{group__Ecore__Con__Url__Group_gafad99fd58e8b31602d11a3d6c42b9846}{ecore\+\_\+con\+\_\+url\+\_\+limit\+\_\+download\+\_\+speed}} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+obj, off\+\_\+t max\+\_\+speed)
\begin{DoxyCompactList}\small\item\em Sets a maximum download speed. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga0add759c5e5337de14107edacc4d7d44}\label{group__Ecore__Con__Url__Group_ga0add759c5e5337de14107edacc4d7d44}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+close} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaaf7c37e49908f7d87d818b79b4b82d46}\label{group__Ecore__Con__Url__Group_gaaf7c37e49908f7d87d818b79b4b82d46}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+free} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gae131e17dfd6d7a06b4f24f8f42702e9b}\label{group__Ecore__Con__Url__Group_gae131e17dfd6d7a06b4f24f8f42702e9b}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+request\+\_\+headers\+\_\+free} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gad3d9abd59feb232425c8c69469e46eca}\label{group__Ecore__Con__Url__Group_gad3d9abd59feb232425c8c69469e46eca}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+free\+\_\+internal} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga3a0a12c8daee7d3590efe99201d08dbf}\label{group__Ecore__Con__Url__Group_ga3a0a12c8daee7d3590efe99201d08dbf}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+event\+\_\+url\+\_\+progress\+\_\+free} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga86da0343a9eb58d43e798caeb4647316}\label{group__Ecore__Con__Url__Group_ga86da0343a9eb58d43e798caeb4647316}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+event\+\_\+url\+\_\+progress\+\_\+add} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga60baa92596436f1078cbb915e2042e66}\label{group__Ecore__Con__Url__Group_ga60baa92596436f1078cbb915e2042e66}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+event\+\_\+url\+\_\+complete\+\_\+free} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga6c9a97e24af91d1a6cdeb76d1a4d8561}\label{group__Ecore__Con__Url__Group_ga6c9a97e24af91d1a6cdeb76d1a4d8561}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+event\+\_\+url\+\_\+complete\+\_\+add} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, int status)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga01897da2b1e29895ed10009d7ce08e12}\label{group__Ecore__Con__Url__Group_ga01897da2b1e29895ed10009d7ce08e12}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+error} (void $\ast$data, const Efl\+\_\+\+Event $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga4fd48c9a022f6e9b2060e0fd79e09ca2}\label{group__Ecore__Con__Url__Group_ga4fd48c9a022f6e9b2060e0fd79e09ca2}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+event\+\_\+url\+\_\+data\+\_\+free} (void $\ast$data, void $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga1984141de70c67f5808dd2ff4c8a8780}\label{group__Ecore__Con__Url__Group_ga1984141de70c67f5808dd2ff4c8a8780}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+can\+\_\+read\+\_\+changed} (void $\ast$data, const Efl\+\_\+\+Event $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga6867d35c65c10dbaa07f3d4931fe29cf}\label{group__Ecore__Con__Url__Group_ga6867d35c65c10dbaa07f3d4931fe29cf}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+eos} (void $\ast$data, const Efl\+\_\+\+Event $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaa61f3cf57c20d322d9033cb1b28698fb}\label{group__Ecore__Con__Url__Group_gaa61f3cf57c20d322d9033cb1b28698fb}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+headers\+\_\+done} (void $\ast$data, const Efl\+\_\+\+Event $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gad8a0a0a0664a44cb3b1142f4268c66b5}\label{group__Ecore__Con__Url__Group_gad8a0a0a0664a44cb3b1142f4268c66b5}} 
{\bfseries EFL\+\_\+\+CALLBACKS\+\_\+\+ARRAY\+\_\+\+DEFINE} (ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+cbs, \{ EFL\+\_\+\+IO\+\_\+\+READER\+\_\+\+EVENT\+\_\+\+CAN\+\_\+\+READ\+\_\+\+CHANGED, \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+can\+\_\+read\+\_\+changed \}, \{ EFL\+\_\+\+IO\+\_\+\+READER\+\_\+\+EVENT\+\_\+\+EOS, \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+eos \}, \{ EFL\+\_\+\+NET\+\_\+\+DIALER\+\_\+\+EVENT\+\_\+\+DIALER\+\_\+\+ERROR, \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+error \}, \{ EFL\+\_\+\+NET\+\_\+\+DIALER\+\_\+\+HTTP\+\_\+\+EVENT\+\_\+\+HEADERS\+\_\+\+DONE, \+\_\+ecore\+\_\+con\+\_\+url\+\_\+dialer\+\_\+headers\+\_\+done \})
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gabe03f25475642460b62029fdceff4d67}\label{group__Ecore__Con__Url__Group_gabe03f25475642460b62029fdceff4d67}} 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+progress\+\_\+animator\+\_\+cb} (void $\ast$data)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga347c6e280ea5655c343775ac15a5390a}\label{group__Ecore__Con__Url__Group_ga347c6e280ea5655c343775ac15a5390a}} 
static char $\ast$ {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+url\+\_\+new} (const \mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga99938c9480608868d2de4afff7f17a07}\label{group__Ecore__Con__Url__Group_ga99938c9480608868d2de4afff7f17a07}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+copier\+\_\+done} (void $\ast$data, const Efl\+\_\+\+Event $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaef3dc8424e198969ce137df4a7dca34f}\label{group__Ecore__Con__Url__Group_gaef3dc8424e198969ce137df4a7dca34f}} 
static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+copier\+\_\+error} (void $\ast$data, const Efl\+\_\+\+Event $\ast$event)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga84b6e495e92219ddbdcea75f9385b52e}\label{group__Ecore__Con__Url__Group_ga84b6e495e92219ddbdcea75f9385b52e}} 
{\bfseries EFL\+\_\+\+CALLBACKS\+\_\+\+ARRAY\+\_\+\+DEFINE} (\+\_\+ecore\+\_\+con\+\_\+url\+\_\+copier\+\_\+cbs, \{ EFL\+\_\+\+IO\+\_\+\+COPIER\+\_\+\+EVENT\+\_\+\+ERROR, \+\_\+ecore\+\_\+con\+\_\+url\+\_\+copier\+\_\+error \}, \{ EFL\+\_\+\+IO\+\_\+\+COPIER\+\_\+\+EVENT\+\_\+\+DONE, \+\_\+ecore\+\_\+con\+\_\+url\+\_\+copier\+\_\+done \})
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga4b58fe2d66758fbf43b41c388daf5341}\label{group__Ecore__Con__Url__Group_ga4b58fe2d66758fbf43b41c388daf5341}} 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+request\+\_\+prepare} (\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$url\+\_\+con, const char $\ast$method)
\item 
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gac15e0e0a752b3287bf60e9b989a0fb8b}\label{group__Ecore__Con__Url__Group_gac15e0e0a752b3287bf60e9b989a0fb8b}} 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+cb} (void $\ast$data)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Utility functions that set up, use and shut down the Ecore URL Connection library. 

These functions are a shortcut to make it easy to perform http requests (POST, GET, etc).

Brief usage\+:
\begin{DoxyEnumerate}
\item Create an Ecore\+\_\+\+Con\+\_\+\+Url object with ecore\+\_\+con\+\_\+url\+\_\+new(url);
\item Register to receive the \mbox{\hyperlink{group__Ecore__Con__Events__Group_gaa814f51fd5f97a92cdc76b624651d85a}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE}} event (and optionally the \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga5affbb43768cd629c629d80afa2b5706}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+DATA}} and \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga80f2cc4f6c436a5291150f8791d1a72f}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+PROGRESS}} event to receive the response, e.\+g. for HTTP/\+FTP downloads)
\item Perform the operation with ecore\+\_\+con\+\_\+url\+\_\+get(...);
\end{DoxyEnumerate}

Note that it is good to reuse \mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} objects wherever possible, but bear in mind that each one can only perform one operation at a time. You need to wait for the \mbox{\hyperlink{group__Ecore__Con__Events__Group_gaa814f51fd5f97a92cdc76b624651d85a}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE}} event before re-\/using or destroying the object.

If it\textquotesingle{}s necessary to change the \mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} object url, use \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set()}}.

Simple Usage 1 (HTTP GET)\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\_con\_url\_url\_set}}(url\_con,\ \textcolor{stringliteral}{"{}http://www.google.com"{}});}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\_con\_url\_get}}(url\_con);}

\end{DoxyCode}


Simple usage 2 (HTTP POST)\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\_con\_url\_url\_set}}(url\_con,\ \textcolor{stringliteral}{"{}http://www.example.com/post\_handler.cgi"{}});}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\_con\_url\_post}}(url\_con,\ data,\ data\_length,\ \textcolor{stringliteral}{"{}multipart/form-\/data"{}});}

\end{DoxyCode}


Simple Usage 3 (FTP download)\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{fd\ =\ creat(filename,\ 0644)}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\_con\_url\_url\_set}}(url\_con,\ "{}ftp:\textcolor{comment}{//ftp.example.com/pub/myfile"{});}}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga006356bcaff26d482e407c7d9d0d691e}{ecore\_con\_url\_fd\_set}}(url\_con,\ fd);}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\_con\_url\_get}}(url\_con);}

\end{DoxyCode}


Simple Usage 4 (FTP upload as \href{ftp://ftp.example.com/file}{\texttt{ ftp\+://ftp.\+example.\+com/file}})\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\_con\_url\_url\_set}}(url\_con,\ \textcolor{stringliteral}{"{}ftp://ftp.example.com"{}});}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga97f9d4c4f9afcd699ab01ad9159c8141}{ecore\_con\_url\_ftp\_upload}}(url\_con,\ \textcolor{stringliteral}{"{}/tmp/file"{}},\ \textcolor{stringliteral}{"{}user"{}},\ \textcolor{stringliteral}{"{}pass"{}},\ NULL);}

\end{DoxyCode}


Simple Usage 5 (FTP upload as \href{ftp://ftp.example.com/dir/file}{\texttt{ ftp\+://ftp.\+example.\+com/dir/file}})\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\_con\_url\_url\_set}}(url\_con,\ \textcolor{stringliteral}{"{}ftp://ftp.example.com"{}});}
\DoxyCodeLine{\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga97f9d4c4f9afcd699ab01ad9159c8141}{ecore\_con\_url\_ftp\_upload}}(url\_con,\ \textcolor{stringliteral}{"{}/tmp/file"{}},\ \textcolor{stringliteral}{"{}user"{}},\ \textcolor{stringliteral}{"{}pass"{}},\textcolor{stringliteral}{"{}dir"{}});}

\end{DoxyCode}


These are complete examples for the API\+: \begin{DoxyItemize}
\item \mbox{\hyperlink{ecore_con_url_download_example_8c-example}{Downloading a file}} \item \mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{Setting many options for the connection}} \end{DoxyItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gae2ea5d131df1c0431201e790d9bbb02b}\label{group__Ecore__Con__Url__Group_gae2ea5d131df1c0431201e790d9bbb02b}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ECORE\_CON\_URL\_CHECK\_RETURN@{ECORE\_CON\_URL\_CHECK\_RETURN}}
\index{ECORE\_CON\_URL\_CHECK\_RETURN@{ECORE\_CON\_URL\_CHECK\_RETURN}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ECORE\_CON\_URL\_CHECK\_RETURN}{ECORE\_CON\_URL\_CHECK\_RETURN}}
{\footnotesize\ttfamily \#define ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+CHECK\+\_\+\+RETURN(\begin{DoxyParamCaption}\item[{}]{u,  }\item[{}]{... }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{do}\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \{\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ if\ (!\mbox{\hyperlink{group__Eina__Magic__Group_ga13317919a91b35412b6f40ca1166b373}{EINA\_MAGIC\_CHECK}}(u,\ ECORE\_MAGIC\_CON\_URL))\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \{\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ ECORE\_MAGIC\_FAIL(u,\ ECORE\_MAGIC\_CON\_URL,\ \_\_func\_\_);\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_\_VA\_ARGS\_\_;\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \}\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ EINA\_SAFETY\_ON\_TRUE\_RETURN\_VAL(u-\/>delete\_me,\ \_\_VA\_ARGS\_\_);\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \}\ \(\backslash\)}
\DoxyCodeLine{\ \ while\ (0)}

\end{DoxyCode}


\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}\label{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!\_Ecore\_Con\_Url\_Time@{\_Ecore\_Con\_Url\_Time}}
\index{\_Ecore\_Con\_Url\_Time@{\_Ecore\_Con\_Url\_Time}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{\_Ecore\_Con\_Url\_Time}{\_Ecore\_Con\_Url\_Time}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}}}



The type of condition to use when making an HTTP request dependent on time, so that headers such as \char`\"{}\+If-\/\+Modified-\/\+Since\char`\"{} are used. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_CON\_URL\_TIME\_NONE@{ECORE\_CON\_URL\_TIME\_NONE}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ECORE\_CON\_URL\_TIME\_NONE@{ECORE\_CON\_URL\_TIME\_NONE}}}\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba9e4d490da20f62548bd97d409c475436}\label{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba9e4d490da20f62548bd97d409c475436}} 
ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+TIME\+\_\+\+NONE&Do not place time restrictions on the HTTP requests. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_CON\_URL\_TIME\_IFMODSINCE@{ECORE\_CON\_URL\_TIME\_IFMODSINCE}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ECORE\_CON\_URL\_TIME\_IFMODSINCE@{ECORE\_CON\_URL\_TIME\_IFMODSINCE}}}\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6bad3aba66e3ab06bb1c66942641a0b2d29}\label{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6bad3aba66e3ab06bb1c66942641a0b2d29}} 
ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+TIME\+\_\+\+IFMODSINCE&Add the \char`\"{}\+If-\/\+Modified-\/\+Since\char`\"{} HTTP header, so that the request is performed by the server only if the target has been modified since the time value passed to it in the request. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_CON\_URL\_TIME\_IFUNMODSINCE@{ECORE\_CON\_URL\_TIME\_IFUNMODSINCE}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ECORE\_CON\_URL\_TIME\_IFUNMODSINCE@{ECORE\_CON\_URL\_TIME\_IFUNMODSINCE}}}\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba2d5e568c8b773072e14e432336a09032}\label{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba2d5e568c8b773072e14e432336a09032}} 
ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+TIME\+\_\+\+IFUNMODSINCE&Add the \char`\"{}\+If-\/\+Unmodified-\/\+Since\char`\"{} HTTP header, so that the request is performed by the server only if the target has NOT been modified since the time value passed to it in the request. \\
\hline

\end{DoxyEnumFields}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}\label{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!\_Ecore\_Con\_Url\_Http\_Version@{\_Ecore\_Con\_Url\_Http\_Version}}
\index{\_Ecore\_Con\_Url\_Http\_Version@{\_Ecore\_Con\_Url\_Http\_Version}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{\_Ecore\_Con\_Url\_Http\_Version}{\_Ecore\_Con\_Url\_Http\_Version}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}}}



The http version to use. 

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_CON\_URL\_HTTP\_VERSION\_1\_0@{ECORE\_CON\_URL\_HTTP\_VERSION\_1\_0}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ECORE\_CON\_URL\_HTTP\_VERSION\_1\_0@{ECORE\_CON\_URL\_HTTP\_VERSION\_1\_0}}}\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa55f2d8b8fffda55eff07b42fec3a1943}\label{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa55f2d8b8fffda55eff07b42fec3a1943}} 
ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+HTTP\+\_\+\+VERSION\+\_\+1\+\_\+0&HTTP version 1.\+0. \begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ECORE\_CON\_URL\_HTTP\_VERSION\_1\_1@{ECORE\_CON\_URL\_HTTP\_VERSION\_1\_1}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ECORE\_CON\_URL\_HTTP\_VERSION\_1\_1@{ECORE\_CON\_URL\_HTTP\_VERSION\_1\_1}}}\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa178312d197e62f3bfcca05c0e908716b}\label{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa178312d197e62f3bfcca05c0e908716b}} 
ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+HTTP\+\_\+\+VERSION\+\_\+1\+\_\+1&HTTP version 1.\+1 (default) \begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\\
\hline

\end{DoxyEnumFields}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga8dd1ac704c2ce5dbba4a9faf7869d9ea}\label{group__Ecore__Con__Url__Group_ga8dd1ac704c2ce5dbba4a9faf7869d9ea}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_http\_version\_set@{ecore\_con\_url\_http\_version\_set}}
\index{ecore\_con\_url\_http\_version\_set@{ecore\_con\_url\_http\_version\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_http\_version\_set()}{ecore\_con\_url\_http\_version\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}]{version }\end{DoxyParamCaption})}



Changes the HTTP version used for the request. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object through which the request will be sent. \\
\hline
{\em version} & The version to be used. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on failure to change version. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaebd8dbd1359502c6a6b92267797a3339}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get()}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa55f2d8b8fffda55eff07b42fec3a1943}{ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+HTTP\+\_\+\+VERSION\+\_\+1\+\_\+0}}, \mbox{\hyperlink{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa178312d197e62f3bfcca05c0e908716b}{ECORE\+\_\+\+CON\+\_\+\+URL\+\_\+\+HTTP\+\_\+\+VERSION\+\_\+1\+\_\+1}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga96388997453269f58bde7873811af6d5}\label{group__Ecore__Con__Url__Group_ga96388997453269f58bde7873811af6d5}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_init@{ecore\_con\_url\_init}}
\index{ecore\_con\_url\_init@{ecore\_con\_url\_init}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_init()}{ecore\_con\_url\_init()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API int ecore\+\_\+con\+\_\+url\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initializes the Ecore\+\_\+\+Con\+\_\+\+Url library. 

\begin{DoxyReturn}{Returns}
Number of times the library has been initialised without being shut down.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This function doesn\textquotesingle{}t call \mbox{\hyperlink{group__Ecore__Con__Lib__Group_ga8a20f47372627a03e86a8705a6f8a82d}{ecore\+\_\+con\+\_\+init()}}. You still need to call it explicitly before calling this one. 
\end{DoxyNote}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}, \mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Ecore__Con__Events__Group_gaa814f51fd5f97a92cdc76b624651d85a}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE}}, \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga5affbb43768cd629c629d80afa2b5706}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+DATA}}, \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga80f2cc4f6c436a5291150f8791d1a72f}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+PROGRESS}}, \mbox{\hyperlink{group__Ecore__Con__Lib__Group_ga8a20f47372627a03e86a8705a6f8a82d}{ecore\+\_\+con\+\_\+init()}}, \mbox{\hyperlink{group__Ecore__Con__Lib__Group_ga0e5e01c67f7135e16db0e8f17d087d99}{ecore\+\_\+con\+\_\+shutdown()}}, \mbox{\hyperlink{group__Ecore__Event__Group_ga3fad8d8bfe3776c69d33aff1f056ba89}{ecore\+\_\+event\+\_\+type\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Init__Group_ga77757609684a2c922dc5ec398274751b}{ecore\+\_\+init()}}, \mbox{\hyperlink{group__Ecore__Init__Group_ga768298b932f18d7e7593a447493e5cde}{ecore\+\_\+shutdown()}}, \mbox{\hyperlink{group__Emile__Cipher__Group_ga22b87d04488dcee57045ddc0888f4be8}{emile\+\_\+cipher\+\_\+init()}}, \mbox{\hyperlink{group__Emile__Group_ga612ed9079d6ab739f2dbcb93f9ccb151}{emile\+\_\+init()}}, and \mbox{\hyperlink{group__Emile__Group_ga075c27ac4c77467dc986de44fa3c2d01}{emile\+\_\+shutdown()}}.



Referenced by \mbox{\hyperlink{group__Elm__General_ga9cecc48846d90478f79176d4b279a60b}{elm\+\_\+quicklaunch\+\_\+sub\+\_\+init()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaabcdae26e4a474dc5b9c43f60e4d00d4}\label{group__Ecore__Con__Url__Group_gaabcdae26e4a474dc5b9c43f60e4d00d4}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_shutdown@{ecore\_con\_url\_shutdown}}
\index{ecore\_con\_url\_shutdown@{ecore\_con\_url\_shutdown}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_shutdown()}{ecore\_con\_url\_shutdown()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API int ecore\+\_\+con\+\_\+url\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shuts down the Ecore\+\_\+\+Con\+\_\+\+Url library. 

\begin{DoxyReturn}{Returns}
Number of calls that still uses Ecore\+\_\+\+Con\+\_\+\+Url
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This function doesn\textquotesingle{}t call \mbox{\hyperlink{group__Ecore__Con__Lib__Group_ga0e5e01c67f7135e16db0e8f17d087d99}{ecore\+\_\+con\+\_\+shutdown()}}. You still need to call it explicitly after calling this one. 
\end{DoxyNote}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}, \mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Ecore__Con__Events__Group_gaa814f51fd5f97a92cdc76b624651d85a}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE}}, \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga5affbb43768cd629c629d80afa2b5706}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+DATA}}, \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga80f2cc4f6c436a5291150f8791d1a72f}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+PROGRESS}}, \mbox{\hyperlink{group__Ecore__Con__Lib__Group_ga0e5e01c67f7135e16db0e8f17d087d99}{ecore\+\_\+con\+\_\+shutdown()}}, \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga856c091a11980598adb0666cec9b5add}{ecore\+\_\+con\+\_\+url\+\_\+free()}}, \mbox{\hyperlink{group__Ecore__Event__Group_gab7200780b0a2b7fca55f36a90119f0ce}{ecore\+\_\+event\+\_\+type\+\_\+flush}}, \mbox{\hyperlink{group__Ecore__Init__Group_ga768298b932f18d7e7593a447493e5cde}{ecore\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eina__List__Group_gae27a2c686a0a11693f9b06957c9bba83}{EINA\+\_\+\+LIST\+\_\+\+FREE}}, and \mbox{\hyperlink{group__Emile__Group_ga075c27ac4c77467dc986de44fa3c2d01}{emile\+\_\+shutdown()}}.



Referenced by \mbox{\hyperlink{group__Elm__General_ga1c5b30a97472e994d2344f39595d07db}{elm\+\_\+quicklaunch\+\_\+sub\+\_\+shutdown()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaa13943c00d041db2391e1d5a04600db2}\label{group__Ecore__Con__Url__Group_gaa13943c00d041db2391e1d5a04600db2}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_pipeline\_set@{ecore\_con\_url\_pipeline\_set}}
\index{ecore\_con\_url\_pipeline\_set@{ecore\_con\_url\_pipeline\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_pipeline\_set()}{ecore\_con\_url\_pipeline\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{enable }\end{DoxyParamCaption})}



Enables or disable HTTP 1.\+1 pipelining. 


\begin{DoxyParams}{Parameters}
{\em enable} & {\ttfamily EINA\+\_\+\+TRUE} will turn it on, {\ttfamily EINA\+\_\+\+FALSE} will disable it.\\
\hline
\end{DoxyParams}
Pipelining allows to send one request after another one, without having to wait for the reply of the first request. The respective replies are received in the order that the requests were sent.

Enabling this feature will be valid for all requests done using {\ttfamily ecore\+\_\+con\+\_\+url}.

See \href{http://en.wikipedia.org/wiki/HTTP_pipelining}{\texttt{ http\+://en.\+wikipedia.\+org/wiki/\+HTTP\+\_\+pipelining}} for more info.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaebd8dbd1359502c6a6b92267797a3339}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaebd8dbd1359502c6a6b92267797a3339}\label{group__Ecore__Con__Url__Group_gaebd8dbd1359502c6a6b92267797a3339}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_pipeline\_get@{ecore\_con\_url\_pipeline\_get}}
\index{ecore\_con\_url\_pipeline\_get@{ecore\_con\_url\_pipeline\_get}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_pipeline\_get()}{ecore\_con\_url\_pipeline\_get()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Is HTTP 1.\+1 pipelining enable ? 

\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if it is enable.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaa13943c00d041db2391e1d5a04600db2}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}\label{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_new@{ecore\_con\_url\_new}}
\index{ecore\_con\_url\_new@{ecore\_con\_url\_new}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_new()}{ecore\_con\_url\_new()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$ ecore\+\_\+con\+\_\+url\+\_\+new (\begin{DoxyParamCaption}\item[{const char $\ast$}]{url }\end{DoxyParamCaption})}



Creates and initializes a new Ecore\+\_\+\+Con\+\_\+\+Url connection object. 


\begin{DoxyParams}{Parameters}
{\em url} & URL that will receive requests. Can be changed using ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily NULL} on error, a new Ecore\+\_\+\+Con\+\_\+\+Url on success.
\end{DoxyReturn}
Create and initialize a new Ecore\+\_\+\+Con\+\_\+\+Url connection object that can be used for sending requests.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Magic__Group_ga470f5ce28eaaf59ce80523be8471c5e0}{EINA\+\_\+\+MAGIC\+\_\+\+SET}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}\label{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_url\_set@{ecore\_con\_url\_url\_set}}
\index{ecore\_con\_url\_url\_set@{ecore\_con\_url\_url\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_url\_set()}{ecore\_con\_url\_url\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$}]{url }\end{DoxyParamCaption})}



Change the URL assigned to this handle. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to change URL. \\
\hline
{\em url} & the new URL. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on errors. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gac6a789cb3face5a89e9b90407a9795f7}\label{group__Ecore__Con__Url__Group_gac6a789cb3face5a89e9b90407a9795f7}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_url\_get@{ecore\_con\_url\_url\_get}}
\index{ecore\_con\_url\_url\_get@{ecore\_con\_url\_url\_get}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_url\_get()}{ecore\_con\_url\_url\_get()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API const char $\ast$ ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Retrieve the URL assigned to this handle. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & the Connection object to retrieve URL. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily NULL} on error, read-\/only URL string on success. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}\label{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_custom\_new@{ecore\_con\_url\_custom\_new}}
\index{ecore\_con\_url\_custom\_new@{ecore\_con\_url\_custom\_new}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_custom\_new()}{ecore\_con\_url\_custom\_new()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$ ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new (\begin{DoxyParamCaption}\item[{const char $\ast$}]{url,  }\item[{const char $\ast$}]{custom\+\_\+request }\end{DoxyParamCaption})}



Creates a custom connection object. 


\begin{DoxyParams}{Parameters}
{\em url} & URL that will receive requests \\
\hline
{\em custom\+\_\+request} & Custom request (e.\+g. GET, POST, HEAD, PUT, etc)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily NULL} on error, a new Ecore\+\_\+\+Con\+\_\+\+Url on success.
\end{DoxyReturn}
Create and initialize a new Ecore\+\_\+\+Con\+\_\+\+Url for a custom request (e.\+g. HEAD, SUBSCRIBE and other obscure HTTP requests). This object should be used like one created with \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}{ecore\+\_\+con\+\_\+url\+\_\+new()}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}{ecore\+\_\+con\+\_\+url\+\_\+new()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga9f01314ed10a4ba613e7a5181bc45931}{ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}{ecore\+\_\+con\+\_\+url\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga856c091a11980598adb0666cec9b5add}\label{group__Ecore__Con__Url__Group_ga856c091a11980598adb0666cec9b5add}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_free@{ecore\_con\_url\_free}}
\index{ecore\_con\_url\_free@{ecore\_con\_url\_free}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_free()}{ecore\_con\_url\_free()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Destroys an Ecore\+\_\+\+Con\+\_\+\+Url connection object. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to free.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}{ecore\+\_\+con\+\_\+url\+\_\+new()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}, \mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__List__Group_ga6e81c26272c54177d087b29c965af4d8}{eina\+\_\+list\+\_\+remove()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaabcdae26e4a474dc5b9c43f60e4d00d4}{ecore\+\_\+con\+\_\+url\+\_\+shutdown()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gab5587450c5ac21e9128fb46e8dc80c33}\label{group__Ecore__Con__Url__Group_gab5587450c5ac21e9128fb46e8dc80c33}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_data\_set@{ecore\_con\_url\_data\_set}}
\index{ecore\_con\_url\_data\_set@{ecore\_con\_url\_data\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_data\_set()}{ecore\_con\_url\_data\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



Associates data with a connection object. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to associate data. \\
\hline
{\em data} & Data to be set.\\
\hline
\end{DoxyParams}
Associate data with a connection object, which can be retrieved later with \mbox{\hyperlink{group__Ecore__Con__Url__Group_gacba8bd1b8da593f7365d9e42bad9b279}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get()}}).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gacba8bd1b8da593f7365d9e42bad9b279}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gacba8bd1b8da593f7365d9e42bad9b279}\label{group__Ecore__Con__Url__Group_gacba8bd1b8da593f7365d9e42bad9b279}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_data\_get@{ecore\_con\_url\_data\_get}}
\index{ecore\_con\_url\_data\_get@{ecore\_con\_url\_data\_get}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_data\_get()}{ecore\_con\_url\_data\_get()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void $\ast$ ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Retrieves data associated with a Ecore\+\_\+\+Con\+\_\+\+Url connection object. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to retrieve data from.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Data associated with the given object.
\end{DoxyReturn}
Retrieve data associated with a Ecore\+\_\+\+Con\+\_\+\+Url connection object (previously set with \mbox{\hyperlink{group__Ecore__Con__Url__Group_gab5587450c5ac21e9128fb46e8dc80c33}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set()}}).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gab5587450c5ac21e9128fb46e8dc80c33}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gae8aba3432937e59e434ea31daf0963b8}\label{group__Ecore__Con__Url__Group_gae8aba3432937e59e434ea31daf0963b8}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_additional\_header\_add@{ecore\_con\_url\_additional\_header\_add}}
\index{ecore\_con\_url\_additional\_header\_add@{ecore\_con\_url\_additional\_header\_add}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_additional\_header\_add()}{ecore\_con\_url\_additional\_header\_add()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$}]{key,  }\item[{const char $\ast$}]{value }\end{DoxyParamCaption})}



Adds an additional header to the request connection object. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object \\
\hline
{\em key} & Header key \\
\hline
{\em value} & Header value\\
\hline
\end{DoxyParams}
Add an additional header (User-\/\+Agent, Content-\/\+Type, etc.) to the request connection object. This addition will be valid for only one \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\+\_\+con\+\_\+url\+\_\+get()}} or \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\+\_\+con\+\_\+url\+\_\+post()}} call.

Some functions like \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac31f028ff6ce1504971d6267c270b4ea}{ecore\+\_\+con\+\_\+url\+\_\+time()}} also add headers to the request.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\+\_\+con\+\_\+url\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\+\_\+con\+\_\+url\+\_\+post()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga144780986e85dc5629b06ede0866bea9}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga144780986e85dc5629b06ede0866bea9}\label{group__Ecore__Con__Url__Group_ga144780986e85dc5629b06ede0866bea9}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_additional\_headers\_clear@{ecore\_con\_url\_additional\_headers\_clear}}
\index{ecore\_con\_url\_additional\_headers\_clear@{ecore\_con\_url\_additional\_headers\_clear}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_additional\_headers\_clear()}{ecore\_con\_url\_additional\_headers\_clear()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Cleans additional headers. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to clean additional headers.\\
\hline
\end{DoxyParams}
Clean additional headers associated with a connection object (previously added with \mbox{\hyperlink{group__Ecore__Con__Url__Group_gae8aba3432937e59e434ea31daf0963b8}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()}}).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gae8aba3432937e59e434ea31daf0963b8}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\+\_\+con\+\_\+url\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\+\_\+con\+\_\+url\+\_\+post()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga688c91a2eb687133c245c5b0fb4f2219}\label{group__Ecore__Con__Url__Group_ga688c91a2eb687133c245c5b0fb4f2219}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_response\_headers\_get@{ecore\_con\_url\_response\_headers\_get}}
\index{ecore\_con\_url\_response\_headers\_get@{ecore\_con\_url\_response\_headers\_get}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_response\_headers\_get()}{ecore\_con\_url\_response\_headers\_get()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Retrieves headers from last request sent. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to retrieve response headers from.\\
\hline
\end{DoxyParams}
Retrieve a list containing the response headers. This function should be used after an ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE event (headers should normally be ready at that time).

\begin{DoxyReturn}{Returns}
List of response headers. This list must not be modified by the user. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga006356bcaff26d482e407c7d9d0d691e}\label{group__Ecore__Con__Url__Group_ga006356bcaff26d482e407c7d9d0d691e}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_fd\_set@{ecore\_con\_url\_fd\_set}}
\index{ecore\_con\_url\_fd\_set@{ecore\_con\_url\_fd\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_fd\_set()}{ecore\_con\_url\_fd\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{int}]{fd }\end{DoxyParamCaption})}



Sets up a file for receiving response data. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to set file \\
\hline
{\em fd} & File descriptor associated with the file. A negative value will unset any previously set fd.\\
\hline
\end{DoxyParams}
Set up a file to have response data written into. Note that ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+DATA events will not be emitted if a file has been set to receive the response data.

This call can be used to easily setup a file where the downloaded data will be saved. \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga564d9e14d2bb0edbe1d8d9d7eec60a1c}\label{group__Ecore__Con__Url__Group_ga564d9e14d2bb0edbe1d8d9d7eec60a1c}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_received\_bytes\_get@{ecore\_con\_url\_received\_bytes\_get}}
\index{ecore\_con\_url\_received\_bytes\_get@{ecore\_con\_url\_received\_bytes\_get}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_received\_bytes\_get()}{ecore\_con\_url\_received\_bytes\_get()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API int ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Retrieves the number of bytes received. 

Retrieve the number of bytes received on the last request of the given connection object.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object which the request was sent on.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Number of bytes received on request.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\+\_\+con\+\_\+url\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\+\_\+con\+\_\+url\+\_\+post()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaa9ada099dbaa8d6ecc21f3d2c0936ced}\label{group__Ecore__Con__Url__Group_gaa9ada099dbaa8d6ecc21f3d2c0936ced}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_httpauth\_set@{ecore\_con\_url\_httpauth\_set}}
\index{ecore\_con\_url\_httpauth\_set@{ecore\_con\_url\_httpauth\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_httpauth\_set()}{ecore\_con\_url\_httpauth\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$}]{username,  }\item[{const char $\ast$}]{password,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{safe }\end{DoxyParamCaption})}



Sets url\+\_\+con to use http auth, with given username and password, \char`\"{}safely\char`\"{} or not. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to perform a request on, previously created with \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}{ecore\+\_\+con\+\_\+url\+\_\+new()}} or \mbox{\hyperlink{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}}. \\
\hline
{\em username} & Username to use in authentication \\
\hline
{\em password} & Password to use in authentication \\
\hline
{\em safe} & Whether to use \char`\"{}safer\char`\"{} methods (eg, NOT http basic auth)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on error.
\end{DoxyReturn}
\begin{DoxyAttention}{Attention}
Require libcurl \texorpdfstring{$>$}{>}= 7.\+19.\+1 to work, otherwise will always return {\ttfamily 0}. 
\end{DoxyAttention}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}\label{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_get@{ecore\_con\_url\_get}}
\index{ecore\_con\_url\_get@{ecore\_con\_url\_get}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_get()}{ecore\_con\_url\_get()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Sends a get request. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to perform a request on, previously created\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on error.
\end{DoxyReturn}
The request is performed immediately, but you need to setup event handlers for \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga5affbb43768cd629c629d80afa2b5706}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+DATA}}, \mbox{\hyperlink{group__Ecore__Con__Events__Group_gaa814f51fd5f97a92cdc76b624651d85a}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE}} or \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga80f2cc4f6c436a5291150f8791d1a72f}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+PROGRESS}} to get more information about its result.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga144780986e85dc5629b06ede0866bea9}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gae8aba3432937e59e434ea31daf0963b8}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gab5587450c5ac21e9128fb46e8dc80c33}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gacba8bd1b8da593f7365d9e42bad9b279}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga688c91a2eb687133c245c5b0fb4f2219}{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac31f028ff6ce1504971d6267c270b4ea}{ecore\+\_\+con\+\_\+url\+\_\+time()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\+\_\+con\+\_\+url\+\_\+post()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}, \mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}, and \mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Error__Group_gac420af42486bcbb879c4be67eacc6c2a}{eina\+\_\+error\+\_\+msg\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaf9311b9adfbf7bbe9d0763cc1e9ed481}\label{group__Ecore__Con__Url__Group_gaf9311b9adfbf7bbe9d0763cc1e9ed481}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_head@{ecore\_con\_url\_head}}
\index{ecore\_con\_url\_head@{ecore\_con\_url\_head}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_head()}{ecore\_con\_url\_head()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+head (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Sends a HEAD request. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to perform a request on, previously created\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on error.
\end{DoxyReturn}
The request is performed immediately, but you need to setup event handlers for \mbox{\hyperlink{group__Ecore__Con__Events__Group_gaa814f51fd5f97a92cdc76b624651d85a}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE}} or \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga80f2cc4f6c436a5291150f8791d1a72f}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+PROGRESS}} to get more information about its result.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga144780986e85dc5629b06ede0866bea9}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gae8aba3432937e59e434ea31daf0963b8}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga688c91a2eb687133c245c5b0fb4f2219}{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac31f028ff6ce1504971d6267c270b4ea}{ecore\+\_\+con\+\_\+url\+\_\+time()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\+\_\+con\+\_\+url\+\_\+post()}} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Error__Group_gac420af42486bcbb879c4be67eacc6c2a}{eina\+\_\+error\+\_\+msg\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}\label{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_post@{ecore\_con\_url\_post}}
\index{ecore\_con\_url\_post@{ecore\_con\_url\_post}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_post()}{ecore\_con\_url\_post()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+post (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const void $\ast$}]{data,  }\item[{long}]{length,  }\item[{const char $\ast$}]{content\+\_\+type }\end{DoxyParamCaption})}



Sends a post request. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to perform a request on, previously created with \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga71cce8e67deb5ea13d5f62d67d51ad9b}{ecore\+\_\+con\+\_\+url\+\_\+new()}} or \mbox{\hyperlink{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}}. \\
\hline
{\em data} & Payload (data sent on the request). Can be {\ttfamily NULL}. \\
\hline
{\em length} & Payload length. If {\ttfamily -\/1}, rely on automatic length calculation via {\ttfamily strlen()} on {\ttfamily data}. \\
\hline
{\em content\+\_\+type} & Content type of the payload (e.\+g. text/xml). Can be {\ttfamily NULL}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on error.
\end{DoxyReturn}
The request starts immediately, but you need to setup event handlers for \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga5affbb43768cd629c629d80afa2b5706}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+DATA}}, \mbox{\hyperlink{group__Ecore__Con__Events__Group_gaa814f51fd5f97a92cdc76b624651d85a}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+COMPLETE}} or \mbox{\hyperlink{group__Ecore__Con__Events__Group_ga80f2cc4f6c436a5291150f8791d1a72f}{ECORE\+\_\+\+CON\+\_\+\+EVENT\+\_\+\+URL\+\_\+\+PROGRESS}} to get more information about its result.

This call won\textquotesingle{}t block your main loop.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gab6361a63154fa2ac91c9a963ee388455}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga144780986e85dc5629b06ede0866bea9}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gae8aba3432937e59e434ea31daf0963b8}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gab5587450c5ac21e9128fb46e8dc80c33}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gacba8bd1b8da593f7365d9e42bad9b279}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga688c91a2eb687133c245c5b0fb4f2219}{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac31f028ff6ce1504971d6267c270b4ea}{ecore\+\_\+con\+\_\+url\+\_\+time()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\+\_\+con\+\_\+url\+\_\+get()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Error__Group_gac420af42486bcbb879c4be67eacc6c2a}{eina\+\_\+error\+\_\+msg\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga4e028a0c5bd5743068c1c3f2302dc0e8}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{struct__Eina__Rw__Slice_a53d090d9fe935f5de59e1e31ab42ece3}{\+\_\+\+Eina\+\_\+\+Rw\+\_\+\+Slice\+::mem}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gac31f028ff6ce1504971d6267c270b4ea}\label{group__Ecore__Con__Url__Group_gac31f028ff6ce1504971d6267c270b4ea}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_time@{ecore\_con\_url\_time}}
\index{ecore\_con\_url\_time@{ecore\_con\_url\_time}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_time()}{ecore\_con\_url\_time()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+time (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}]{time\+\_\+condition,  }\item[{double}]{timestamp }\end{DoxyParamCaption})}



Sets whether HTTP requests should be conditional, dependent on modification time. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url to act upon. \\
\hline
{\em time\+\_\+condition} & Condition to use for HTTP requests. \\
\hline
{\em timestamp} & Time since 1 Jan 1970 to use in the condition.\\
\hline
\end{DoxyParams}
This function may set the header \char`\"{}\+If-\/\+Modified-\/\+Since\char`\"{} or \char`\"{}\+If-\/\+Unmodified-\/\+Since\char`\"{}, depending on the value of {\ttfamily time\+\_\+condition}, with the value {\ttfamily timestamp}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaeb79adc8f07e54ad7a87a8c55de5ec72}{ecore\+\_\+con\+\_\+url\+\_\+get()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8880afc509b97fbcb4db5ce98b4f4023}{ecore\+\_\+con\+\_\+url\+\_\+post()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga97f9d4c4f9afcd699ab01ad9159c8141}\label{group__Ecore__Con__Url__Group_ga97f9d4c4f9afcd699ab01ad9159c8141}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_ftp\_upload@{ecore\_con\_url\_ftp\_upload}}
\index{ecore\_con\_url\_ftp\_upload@{ecore\_con\_url\_ftp\_upload}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_ftp\_upload()}{ecore\_con\_url\_ftp\_upload()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$}]{filename,  }\item[{const char $\ast$}]{user,  }\item[{const char $\ast$}]{pass,  }\item[{const char $\ast$}]{upload\+\_\+dir }\end{DoxyParamCaption})}



Uploads a file to an ftp site. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & The Ecore\+\_\+\+Con\+\_\+\+Url object to send with \\
\hline
{\em filename} & The path to the file to send \\
\hline
{\em user} & The username to log in with \\
\hline
{\em pass} & The password to log in with \\
\hline
{\em upload\+\_\+dir} & The directory to which the file should be uploaded \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} otherwise.
\end{DoxyReturn}
Upload {\ttfamily filename} to an ftp server set in {\ttfamily url\+\_\+con} using {\ttfamily user} and {\ttfamily pass} to directory {\ttfamily upload\+\_\+dir} 

References \mbox{\hyperlink{group__Eina__Error__Group_gac420af42486bcbb879c4be67eacc6c2a}{eina\+\_\+error\+\_\+msg\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga4e028a0c5bd5743068c1c3f2302dc0e8}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gadfdedb767b05247a0eb3660de56151c7}\label{group__Ecore__Con__Url__Group_gadfdedb767b05247a0eb3660de56151c7}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_verbose\_set@{ecore\_con\_url\_verbose\_set}}
\index{ecore\_con\_url\_verbose\_set@{ecore\_con\_url\_verbose\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_verbose\_set()}{ecore\_con\_url\_verbose\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{verbose }\end{DoxyParamCaption})}



Toggles libcurl\textquotesingle{}s verbose output. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em verbose} & Whether or not to enable libcurl\textquotesingle{}s verbose output.\\
\hline
\end{DoxyParams}
If {\ttfamily verbose} is {\ttfamily EINA\+\_\+\+TRUE}, libcurl will output a lot of verbose information about its operations, which is useful for debugging. The verbose information will be sent to stderr. \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga60dd7211f169f36b1c98a64121c5bb38}\label{group__Ecore__Con__Url__Group_ga60dd7211f169f36b1c98a64121c5bb38}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_ftp\_use\_epsv\_set@{ecore\_con\_url\_ftp\_use\_epsv\_set}}
\index{ecore\_con\_url\_ftp\_use\_epsv\_set@{ecore\_con\_url\_ftp\_use\_epsv\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_ftp\_use\_epsv\_set()}{ecore\_con\_url\_ftp\_use\_epsv\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{use\+\_\+epsv }\end{DoxyParamCaption})}



Enables or disables EPSV extension. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & The Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em use\+\_\+epsv} & Boolean to enable/disable the EPSV extension. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga8bc02b9db038f83cd0a972aa9750a0cb}\label{group__Ecore__Con__Url__Group_ga8bc02b9db038f83cd0a972aa9750a0cb}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_cookies\_init@{ecore\_con\_url\_cookies\_init}}
\index{ecore\_con\_url\_cookies\_init@{ecore\_con\_url\_cookies\_init}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_cookies\_init()}{ecore\_con\_url\_cookies\_init()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Enables the cookie engine for subsequent HTTP requests. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon.\\
\hline
\end{DoxyParams}
After this function is called, cookies set by the server in HTTP responses will be parsed and stored, as well as sent back to the server in new HTTP requests.

\begin{DoxyNote}{Note}
Even though this function is called {\ttfamily \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga8bc02b9db038f83cd0a972aa9750a0cb}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init()}}}, there is no symmetrical shutdown operation. 
\end{DoxyNote}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gac59cc35ad7f389c493fd402d7df59cbd}\label{group__Ecore__Con__Url__Group_gac59cc35ad7f389c493fd402d7df59cbd}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_cookies\_ignore\_old\_session\_set@{ecore\_con\_url\_cookies\_ignore\_old\_session\_set}}
\index{ecore\_con\_url\_cookies\_ignore\_old\_session\_set@{ecore\_con\_url\_cookies\_ignore\_old\_session\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_cookies\_ignore\_old\_session\_set()}{ecore\_con\_url\_cookies\_ignore\_old\_session\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{ignore }\end{DoxyParamCaption})}



Controls whether session cookies from previous sessions shall be loaded. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em ignore} & If {\ttfamily EINA\+\_\+\+TRUE}, ignore session cookies when loading cookies from files. If {\ttfamily EINA\+\_\+\+FALSE}, all cookies will be loaded.\\
\hline
\end{DoxyParams}
Session cookies are cookies with no expire date set, which usually means they are removed after the current session is closed.

By default, when Ecore\+\_\+\+Con\+\_\+\+Url loads cookies from a file, all cookies are loaded, including session cookies, which, most of the time, were supposed to be loaded and valid only for that session.

If {\ttfamily ignore} is set to {\ttfamily EINA\+\_\+\+TRUE}, when Ecore\+\_\+\+Con\+\_\+\+Url loads cookies from the files passed to {\ttfamily \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()}}}, session cookies will not be loaded.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga79b613e890270cd3d29b3339674e7e90}\label{group__Ecore__Con__Url__Group_ga79b613e890270cd3d29b3339674e7e90}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_cookies\_clear@{ecore\_con\_url\_cookies\_clear}}
\index{ecore\_con\_url\_cookies\_clear@{ecore\_con\_url\_cookies\_clear}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_cookies\_clear()}{ecore\_con\_url\_cookies\_clear()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Clears currently loaded cookies. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon.\\
\hline
\end{DoxyParams}
The cleared cookies are removed and will not be sent in subsequent HTTP requests, nor will they be written to the cookiejar file set via {\ttfamily \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}}}.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet. 

The cookie files set by \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()}} aren\textquotesingle{}t loaded immediately, just when the request is started. Thus, if you ask to clear the cookies, but has a file already set by that function, the cookies will then be loaded and you will have old cookies set. In order to don\textquotesingle{}t have any old cookie set, you need to don\textquotesingle{}t call \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()}} ever on the {\ttfamily url\+\_\+con} handler, and call this function to clear any cookie set by a previous request on this handler.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gada110b082940f4ec8b16a2721a0bd9b5}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac59cc35ad7f389c493fd402d7df59cbd}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gada110b082940f4ec8b16a2721a0bd9b5}\label{group__Ecore__Con__Url__Group_gada110b082940f4ec8b16a2721a0bd9b5}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_cookies\_session\_clear@{ecore\_con\_url\_cookies\_session\_clear}}
\index{ecore\_con\_url\_cookies\_session\_clear@{ecore\_con\_url\_cookies\_session\_clear}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_cookies\_session\_clear()}{ecore\_con\_url\_cookies\_session\_clear()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Clears currently loaded session cookies. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon.\\
\hline
\end{DoxyParams}
Session cookies are cookies with no expire date set, which usually means they are removed after the current session is closed.

The cleared cookies are removed and will not be sent in subsequent HTTP requests, nor will they be written to the cookiejar file set via {\ttfamily \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}}}.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet. 

The cookie files set by \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()}} aren\textquotesingle{}t loaded immediately, just when the request is started. Thus, if you ask to clear the session cookies, but has a file already set by that function, the session cookies will then be loaded and you will have old cookies set. In order to don\textquotesingle{}t have any old session cookie set, you need to don\textquotesingle{}t call \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()}} ever on the {\ttfamily url\+\_\+con} handler, and call this function to clear any session cookie set by a previous request on this handler. An easier way to don\textquotesingle{}t use old session cookies is by using the function \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac59cc35ad7f389c493fd402d7df59cbd}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set()}}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_ga79b613e890270cd3d29b3339674e7e90}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac59cc35ad7f389c493fd402d7df59cbd}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}\label{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_cookies\_file\_add@{ecore\_con\_url\_cookies\_file\_add}}
\index{ecore\_con\_url\_cookies\_file\_add@{ecore\_con\_url\_cookies\_file\_add}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_cookies\_file\_add()}{ecore\_con\_url\_cookies\_file\_add()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$const}]{file\+\_\+name }\end{DoxyParamCaption})}



Adds a file to the list of files from which to load cookies. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em file\+\_\+name} & Name of the file that will be added to the list.\\
\hline
\end{DoxyParams}
Files must contain cookies defined according to two possible formats\+:

\begin{DoxyItemize}
\item HTTP-\/style header (\char`\"{}\+Set-\/\+Cookie\+: ...\char`\"{}). \item \href{http://www.cookiecentral.com/faq/\#3.5}{\texttt{ Netscape/\+Mozilla cookie data format.}}\end{DoxyItemize}
Cookies will only be {\bfseries{read}} from this file. If you want to save cookies to a file, use \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}}. Also notice that this function supports the both types of cookie file cited above, while \mbox{\hyperlink{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}} will save only in the Netscape/\+Mozilla\textquotesingle{}s format.

Please notice that the file will not be read immediately, but rather added to a list of files that will be loaded and parsed at a later time.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac59cc35ad7f389c493fd402d7df59cbd}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set()}} 

\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}\label{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_cookies\_jar\_file\_set@{ecore\_con\_url\_cookies\_jar\_file\_set}}
\index{ecore\_con\_url\_cookies\_jar\_file\_set@{ecore\_con\_url\_cookies\_jar\_file\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_cookies\_jar\_file\_set()}{ecore\_con\_url\_cookies\_jar\_file\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$const}]{cookiejar\+\_\+file }\end{DoxyParamCaption})}



Sets the name of the file to which all current cookies will be written when either cookies are flushed or Ecore\+\_\+\+Con is shut down. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em cookiejar\+\_\+file} & File to which the cookies will be written.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} is the file name has been set successfully, {\ttfamily EINA\+\_\+\+FALSE} otherwise.
\end{DoxyReturn}
Cookies are written following Netscape/\+Mozilla\textquotesingle{}s data format, also known as cookie-\/jar.

Cookies will only be {\bfseries{saved}} to this file. If you need to read cookies from a file, use \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga880664a2307acbbbddb1896b49d32a74}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()}} instead.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gaafd91595d433d25a7f9760a7cb734bbc}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gaafd91595d433d25a7f9760a7cb734bbc}\label{group__Ecore__Con__Url__Group_gaafd91595d433d25a7f9760a7cb734bbc}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_cookies\_jar\_write@{ecore\_con\_url\_cookies\_jar\_write}}
\index{ecore\_con\_url\_cookies\_jar\_write@{ecore\_con\_url\_cookies\_jar\_write}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_cookies\_jar\_write()}{ecore\_con\_url\_cookies\_jar\_write()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Writes all current cookies to the cookie jar immediately. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon.\\
\hline
\end{DoxyParams}
A cookie-\/jar file must have been previously set by {\ttfamily ecore\+\_\+con\+\_\+url\+\_\+jar\+\_\+file\+\_\+set}, otherwise nothing will be done.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga06e0331497fd4a6ecffc5fe296e7e31a}\label{group__Ecore__Con__Url__Group_ga06e0331497fd4a6ecffc5fe296e7e31a}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_ssl\_verify\_peer\_set@{ecore\_con\_url\_ssl\_verify\_peer\_set}}
\index{ecore\_con\_url\_ssl\_verify\_peer\_set@{ecore\_con\_url\_ssl\_verify\_peer\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_ssl\_verify\_peer\_set()}{ecore\_con\_url\_ssl\_verify\_peer\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{verify }\end{DoxyParamCaption})}



Toggle libcurl\textquotesingle{}s verify peer\textquotesingle{}s certificate option. 

If {\ttfamily verify} is {\ttfamily EINA\+\_\+\+TRUE}, libcurl will verify the authenticity of the peer\textquotesingle{}s certificate, otherwise it will not. Default behavior of libcurl is to check peer\textquotesingle{}s certificate.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em verify} & Whether or not libcurl will check peer\textquotesingle{}s certificate. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0 
\end{DoxySince}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga46b6f13b3d5c42d69a7f2edf8ee1dcf4}\label{group__Ecore__Con__Url__Group_ga46b6f13b3d5c42d69a7f2edf8ee1dcf4}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_ssl\_ca\_set@{ecore\_con\_url\_ssl\_ca\_set}}
\index{ecore\_con\_url\_ssl\_ca\_set@{ecore\_con\_url\_ssl\_ca\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_ssl\_ca\_set()}{ecore\_con\_url\_ssl\_ca\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API int ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$}]{ca\+\_\+path }\end{DoxyParamCaption})}



Set a custom CA to trust for SSL/\+TLS connections. 

Specify the path of a file (in PEM format) containing one or more CA certificate(s) to use for the validation of the server certificate.

This function can also disable CA validation if {\ttfamily ca\+\_\+path} is {\ttfamily NULL}. However, the server certificate still needs to be valid for the connection to succeed (i.\+e., the certificate must concern the server the connection is made to).


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the custom CA. \\
\hline
{\em ca\+\_\+path} & Path to a CA certificate(s) file or {\ttfamily NULL} to disable CA validation.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily 0} on success. When c\+URL is used, non-\/zero return values are equal to c\+URL error codes. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gad74fe3aac8b14a689ca77d26edcf541e}\label{group__Ecore__Con__Url__Group_gad74fe3aac8b14a689ca77d26edcf541e}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_proxy\_set@{ecore\_con\_url\_proxy\_set}}
\index{ecore\_con\_url\_proxy\_set@{ecore\_con\_url\_proxy\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_proxy\_set()}{ecore\_con\_url\_proxy\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$}]{proxy }\end{DoxyParamCaption})}



Sets HTTP proxy to use. 

The parameter should be a char $\ast$ to a zero terminated string holding the host name or dotted IP address. To specify port number in this string, append \+:\mbox{[}port\mbox{]} to the end of the host name. The proxy string may be prefixed with \mbox{[}protocol\mbox{]}\+:// since any such prefix will be ignored. The proxy\textquotesingle{}s port number may optionally be specified with the separate option. If not specified, libcurl will default to using port 1080 for proxies.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the proxy. \\
\hline
{\em proxy} & Proxy string or {\ttfamily NULL} to disable\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on error. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga8a02a8d63eba11a96816f93053907176}\label{group__Ecore__Con__Url__Group_ga8a02a8d63eba11a96816f93053907176}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_proxy\_username\_set@{ecore\_con\_url\_proxy\_username\_set}}
\index{ecore\_con\_url\_proxy\_username\_set@{ecore\_con\_url\_proxy\_username\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_proxy\_username\_set()}{ecore\_con\_url\_proxy\_username\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$}]{username }\end{DoxyParamCaption})}



Sets zero terminated username to use for proxy. 

If socks protocol is used for proxy, protocol should be socks5 and above.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the proxy. \\
\hline
{\em username} & Username string.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on error.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad74fe3aac8b14a689ca77d26edcf541e}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga6c273f4a1eec74e16f0967b3b44ca429}\label{group__Ecore__Con__Url__Group_ga6c273f4a1eec74e16f0967b3b44ca429}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_proxy\_password\_set@{ecore\_con\_url\_proxy\_password\_set}}
\index{ecore\_con\_url\_proxy\_password\_set@{ecore\_con\_url\_proxy\_password\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_proxy\_password\_set()}{ecore\_con\_url\_proxy\_password\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{const char $\ast$}]{password }\end{DoxyParamCaption})}



Sets zero terminated password to use for proxy. 

If socks protocol is used for proxy, protocol should be socks5 and above.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the proxy. \\
\hline
{\em password} & Password string.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} on success, {\ttfamily EINA\+\_\+\+FALSE} on error.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad74fe3aac8b14a689ca77d26edcf541e}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga9e32a137ce8c4cd5f6ec3dbde3dbedd8}{eina\+\_\+stringshare\+\_\+replace()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_ga778fc5386bfefdaa5aede5d459a141e6}\label{group__Ecore__Con__Url__Group_ga778fc5386bfefdaa5aede5d459a141e6}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_timeout\_set@{ecore\_con\_url\_timeout\_set}}
\index{ecore\_con\_url\_timeout\_set@{ecore\_con\_url\_timeout\_set}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_timeout\_set()}{ecore\_con\_url\_timeout\_set()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con,  }\item[{double}]{timeout }\end{DoxyParamCaption})}



Sets timeout in seconds. 

The maximum time in seconds that you allow the ecore con url transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the timeout. \\
\hline
{\em timeout} & time in seconds.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Ecore__Con__Url__Group_gac3e4a6f65024d59127f43b962b49ca7f}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References \mbox{\hyperlink{group__Ecore__Timer__Group_ga926423e464d7ef71105dd822d90e1187}{ecore\+\_\+timer\+\_\+add()}}, and \mbox{\hyperlink{group__Ecore__Timer__Group_ga7c118b6a6d232b63a6500e599d2a1b47}{ecore\+\_\+timer\+\_\+del()}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gab42d35f0a18ae6d02e3e023b96e455ab}\label{group__Ecore__Con__Url__Group_gab42d35f0a18ae6d02e3e023b96e455ab}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_status\_code\_get@{ecore\_con\_url\_status\_code\_get}}
\index{ecore\_con\_url\_status\_code\_get@{ecore\_con\_url\_status\_code\_get}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_status\_code\_get()}{ecore\_con\_url\_status\_code\_get()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API int ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+con }\end{DoxyParamCaption})}



Gets the returned HTTP STATUS code. 

This is used to, at any time, try to return the status code for a transmission. 
\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A valid HTTP STATUS code, or 0 on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gae518b344b93eb7d2e9c29ba6e6127477}\label{group__Ecore__Con__Url__Group_gae518b344b93eb7d2e9c29ba6e6127477}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_limit\_upload\_speed@{ecore\_con\_url\_limit\_upload\_speed}}
\index{ecore\_con\_url\_limit\_upload\_speed@{ecore\_con\_url\_limit\_upload\_speed}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_limit\_upload\_speed()}{ecore\_con\_url\_limit\_upload\_speed()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+limit\+\_\+upload\+\_\+speed (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+obj,  }\item[{off\+\_\+t}]{max\+\_\+speed }\end{DoxyParamCaption})}



Sets a maximum upload speed. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+obj} & Connection object \\
\hline
{\em max\+\_\+speed} & Maximum upload speed, in bytes per second \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Ecore__Con__Url__Group_gafad99fd58e8b31602d11a3d6c42b9846}\label{group__Ecore__Con__Url__Group_gafad99fd58e8b31602d11a3d6c42b9846}} 
\index{Ecore URL Connection Functions@{Ecore URL Connection Functions}!ecore\_con\_url\_limit\_download\_speed@{ecore\_con\_url\_limit\_download\_speed}}
\index{ecore\_con\_url\_limit\_download\_speed@{ecore\_con\_url\_limit\_download\_speed}!Ecore URL Connection Functions@{Ecore URL Connection Functions}}
\doxysubsubsection{\texorpdfstring{ecore\_con\_url\_limit\_download\_speed()}{ecore\_con\_url\_limit\_download\_speed()}}
{\footnotesize\ttfamily ECORE\+\_\+\+CON\+\_\+\+API void ecore\+\_\+con\+\_\+url\+\_\+limit\+\_\+download\+\_\+speed (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__Con__Url__Group_gad928193ae403bd05c1ce5ba48a1d52ea}{Ecore\+\_\+\+Con\+\_\+\+Url}} $\ast$}]{url\+\_\+obj,  }\item[{off\+\_\+t}]{max\+\_\+speed }\end{DoxyParamCaption})}



Sets a maximum download speed. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+obj} & Connection object \\
\hline
{\em max\+\_\+speed} & Maximum download speed, in bytes per second \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

