\hypertarget{carddav_8h}{}\section{carddav.\+h File Reference}
\label{carddav_8h}\index{carddav.h@{carddav.h}}


interface to the carddav library.  


{\ttfamily \#include $<$time.\+h$>$}\newline
Include dependency graph for carddav.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=142pt]{carddav_8h__incl}
\end{center}
\end{figure}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structdebug__curl}{debug\+\_\+curl}}
\item 
struct \mbox{\hyperlink{struct__carddav__error}{\+\_\+carddav\+\_\+error}}
\begin{DoxyCompactList}\small\item\em A struct for storing error codes and messages. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}}
\item 
struct \mbox{\hyperlink{struct__response}{\+\_\+response}}
\begin{DoxyCompactList}\small\item\em A struct used for returning messages from the library to users. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{carddav_8h_aeaf836140ef36750ca59f997a2240664}\label{carddav_8h_aeaf836140ef36750ca59f997a2240664}} 
\#define {\bfseries \+\_\+\+\_\+\+C\+A\+R\+D\+D\+A\+V\+\_\+\+U\+S\+E\+R\+A\+G\+E\+NT}~\char`\"{}libcurl-\/agent/0.\+1\char`\"{}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}\label{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}} 
typedef struct \mbox{\hyperlink{struct__carddav__error}{\+\_\+carddav\+\_\+error}} \mbox{\hyperlink{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}{carddav\+\_\+error}}
\begin{DoxyCompactList}\small\item\em Pointer to a carddav\+\_\+error structure. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{carddav_8h_a46103fb59dc471d3aac695436bfadd18}\label{carddav_8h_a46103fb59dc471d3aac695436bfadd18}} 
typedef struct \mbox{\hyperlink{struct__response}{\+\_\+response}} \mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}
\begin{DoxyCompactList}\small\item\em Pointer to a \mbox{\hyperlink{struct__response}{\+\_\+response}} structure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{carddav_8h_a1a9d023fef29eab6690c06e22742f30d}{C\+A\+R\+D\+D\+A\+V\+\_\+\+A\+C\+T\+I\+ON}} \{ \newline
{\bfseries U\+N\+K\+N\+O\+WN}, 
{\bfseries A\+DD}, 
{\bfseries D\+E\+L\+E\+TE}, 
{\bfseries F\+R\+E\+E\+B\+U\+SY}, 
\newline
{\bfseries M\+O\+D\+I\+FY}, 
{\bfseries G\+ET}, 
{\bfseries G\+E\+T\+A\+LL}, 
{\bfseries G\+E\+T\+C\+A\+L\+N\+A\+ME}, 
\newline
{\bfseries I\+S\+C\+A\+R\+D\+D\+AV}, 
{\bfseries O\+P\+T\+I\+O\+NS}
 \}
\begin{DoxyCompactList}\small\item\em specifies supported Card\+D\+AV actions. \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \{ \newline
{\bfseries OK}, 
{\bfseries F\+O\+R\+B\+I\+D\+D\+EN}, 
{\bfseries C\+O\+N\+F\+L\+I\+CT}, 
{\bfseries L\+O\+C\+K\+ED}, 
\newline
{\bfseries N\+O\+T\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED}
 \}
