Libical API Documentation
4.0 STABLE VERSION
[Visit the v3.0 documentation]
Toggle main menu visibility
Loading...
Searching...
No Matches
src
libicalvcard
vcardparser.h
Go to the documentation of this file.
1
/*======================================================================
2
FILE: vcardparser.h
3
CREATOR: Ken Murchison 24 Aug 2022
4
CONTRIBUTOR: Bron Gondwana
5
6
SPDX-FileCopyrightText: 2022, Fastmail Pty. Ltd. (https://fastmail.com)
7
SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
8
======================================================================*/
9
14
15
#ifndef VCARDPARSER_H
16
#define VCARDPARSER_H
17
18
#include "libical_vcard_export.h"
19
#include "
vcardcomponent.h
"
20
#include "
vcardderivedvalue.h
"
21
22
LIBICAL_VCARD_EXPORT vcardcomponent *
vcardparser_parse_string
(
const
char
*str);
23
LIBICAL_VCARD_EXPORT
const
char
*
vcardparser_errstr
(
int
err);
24
39
typedef
vcardvalue_kind
(*
vcard_xprop_value_kind_func
)(
const
char
*name,
void
*data);
40
61
LIBICAL_VCARD_EXPORT
void
vcardparser_set_xprop_value_kind
(
vcard_xprop_value_kind_func
func,
void
*data);
62
63
#endif
/* VCARDPARSER_H */
vcardcomponent.h
Defines the data structure representing vCard components.
vcardderivedvalue.h
vCard values.
vcardvalue_kind
vcardvalue_kind
Definition
vcardderivedvalue.h:91
vcardparser_set_xprop_value_kind
void vcardparser_set_xprop_value_kind(vcard_xprop_value_kind_func func, void *data)
Registers a parser callback to override the default value type of an x-property.
Definition
vcardparser.c:1037
vcardparser_errstr
const char * vcardparser_errstr(int err)
Definition
vcardparser.c:967
vcardparser_parse_string
vcardcomponent * vcardparser_parse_string(const char *str)
Definition
vcardparser.c:1010
vcard_xprop_value_kind_func
vcardvalue_kind(*) vcard_xprop_value_kind_func(const char *name, void *data)
Callback function pointer to define x-property default value types.
Definition
vcardparser.h:39
Generated on
for Libical API Documentation by
1.18.0