Libical API Documentation
4.0 UNRELEASED
Go to the stable 3.0 documentation
Loading...
Searching...
No Matches
src
libical
icalattachimpl.h
1
/*======================================================================
2
FILE: icalattachimpl.h
3
CREATOR: acampi 28 May 02
4
5
SPDX-FileCopyrightText: 2000, Andrea Campi <a.campi@inet.it>
6
SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
7
======================================================================*/
8
9
#ifndef ICALATTACHIMPL_H
10
#define ICALATTACHIMPL_H
11
12
#include "
icalattach.h
"
13
14
/* Private structure for ATTACH values */
15
struct
icalattach_impl
{
16
/* Reference count */
17
int
refcount;
18
19
union
{
20
/* URL attachment data */
21
struct
22
{
23
char
*url;
24
} url;
25
26
/* Inline data */
27
struct
28
{
29
char
*data;
30
icalattach_free_fn_t
free_fn;
31
void
*free_fn_data;
32
} data;
33
} u;
34
35
/* TRUE if URL, FALSE if inline data */
36
unsigned
int
is_url : 1;
37
};
38
39
#endif
icalattach.h
A set of functions to handle iCal attachments.
icalattach_free_fn_t
void(* icalattach_free_fn_t)(char *data, void *user_data)
Function to be called to free the data of an icalattach object.
Definition
icalattach.h:46
icalattach_impl
Definition
icalattachimpl.h:15
Generated on
for Libical API Documentation by
1.14.0