\begin{DoxyCompactList}\small\item\em specifies Card\+D\+AV error states. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_a648b2f1bd478ff08ed3b69e3c72ad3be}{carddav\+\_\+add\+\_\+object}} (const char $\ast$object, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for adding a new card. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_a187c4303697ac7a3fbe9a45981630a94}{carddav\+\_\+delete\+\_\+object}} (const char $\ast$object, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for deleting a card. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_aed7b6aa3e015c5f52f3c5bbc4481d48d}{carddav\+\_\+delete\+\_\+object\+\_\+by\+\_\+uri}} (const char $\ast$object, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for deleting a card by U\+RI. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_a6f473ce4f16a7f6154a7bef739b23875}{carddav\+\_\+modify\+\_\+object}} (const char $\ast$object, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for modifying a card. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_a910c61899d7448ae100ffc48a7acb201}{carddav\+\_\+modify\+\_\+object\+\_\+by\+\_\+uri}} (const char $\ast$object, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for modifying a card by U\+RI. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_a1bc782a6590d75525992921f4c506a23}{carddav\+\_\+get\+\_\+object}} (\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$result, time\+\_\+t start, time\+\_\+t end, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for getting a collection of cards determined by time range. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_a0f380c5bed65294fa3dd234d60e2843c}{carddav\+\_\+getall\+\_\+object}} (\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$result, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for getting all cards from the collection. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_a1d2c758adff5c9ce0668af632f15a766}{carddav\+\_\+getall\+\_\+object\+\_\+by\+\_\+uri}} (\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$result, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for getting all cards from the collection. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_ab34698bbd69ec5b16377f866d2802997}{carddav\+\_\+get\+\_\+displayname}} (\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$result, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for getting the stored display name for the collection. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{carddav_8h_a29bb430b9477008826af84cc430c550f}{carddav\+\_\+enabled\+\_\+resource}} (const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function to test wether a calendar resource is Card\+D\+AV enabled or not. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} \mbox{\hyperlink{carddav_8h_a0c4e172624514f0979458f837f754b51}{carddav\+\_\+get\+\_\+freebusy}} (\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$result, time\+\_\+t start, time\+\_\+t end, const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function for getting free/busy information. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}{carddav\+\_\+error}} $\ast$ \mbox{\hyperlink{carddav_8h_adcdbf09627c1a25dfbbbf1b439436c4a}{carddav\+\_\+get\+\_\+error}} (\mbox{\hyperlink{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}{carddav\+\_\+error}} $\ast$lib\+\_\+error)
\item 
void \mbox{\hyperlink{carddav_8h_a71be074141137c037aa0d1a6c4e23845}{carddav\+\_\+free\+\_\+error}} (\mbox{\hyperlink{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}{carddav\+\_\+error}} $\ast$lib\+\_\+error)
\begin{DoxyCompactList}\small\item\em Function for freeing memory for a previous initialization of a carddav\+\_\+error. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{carddav_8h_af8ae3d453f3507bf9fa68dac6a23aff5}{carddav\+\_\+set\+\_\+options}} (\mbox{\hyperlink{structdebug__curl}{debug\+\_\+curl}} curl\+\_\+options)
\begin{DoxyCompactList}\small\item\em Function which supports sending various options inside the library. \end{DoxyCompactList}\item 
char $\ast$$\ast$ \mbox{\hyperlink{carddav_8h_ac53bb74da77ada5518520f425b858167}{carddav\+\_\+get\+\_\+server\+\_\+options}} (const char $\ast$U\+RL, \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$info)
\begin{DoxyCompactList}\small\item\em Function to call to get a list of supported Card\+D\+AV options for a server. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$ \mbox{\hyperlink{carddav_8h_af7aaf252e6b27e17d617ad7f636d0d7a}{carddav\+\_\+get\+\_\+runtime\+\_\+info}} ()
\begin{DoxyCompactList}\small\item\em Function for getting an initialized \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{carddav_8h_ace40733679f7286d40c2ca9a3b59ab41}{carddav\+\_\+free\+\_\+runtime\+\_\+info}} (\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$$\ast$info)
\begin{DoxyCompactList}\small\item\em Function for freeing memory for a previous initialization of an info structure. \end{DoxyCompactList}\item 
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$ \mbox{\hyperlink{carddav_8h_acb21f4e716da99efd0c9d504c8fba30e}{carddav\+\_\+get\+\_\+response}} ()
\begin{DoxyCompactList}\small\item\em Function for getting an initialized response structure. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{carddav_8h_a10e3f1856c36346ca4bcdf6587ea449c}{carddav\+\_\+free\+\_\+response}} (\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$$\ast$info)
\begin{DoxyCompactList}\small\item\em Function for freeing memory for a previous initialization of an response structure. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
interface to the carddav library. 

