1 /* -*- mode: C; c-file-style: "gnu" -*- */
2 /* xdgmimeparent.h: Private file. Datastructure for storing the hierarchy.
4 * More info can be found at http://www.freedesktop.org/standards/
6 * Copyright (C) 2004 Red Hat, Inc.
7 * Copyright (C) 200 Matthias Clasen <mclasen@redhat.com>
9 * SPDX-License-Identifier: LGPL-2.1-or-later or AFL-2.0
12 #ifndef __XDG_MIME_PARENT_H__
13 #define __XDG_MIME_PARENT_H__
17 typedef struct XdgParentList XdgParentList
;
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)
27 void _xdg_mime_parent_read_from_file (XdgParentList
*list
,
28 const char *file_name
);
29 XdgParentList
*_xdg_mime_parent_list_new (void);
30 void _xdg_mime_parent_list_free (XdgParentList
*list
);
31 const char **_xdg_mime_parent_list_lookup (XdgParentList
*list
,
33 void _xdg_mime_parent_list_dump (XdgParentList
*list
);
35 #endif /* __XDG_MIME_PARENT_H__ */