modify-caldav-object.c File Reference

#include "modify-caldav-object.h"
#include "lock-caldav-object.h"
#include <glib.h>
#include <curl/curl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Functions

gboolean caldav_modify (caldav_settings *settings, caldav_error *error)
 Function for modifying an event.

Variables

static char * search_head
 A static literal string containing the first part of the calendar query.
static char * search_tail
 A static literal string containing the last part of the calendar query.

Function Documentation

gboolean caldav_modify ( caldav_settings settings,
caldav_error error 
)

Function for modifying an event.

Parameters:
settings A pointer to caldav_settings.
See also:
caldav_settings
Parameters:
error A pointer to caldav_error.
See also:
caldav_error
Returns:
TRUE in case of error, FALSE otherwise.


Variable Documentation

char* search_head [static]

Initial value:

"<?xml version=\"1.0\" encoding=\"utf-8\" ?>"
"<C:calendar-query xmlns:D=\"DAV:\""
"                  xmlns:C=\"urn:ietf:params:xml:ns:caldav\">"
"  <D:prop>"
"    <D:getetag/>"
"    <C:calendar-data/>"
"  </D:prop>"
"  <C:filter>"
"    <C:comp-filter name=\"VCALENDAR\">"
"      <C:comp-filter name=\"VEVENT\">"
"        <C:prop-filter name=\"UID\">"
A static literal string containing the first part of the calendar query.

The actual UID to use for the query is added at runtime.

char* search_tail [static]

Initial value:

"</C:prop-filter>"
"      </C:comp-filter>"
"    </C:comp-filter>"
"  </C:filter>"
"</C:calendar-query>"
A static literal string containing the last part of the calendar query.


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