The library conforms to I\+E\+TF carddav draft specification daboo-\/10. For further information follow this link \href{http://tools.ietf.org/html/draft-ietf-vcarddav-carddav-10}{\texttt{ http\+://tools.\+ietf.\+org/html/draft-\/ietf-\/vcarddav-\/carddav-\/10}} 

\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{carddav_8h_a1a9d023fef29eab6690c06e22742f30d}\label{carddav_8h_a1a9d023fef29eab6690c06e22742f30d}} 
\index{carddav.h@{carddav.h}!CARDDAV\_ACTION@{CARDDAV\_ACTION}}
\index{CARDDAV\_ACTION@{CARDDAV\_ACTION}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{CARDDAV\_ACTION}{CARDDAV\_ACTION}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{carddav_8h_a1a9d023fef29eab6690c06e22742f30d}{C\+A\+R\+D\+D\+A\+V\+\_\+\+A\+C\+T\+I\+ON}}}



specifies supported Card\+D\+AV actions. 

U\+N\+K\+N\+O\+WN. An unknown action. A\+DD. Add a Card\+D\+AV calendar object. D\+E\+L\+E\+TE. Delete a Card\+D\+AV calendar object. M\+O\+D\+I\+FY. Modify a Card\+D\+AV calendar object. G\+ET. Get one or more Card\+D\+AV calendar object(s). G\+E\+T\+A\+LL. Get all Card\+D\+AV calendar objects. \mbox{\Hypertarget{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}\label{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}} 
\index{carddav.h@{carddav.h}!CARDDAV\_RESPONSE@{CARDDAV\_RESPONSE}}
\index{CARDDAV\_RESPONSE@{CARDDAV\_RESPONSE}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{CARDDAV\_RESPONSE}{CARDDAV\_RESPONSE}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}}



specifies Card\+D\+AV error states. 

OK (H\+T\+TP 200). Request was satisfied. F\+O\+R\+B\+I\+D\+D\+EN (H\+T\+TP 403). Access not allowed. Dont repeat request. C\+O\+N\+F\+L\+I\+CT (H\+T\+TP 409). Conflict between current state of Card\+D\+AV collection and request. Client must solve the conflict and then resend request. L\+O\+C\+K\+ED (H\+T\+TP 423). Locking failed. 

