get-display-name.c File Reference

#include "get-caldav-report.h"
#include <glib.h>
#include <curl/curl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Functions

gboolean caldav_getname (caldav_settings *settings, caldav_error *error)
 Function for getting the display name from collection.

Variables

static const char * getname_request
 A static literal string containing the calendar query for fetching the stored display name for the collection.

Function Documentation

gboolean caldav_getname ( caldav_settings settings,
caldav_error error 
)

Function for getting the display name from collection.

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

const char* getname_request [static]

Initial value:

"<?xml version=\"1.0\" encoding=\"utf-8\" ?>"
"<D:propfind xmlns:D=\"DAV:\""
"                 xmlns:C=\"urn:ietf:params:xml:ns:caldav\">"
"  <D:prop>"
"    <D:displayname/>"
"  </D:prop>"
"</D:propfind>\r\n"
A static literal string containing the calendar query for fetching the stored display name for the collection.


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