(root)/
glib-2.79.0/
gio/
tests/
portal-support-utils.h
       1  /*
       2   * GIO - GLib Input, Output and Streaming Library
       3   *
       4   * Copyright (C) 2022 Canonical Ltd.
       5   *
       6   * SPDX-License-Identifier: LGPL-2.1-or-later
       7   *
       8   * This library is free software; you can redistribute it and/or
       9   * modify it under the terms of the GNU Lesser General Public
      10   * License as published by the Free Software Foundation; either
      11   * version 2.1 of the License, or (at your option) any later version.
      12   *
      13   * This library is distributed in the hope that it will be useful,
      14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
      15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      16   * Lesser General Public License for more details.
      17   *
      18   * You should have received a copy of the GNU Lesser General
      19   * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
      20   *
      21   * Author: Marco Trevisan <marco.trevisan@canonical.com>
      22   */
      23  
      24  #include <glib.h>
      25  
      26  void cleanup_snapfiles (const gchar *path);
      27  
      28  void create_fake_snap_yaml (const char *snap_path,
      29                              gboolean is_classic);
      30  
      31  void create_fake_snapctl (const char *path,
      32                            const char *supported_op);
      33  
      34  void create_fake_flatpak_info (const char  *root_path,
      35                                 const GStrv shared_context,
      36                                 const char  *dconf_dbus_policy);
      37  
      38  void create_fake_flatpak_info_from_key_file (const char *root_path,
      39                                               GKeyFile   *key_file);