rpm-ostree/src/daemon/rpmostreed-types.h
Colin Walters 3e833659b7 daemon: Add a separate OSExperimental interface
Just like `rpm-ostree ex`, for things like `ex livefs` that have DBus
interfaces, we should segregate these off so that people know they're unstable.
And conversely that they can test for the presence of the method on the main
interface for stability.

I initially tried having the same `RpmostreeOS` object implement both
but couldn't work out how to do that; see https://mail.gnome.org/archives/gtk-app-devel-list/2017-March/msg00161.html

Closes: #701
Approved by: jlebon
2017-03-23 19:24:41 +00:00

45 lines
1.4 KiB
C

/*
* Copyright (C) 2015 Red Hat, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once
#include <glib-unix.h>
#include <gio/gio.h>
#include "rpm-ostreed-generated.h"
#include <stdint.h>
#include <string.h>
struct _RpmostreedDaemon;
typedef struct _RpmostreedDaemon RpmostreedDaemon;
struct _RpmostreedSysroot;
typedef struct _RpmostreedSysroot RpmostreedSysroot;
struct _RpmostreedOS;
typedef struct _RpmostreedOS RpmostreedOS;
struct _RpmostreedOSExperimental;
typedef struct _RpmostreedOSExperimental RpmostreedOSExperimental;
struct _RpmostreedTransaction;
typedef struct _RpmostreedTransaction RpmostreedTransaction;
struct _RpmostreedTransactionMonitor;
typedef struct _RpmostreedTransactionMonitor RpmostreedTransactionMonitor;