options-caldav-server.c File Reference

#include "options-caldav-server.h"
#include <glib.h>
#include <curl/curl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Functions

gboolean caldav_getoptions (CURL *curl, gchar *url, response *result, caldav_error *error, gboolean test)
 Function for getting supported options from a server.

Function Documentation

gboolean caldav_getoptions ( CURL *  curl,
gchar *  url,
response result,
caldav_error error,
gboolean  test 
)

Function for getting supported options from a server.

Parameters:
curl A pointer to an initialized CURL instance
url string containing the URL to the server. If authentication is required prior to making the call the credentials must be available via CURLOPT_USERPWD before calling.
result A pointer to a struct _response. If test is true this variable can be NULL. Caller is responsible for freeing associated memory.
error A pointer to caldav_error.
See also:
caldav_error
Parameters:
test if this is true response will be whether the server represented by the URL is a CalDAV collection or not.
Returns:
FALSE in case of error, TRUE otherwise.


Generated on Tue Apr 8 00:29:58 2008 for libcaldav-0.3.0 by  doxygen 1.5.5