fwupd/libfwupd/fwupd-device-private.h
Mario Limonciello e3016602f8 Include serial number in daemon device output when trusted
This moves the storing of the serial number into the daemon and
when the calling process is UID 0 includes it in device output
2018-09-06 13:34:28 -05:00

27 lines
589 B
C

/*
* Copyright (C) 2017 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __FWUPD_DEVICE_PRIVATE_H
#define __FWUPD_DEVICE_PRIVATE_H
#include <glib-object.h>
#include "fwupd-device.h"
G_BEGIN_DECLS
FwupdDevice *fwupd_device_from_variant (GVariant *data);
GVariant *fwupd_device_to_variant (FwupdDevice *device);
GVariant *fwupd_device_to_variant_full (FwupdDevice *device,
FwupdDeviceFlags flags);
void fwupd_device_incorporate (FwupdDevice *self,
FwupdDevice *donor);
G_END_DECLS
#endif /* __FWUPD_DEVICE_PRIVATE_H */