summaryrefslogtreecommitdiffstats
path: root/src/libical-test.c
blob: e5ffbae6d94d6a2376903e4c0830a31cc600726e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* This file is part of mingw-cross-env.       */
/* See doc/index.html for further information. */

#include <stdio.h>
#include <libical/ical.h>

int main(int argc, char *argv[])
{
    icalvalue *v; 
    char *str;
    (void)argc;
    (void)argv;
    
    v = icalvalue_new_caladdress("cap://value/1");
    str = icalvalue_as_ical_string_r(v);
    printf("String: %s\n", str);

    return 0;
}