summaryrefslogtreecommitdiffstats
path: root/src/libical-test.c
blob: ca738626f904c6c0cc9c8be3636d2d525f3e9f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * This file is part of MXE.
 * 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;
}