mirror of
https://github.com/systemd/systemd.git
synced 2026-07-10 16:47:12 +00:00
15 lines
417 B
C
15 lines
417 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include "sd-id128.h"
|
|
|
|
#include "forward.h"
|
|
|
|
typedef enum MachineIdSetupFlags {
|
|
MACHINE_ID_SETUP_FORCE_TRANSIENT = 1 << 0,
|
|
MACHINE_ID_SETUP_FORCE_FIRMWARE = 1 << 1,
|
|
} MachineIdSetupFlags;
|
|
|
|
int machine_id_commit(const char *root);
|
|
int machine_id_setup(const char *root, sd_id128_t machine_id, MachineIdSetupFlags flags, sd_id128_t *ret);
|