\subsection{Function Documentation}
\mbox{\Hypertarget{carddav_8h_a648b2f1bd478ff08ed3b69e3c72ad3be}\label{carddav_8h_a648b2f1bd478ff08ed3b69e3c72ad3be}} 
\index{carddav.h@{carddav.h}!carddav\_add\_object@{carddav\_add\_object}}
\index{carddav\_add\_object@{carddav\_add\_object}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_add\_object()}{carddav\_add\_object()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+add\+\_\+object (\begin{DoxyParamCaption}\item[{const char $\ast$}]{object,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for adding a new card. 


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}
Function for adding a new card.


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_a187c4303697ac7a3fbe9a45981630a94}\label{carddav_8h_a187c4303697ac7a3fbe9a45981630a94}} 
\index{carddav.h@{carddav.h}!carddav\_delete\_object@{carddav\_delete\_object}}
\index{carddav\_delete\_object@{carddav\_delete\_object}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_delete\_object()}{carddav\_delete\_object()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+delete\+\_\+object (\begin{DoxyParamCaption}\item[{const char $\ast$}]{object,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for deleting a card. 


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}
Function for deleting a card.


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_aed7b6aa3e015c5f52f3c5bbc4481d48d}\label{carddav_8h_aed7b6aa3e015c5f52f3c5bbc4481d48d}} 
\index{carddav.h@{carddav.h}!carddav\_delete\_object\_by\_uri@{carddav\_delete\_object\_by\_uri}}
\index{carddav\_delete\_object\_by\_uri@{carddav\_delete\_object\_by\_uri}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_delete\_object\_by\_uri()}{carddav\_delete\_object\_by\_uri()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+delete\+\_\+object\+\_\+by\+\_\+uri (\begin{DoxyParamCaption}\item[{const char $\ast$}]{object,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for deleting a card by U\+RI. 


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}
Function for deleting a card by U\+RI.


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_a29bb430b9477008826af84cc430c550f}\label{carddav_8h_a29bb430b9477008826af84cc430c550f}} 
\index{carddav.h@{carddav.h}!carddav\_enabled\_resource@{carddav\_enabled\_resource}}
\index{carddav\_enabled\_resource@{carddav\_enabled\_resource}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_enabled\_resource()}{carddav\_enabled\_resource()}}
{\footnotesize\ttfamily int carddav\+\_\+enabled\+\_\+resource (\begin{DoxyParamCaption}\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function to test wether a calendar resource is Card\+D\+AV enabled or not. 


\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
0 (zero) means no Card\+D\+AV support, otherwise Card\+D\+AV support detechted.
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 (zero) means no Card\+D\+AV support, otherwise Card\+D\+AV support detechted. 
\end{DoxyReturn}
\mbox{\Hypertarget{carddav_8h_a71be074141137c037aa0d1a6c4e23845}\label{carddav_8h_a71be074141137c037aa0d1a6c4e23845}} 
\index{carddav.h@{carddav.h}!carddav\_free\_error@{carddav\_free\_error}}
\index{carddav\_free\_error@{carddav\_free\_error}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_free\_error()}{carddav\_free\_error()}}
{\footnotesize\ttfamily void carddav\+\_\+free\+\_\+error (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}{carddav\+\_\+error}} $\ast$}]{lib\+\_\+error }\end{DoxyParamCaption})}



Function for freeing memory for a previous initialization of a carddav\+\_\+error. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_adcdbf09627c1a25dfbbbf1b439436c4a}{carddav\+\_\+get\+\_\+error()}} Caller provides a pointer to a local \mbox{\hyperlink{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}{carddav\+\_\+error}} structure. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em lib\+\_\+error} & A pointer to a struct \mbox{\hyperlink{struct__carddav__error}{\+\_\+carddav\+\_\+error}}. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct__carddav__error}{\+\_\+carddav\+\_\+error}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_a10e3f1856c36346ca4bcdf6587ea449c}\label{carddav_8h_a10e3f1856c36346ca4bcdf6587ea449c}} 
\index{carddav.h@{carddav.h}!carddav\_free\_response@{carddav\_free\_response}}
\index{carddav\_free\_response@{carddav\_free\_response}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_free\_response()}{carddav\_free\_response()}}
{\footnotesize\ttfamily void carddav\+\_\+free\+\_\+response (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$$\ast$}]{resp }\end{DoxyParamCaption})}



Function for freeing memory for a previous initialization of an response structure. 


\begin{DoxyParams}{Parameters}
{\em info} & Address to a pointer to a response structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct__response}{\+\_\+response}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_ace40733679f7286d40c2ca9a3b59ab41}\label{carddav_8h_ace40733679f7286d40c2ca9a3b59ab41}} 
\index{carddav.h@{carddav.h}!carddav\_free\_runtime\_info@{carddav\_free\_runtime\_info}}
\index{carddav\_free\_runtime\_info@{carddav\_free\_runtime\_info}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_free\_runtime\_info()}{carddav\_free\_runtime\_info()}}
{\footnotesize\ttfamily void carddav\+\_\+free\+\_\+runtime\+\_\+info (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$$\ast$}]{info }\end{DoxyParamCaption})}



Function for freeing memory for a previous initialization of an info structure. 


