(root)/
glib-2.79.0/
gio/
xdgmime/
xdgmimeparent.h
       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   * SPDX-License-Identifier: LGPL-2.1-or-later or AFL-2.0
      10   */
      11  
      12  #ifndef __XDG_MIME_PARENT_H__
      13  #define __XDG_MIME_PARENT_H__
      14  
      15  #include "xdgmime.h"
      16  
      17  typedef 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  
      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,
      32  						const char    *mime);
      33  void           _xdg_mime_parent_list_dump      (XdgParentList *list);
      34  
      35  #endif /* __XDG_MIME_PARENT_H__ */