2019-09-10 11:19:01 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2019-09-25 13:13:40 +02:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2014 - 2016 Red Hat, Inc.
|
2016-03-11 10:25:40 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __NM_SD_H__
|
|
|
|
|
#define __NM_SD_H__
|
|
|
|
|
|
2016-09-27 13:35:29 +02:00
|
|
|
#include "systemd/src/systemd/sd-dhcp-client.h"
|
|
|
|
|
#include "systemd/src/systemd/sd-dhcp6-client.h"
|
|
|
|
|
#include "systemd/src/systemd/sd-lldp.h"
|
|
|
|
|
#include "systemd/src/systemd/sd-ipv4ll.h"
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
2016-03-11 10:25:40 +01:00
|
|
|
guint nm_sd_event_attach_default (void);
|
|
|
|
|
|
2016-08-11 17:33:12 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
|
* expose internal systemd API
|
|
|
|
|
*
|
|
|
|
|
* FIXME: don't use any internal systemd API.
|
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
struct sd_dhcp_lease;
|
|
|
|
|
|
|
|
|
|
int dhcp_lease_save(struct sd_dhcp_lease *lease, const char *lease_file);
|
|
|
|
|
int dhcp_lease_load(struct sd_dhcp_lease **ret, const char *lease_file);
|
|
|
|
|
|
2016-03-11 10:25:40 +01:00
|
|
|
#endif /* __NM_SD_H__ */
|
|
|
|
|
|