\begin{DoxyParams}{Parameters}
{\em info} & Address to a pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_ab34698bbd69ec5b16377f866d2802997}\label{carddav_8h_ab34698bbd69ec5b16377f866d2802997}} 
\index{carddav.h@{carddav.h}!carddav\_get\_displayname@{carddav\_get\_displayname}}
\index{carddav\_get\_displayname@{carddav\_get\_displayname}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_get\_displayname()}{carddav\_get\_displayname()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+get\+\_\+displayname (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$}]{result,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for getting the stored display name for the collection. 


\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_adcdbf09627c1a25dfbbbf1b439436c4a}\label{carddav_8h_adcdbf09627c1a25dfbbbf1b439436c4a}} 
\index{carddav.h@{carddav.h}!carddav\_get\_error@{carddav\_get\_error}}
\index{carddav\_get\_error@{carddav\_get\_error}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_get\_error()}{carddav\_get\_error()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}{carddav\+\_\+error}}$\ast$ carddav\+\_\+get\+\_\+error (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{carddav_8h_ac0eee559525e5d7dbcc03064a92e68a8}{carddav\+\_\+error}} $\ast$}]{lib\+\_\+error }\end{DoxyParamCaption})}

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000002}{Deprecated}}]Always returns an initialized empty carddav\+\_\+error Function to call in case of errors.\end{DoxyRefDesc}
Caller provides a pointer to a local carddav\+\_\+error structure. Carddav\+\_\+get\+\_\+error will initialize pointer if N\+U\+LL. Caller is responsible for freeing returned memory. After the first call the internal error buffer is reset. 
\begin{DoxyParams}{Parameters}
{\em lib\+\_\+error} & A pointer to a struct \mbox{\hyperlink{struct__carddav__error}{\+\_\+carddav\+\_\+error}}. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct__carddav__error}{\+\_\+carddav\+\_\+error}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
An initialized carddav\+\_\+error pointer to memory where error messages can be found from the last call to the library.
\end{DoxyReturn}
\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000001}{Deprecated}}]Function to call in case of errors.\end{DoxyRefDesc}
Caller provides a pointer to a local carddav\+\_\+error structure. Carddav\+\_\+get\+\_\+error will initialize pointer if N\+U\+LL. Caller is responsible for freeing returned memory. After the first call the internal error buffer is reset. 
\begin{DoxyParams}{Parameters}
{\em lib\+\_\+error} & A pointer to a struct \mbox{\hyperlink{struct__carddav__error}{\+\_\+carddav\+\_\+error}}. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct__carddav__error}{\+\_\+carddav\+\_\+error}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
An initialized carddav\+\_\+error pointer to memory where error messages can be found from the last call to the library. 
\end{DoxyReturn}
\mbox{\Hypertarget{carddav_8h_a0c4e172624514f0979458f837f754b51}\label{carddav_8h_a0c4e172624514f0979458f837f754b51}} 
\index{carddav.h@{carddav.h}!carddav\_get\_freebusy@{carddav\_get\_freebusy}}
\index{carddav\_get\_freebusy@{carddav\_get\_freebusy}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_get\_freebusy()}{carddav\_get\_freebusy()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+get\+\_\+freebusy (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$}]{result,  }\item[{time\+\_\+t}]{start,  }\item[{time\+\_\+t}]{end,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for getting free/busy information. 


\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em start} & time\+\_\+t variable specifying start and end for range. Both are included in range. \\
\hline
{\em end} & time\+\_\+t variable specifying start and end for range. Both are included in range. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_a1bc782a6590d75525992921f4c506a23}\label{carddav_8h_a1bc782a6590d75525992921f4c506a23}} 
\index{carddav.h@{carddav.h}!carddav\_get\_object@{carddav\_get\_object}}
\index{carddav\_get\_object@{carddav\_get\_object}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_get\_object()}{carddav\_get\_object()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+get\+\_\+object (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$}]{result,  }\item[{time\+\_\+t}]{start,  }\item[{time\+\_\+t}]{end,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for getting a collection of cards determined by time range. 


\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em start} & time\+\_\+t variable specifying start for range. Included in search. \\
\hline
{\em end} & time\+\_\+t variable specifying end for range. Included in search. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}
Function for getting a collection of cards determined by time range.


