EXIF library (libexif) API
0.6.20
Main Page
Related Pages
Data Structures
Files
File List
Globals
exif-mem.h
Go to the documentation of this file.
1
5
/* exif-mem.h
6
*
7
* Copyright (c) 2003 Lutz Mueller <lutz@users.sourceforge.net>
8
*
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU Lesser General Public
11
* License as published by the Free Software Foundation; either
12
* version 2 of the License, or (at your option) any later version.
13
*
14
* This library is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with this library; if not, write to the
21
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22
* Boston, MA 02110-1301 USA.
23
*/
24
25
#ifndef __EXIF_MEM_H__
26
#define __EXIF_MEM_H__
27
28
#include <
libexif/exif-utils.h
>
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
/* __cplusplus */
33
39
typedef
void
* (* ExifMemAllocFunc) (
ExifLong
s);
40
47
typedef
void
* (* ExifMemReallocFunc) (
void
*p,
ExifLong
s);
48
54
typedef
void (*
ExifMemFreeFunc
) (
void
*p);
55
57
typedef
struct
_ExifMem
ExifMem
;
58
65
ExifMem
*exif_mem_new (
ExifMemAllocFunc
a,
ExifMemReallocFunc
r,
66
ExifMemFreeFunc
f);
69
void
exif_mem_ref (
ExifMem
*);
70
74
void
exif_mem_unref (
ExifMem
*);
75
76
void
*exif_mem_alloc (
ExifMem
*m,
ExifLong
s);
77
void
*exif_mem_realloc (
ExifMem
*m,
void
*p,
ExifLong
s);
78
void
exif_mem_free (
ExifMem
*m,
void
*p);
79
84
ExifMem
*exif_mem_new_default (
void
);
85
86
#ifdef __cplusplus
87
}
88
#endif
/* __cplusplus */
89
90
#endif
/* __EXIF_MEM_H__ */
libexif
exif-mem.h
Generated on Sat Nov 2 2013 04:22:32 for EXIF library (libexif) API by
1.8.1.2