]> git.proxmox.com Git - libxdgmime-perl.git/blame - src/xdgmimeparent.h
Squashed 'xdgmime-source/' changes from 28b70c4..3e7ee2d
[libxdgmime-perl.git] / src / xdgmimeparent.h
CommitLineData
cf31d981
SI
1/* -*- mode: C; c-file-style: "gnu" -*- */
2/* xdgmimeparent.h: Private file. Datastructure for storing the hierarchy.
3 *
4 * More info can be found at http://www.freedesktop.org/standards/
5 *
6 * Copyright (C) 2004 Red Hat, Inc.
7 * Copyright (C) 200 Matthias Clasen <mclasen@redhat.com>
8 *
73d5a30a 9 * SPDX-License-Identifier: LGPL-2.1-or-later or AFL-2.0
cf31d981
SI
10 */
11
12#ifndef __XDG_MIME_PARENT_H__
13#define __XDG_MIME_PARENT_H__
14
15#include "xdgmime.h"
16
17typedef struct XdgParentList XdgParentList;
18
19#ifdef XDG_PREFIX
20#define _xdg_mime_parent_read_from_file XDG_RESERVED_ENTRY(parent_read_from_file)
21#define _xdg_mime_parent_list_new XDG_RESERVED_ENTRY(parent_list_new)
22#define _xdg_mime_parent_list_free XDG_RESERVED_ENTRY(parent_list_free)
23#define _xdg_mime_parent_list_lookup XDG_RESERVED_ENTRY(parent_list_lookup)
24#define _xdg_mime_parent_list_dump XDG_RESERVED_ENTRY(parent_list_dump)
25#endif
26
27void _xdg_mime_parent_read_from_file (XdgParentList *list,
28 const char *file_name);
29XdgParentList *_xdg_mime_parent_list_new (void);
30void _xdg_mime_parent_list_free (XdgParentList *list);
31const char **_xdg_mime_parent_list_lookup (XdgParentList *list,
32 const char *mime);
33void _xdg_mime_parent_list_dump (XdgParentList *list);
34
35#endif /* __XDG_MIME_PARENT_H__ */