Blame gio/xdgmime/xdgmimeparent.h

Packit ae235b
/* -*- mode: C; c-file-style: "gnu" -*- */
Packit ae235b
/* xdgmimeparent.h: Private file.  Datastructure for storing the hierarchy.
Packit ae235b
 *
Packit ae235b
 * More info can be found at http://www.freedesktop.org/standards/
Packit ae235b
 *
Packit ae235b
 * Copyright (C) 2004  Red Hat, Inc.
Packit ae235b
 * Copyright (C) 200  Matthias Clasen <mclasen@redhat.com>
Packit ae235b
 *
Packit ae235b
 * Licensed under the Academic Free License version 2.0
Packit ae235b
 * Or under the following terms:
Packit ae235b
 *
Packit ae235b
 * This library is free software; you can redistribute it and/or
Packit ae235b
 * modify it under the terms of the GNU Lesser General Public
Packit ae235b
 * License as published by the Free Software Foundation; either
Packit ae235b
 * version 2.1 of the License, or (at your option) any later version.
Packit ae235b
 *
Packit ae235b
 * This library is distributed in the hope that it will be useful,
Packit ae235b
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit ae235b
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
Packit ae235b
 * Lesser General Public License for more details.
Packit ae235b
 *
Packit ae235b
 * You should have received a copy of the GNU Lesser General Public
Packit ae235b
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit ae235b
 */
Packit ae235b
Packit ae235b
#ifndef __XDG_MIME_PARENT_H__
Packit ae235b
#define __XDG_MIME_PARENT_H__
Packit ae235b
Packit ae235b
#include "xdgmime.h"
Packit ae235b
Packit ae235b
typedef struct XdgParentList XdgParentList;
Packit ae235b
Packit ae235b
#ifdef XDG_PREFIX
Packit ae235b
#define _xdg_mime_parent_read_from_file        XDG_RESERVED_ENTRY(parent_read_from_file)
Packit ae235b
#define _xdg_mime_parent_list_new              XDG_RESERVED_ENTRY(parent_list_new)
Packit ae235b
#define _xdg_mime_parent_list_free             XDG_RESERVED_ENTRY(parent_list_free)
Packit ae235b
#define _xdg_mime_parent_list_lookup           XDG_RESERVED_ENTRY(parent_list_lookup)
Packit ae235b
#define _xdg_mime_parent_list_dump             XDG_RESERVED_ENTRY(parent_list_dump)
Packit ae235b
#endif
Packit ae235b
Packit ae235b
void          _xdg_mime_parent_read_from_file (XdgParentList *list,
Packit ae235b
					       const char    *file_name);
Packit ae235b
XdgParentList *_xdg_mime_parent_list_new       (void);
Packit ae235b
void           _xdg_mime_parent_list_free      (XdgParentList *list);
Packit ae235b
const char   **_xdg_mime_parent_list_lookup    (XdgParentList *list,
Packit ae235b
						const char    *mime);
Packit ae235b
#ifdef NOT_USED_IN_GIO
Packit ae235b
void           _xdg_mime_parent_list_dump      (XdgParentList *list);
Packit ae235b
#endif
Packit ae235b
Packit ae235b
#endif /* __XDG_MIME_PARENT_H__ */