Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
Loading...
Searching...
No Matches
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
22LIBICAL_VCARD_EXPORT vcardcomponent *vcardparser_parse_string(const char *str);
23LIBICAL_VCARD_EXPORT const char *vcardparser_errstr(int err);
24
39typedef vcardvalue_kind (*vcard_xprop_value_kind_func)(const char *name, void *data);
40
61LIBICAL_VCARD_EXPORT void vcardparser_set_xprop_value_kind(vcard_xprop_value_kind_func func, void *data);
62
63#endif /* VCARDPARSER_H */
Defines the data structure representing vCard components.
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
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.