nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 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 | * |
||
9 | * Licensed under the Academic Free License version 2.0 |
||
10 | * Or under the following terms: |
||
11 | * |
||
12 | * This library is free software; you can redistribute it and/or |
||
13 | * modify it under the terms of the GNU Lesser General Public |
||
14 | * License as published by the Free Software Foundation; either |
||
15 | * version 2 of the License, or (at your option) any later version. |
||
16 | * |
||
17 | * This library is distributed in the hope that it will be useful, |
||
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||
20 | * Lesser General Public License for more details. |
||
21 | * |
||
22 | * You should have received a copy of the GNU Lesser General Public |
||
23 | * License along with this library; if not, see <http://www.gnu.org/licenses/>. |
||
24 | */ |
||
25 | |||
26 | #ifndef __XDG_MIME_PARENT_H__ |
||
27 | #define __XDG_MIME_PARENT_H__ |
||
28 | |||
29 | #include "xdgmime.h" |
||
30 | |||
31 | typedef struct XdgParentList XdgParentList; |
||
32 | |||
33 | #ifdef XDG_PREFIX |
||
34 | #define _xdg_mime_parent_read_from_file XDG_RESERVED_ENTRY(parent_read_from_file) |
||
35 | #define _xdg_mime_parent_list_new XDG_RESERVED_ENTRY(parent_list_new) |
||
36 | #define _xdg_mime_parent_list_free XDG_RESERVED_ENTRY(parent_list_free) |
||
37 | #define _xdg_mime_parent_list_lookup XDG_RESERVED_ENTRY(parent_list_lookup) |
||
38 | #define _xdg_mime_parent_list_dump XDG_RESERVED_ENTRY(parent_list_dump) |
||
39 | #endif |
||
40 | |||
41 | void _xdg_mime_parent_read_from_file (XdgParentList *list, |
||
42 | const char *file_name); |
||
43 | XdgParentList *_xdg_mime_parent_list_new (void); |
||
44 | void _xdg_mime_parent_list_free (XdgParentList *list); |
||
45 | const char **_xdg_mime_parent_list_lookup (XdgParentList *list, |
||
46 | const char *mime); |
||
47 | #ifdef NOT_USED_IN_GIO |
||
48 | void _xdg_mime_parent_list_dump (XdgParentList *list); |
||
49 | #endif |
||
50 | |||
51 | #endif /* __XDG_MIME_PARENT_H__ */ |