\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em start} & time\+\_\+t variable specifying start and end for range. Both are included in range. \\
\hline
{\em end} & time\+\_\+t variable specifying start and end for range. Both are included in range. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_acb21f4e716da99efd0c9d504c8fba30e}\label{carddav_8h_acb21f4e716da99efd0c9d504c8fba30e}} 
\index{carddav.h@{carddav.h}!carddav\_get\_response@{carddav\_get\_response}}
\index{carddav\_get\_response@{carddav\_get\_response}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_get\_response()}{carddav\_get\_response()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}$\ast$ carddav\+\_\+get\+\_\+response (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Function for getting an initialized response structure. 

\begin{DoxyReturn}{Returns}
response. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{struct__response}{\+\_\+response}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_af7aaf252e6b27e17d617ad7f636d0d7a}\label{carddav_8h_af7aaf252e6b27e17d617ad7f636d0d7a}} 
\index{carddav.h@{carddav.h}!carddav\_get\_runtime\_info@{carddav\_get\_runtime\_info}}
\index{carddav\_get\_runtime\_info@{carddav\_get\_runtime\_info}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_get\_runtime\_info()}{carddav\_get\_runtime\_info()}}
{\footnotesize\ttfamily \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}}$\ast$ carddav\+\_\+get\+\_\+runtime\+\_\+info (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Function for getting an initialized \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}}. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_ac53bb74da77ada5518520f425b858167}\label{carddav_8h_ac53bb74da77ada5518520f425b858167}} 
\index{carddav.h@{carddav.h}!carddav\_get\_server\_options@{carddav\_get\_server\_options}}
\index{carddav\_get\_server\_options@{carddav\_get\_server\_options}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_get\_server\_options()}{carddav\_get\_server\_options()}}
{\footnotesize\ttfamily char$\ast$$\ast$ carddav\+\_\+get\+\_\+server\+\_\+options (\begin{DoxyParamCaption}\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function to call to get a list of supported Card\+D\+AV options for a server. 


\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
A list of available options or N\+U\+LL in case of any error.
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A list of available options or N\+U\+LL in case of any error. 
\end{DoxyReturn}
\mbox{\Hypertarget{carddav_8h_a0f380c5bed65294fa3dd234d60e2843c}\label{carddav_8h_a0f380c5bed65294fa3dd234d60e2843c}} 
\index{carddav.h@{carddav.h}!carddav\_getall\_object@{carddav\_getall\_object}}
\index{carddav\_getall\_object@{carddav\_getall\_object}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_getall\_object()}{carddav\_getall\_object()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+getall\+\_\+object (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$}]{result,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for getting all cards from the collection. 


\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}
Function for getting all cards from the collection.


\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_a1d2c758adff5c9ce0668af632f15a766}\label{carddav_8h_a1d2c758adff5c9ce0668af632f15a766}} 
\index{carddav.h@{carddav.h}!carddav\_getall\_object\_by\_uri@{carddav\_getall\_object\_by\_uri}}
\index{carddav\_getall\_object\_by\_uri@{carddav\_getall\_object\_by\_uri}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_getall\_object\_by\_uri()}{carddav\_getall\_object\_by\_uri()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+getall\+\_\+object\+\_\+by\+\_\+uri (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}} $\ast$}]{result,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for getting all cards from the collection. 

This version stores the U\+RI as a V\+C\+A\+RD parameter. 
\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}
Function for getting all cards from the collection.

This version stores the U\+RI as a V\+C\+A\+RD parameter. 
\begin{DoxyParams}{Parameters}
{\em result} & A pointer to struct \mbox{\hyperlink{struct__response}{\+\_\+response}} where the result is to stored. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a46103fb59dc471d3aac695436bfadd18}{response}}. Caller is responsible for freeing the memory. 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_a6f473ce4f16a7f6154a7bef739b23875}\label{carddav_8h_a6f473ce4f16a7f6154a7bef739b23875}} 
\index{carddav.h@{carddav.h}!carddav\_modify\_object@{carddav\_modify\_object}}
\index{carddav\_modify\_object@{carddav\_modify\_object}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_modify\_object()}{carddav\_modify\_object()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+modify\+\_\+object (\begin{DoxyParamCaption}\item[{const char $\ast$}]{object,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for modifying a card. 


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}
Function for modifying a card.


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_a910c61899d7448ae100ffc48a7acb201}\label{carddav_8h_a910c61899d7448ae100ffc48a7acb201}} 
\index{carddav.h@{carddav.h}!carddav\_modify\_object\_by\_uri@{carddav\_modify\_object\_by\_uri}}
\index{carddav\_modify\_object\_by\_uri@{carddav\_modify\_object\_by\_uri}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_modify\_object\_by\_uri()}{carddav\_modify\_object\_by\_uri()}}
{\footnotesize\ttfamily \mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} carddav\+\_\+modify\+\_\+object\+\_\+by\+\_\+uri (\begin{DoxyParamCaption}\item[{const char $\ast$}]{object,  }\item[{const char $\ast$}]{U\+RL,  }\item[{\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} $\ast$}]{info }\end{DoxyParamCaption})}



Function for modifying a card by U\+RI. 


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
{\em info} & Pointer to a \mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} structure. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{structruntime__info}{runtime\+\_\+info}} 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}}
\end{DoxySeeAlso}
Function for modifying a card by U\+RI.


\begin{DoxyParams}{Parameters}
{\em object} & Appointment following I\+Cal format (R\+F\+C2445). Receiver is responsible for freeing the memory. \\
\hline
{\em U\+RL} & Defines Card\+D\+AV resource. Receiver is responsible for freeing the memory. \mbox{[}\href{http://}{\texttt{ http\+://}}\mbox{]}\mbox{[}username\mbox{[}\+:password\mbox{]}@\mbox{]}host\mbox{[}\+:port\mbox{]}/url-\/path. See (R\+F\+C1738). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Ok, F\+O\+R\+B\+I\+D\+D\+EN, or C\+O\+N\+F\+L\+I\+CT. 
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{carddav_8h_a51cdedd5cd54a6fb2009ce0a1f2e4746}{C\+A\+R\+D\+D\+A\+V\+\_\+\+R\+E\+S\+P\+O\+N\+SE}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{carddav_8h_af8ae3d453f3507bf9fa68dac6a23aff5}\label{carddav_8h_af8ae3d453f3507bf9fa68dac6a23aff5}} 
\index{carddav.h@{carddav.h}!carddav\_set\_options@{carddav\_set\_options}}
\index{carddav\_set\_options@{carddav\_set\_options}!carddav.h@{carddav.h}}
\subsubsection{\texorpdfstring{carddav\_set\_options()}{carddav\_set\_options()}}
{\footnotesize\ttfamily void carddav\+\_\+set\+\_\+options (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structdebug__curl}{debug\+\_\+curl}}}]{curl\+\_\+options }\end{DoxyParamCaption})}



Function which supports sending various options inside the library. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000003}{Deprecated}}]Does nothing Function which supports sending various options inside the library.\end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em curl\+\_\+options} & A struct \mbox{\hyperlink{structdebug__curl}{debug\+\_\+curl}}. See \mbox{\hyperlink{structdebug__curl}{debug\+\_\+curl}}.\\
\hline
{\em curl\+\_\+options} & A struct \mbox{\hyperlink{structdebug__curl}{debug\+\_\+curl}}. See \mbox{\hyperlink{structdebug__curl}{debug\+\_\+curl}}. \\
\hline
\end{DoxyParams}
