mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 18:10:26 +01:00
These SPDX license identifiers are deprecated ([1]). Update them. [1] https://spdx.org/licenses/ sed \ -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \ -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \ -i \ $(git grep -l SPDX-License-Identifier -- \ ':(exclude)shared/c-*/' \ ':(exclude)shared/n-*/' \ ':(exclude)shared/systemd/src' \ ':(exclude)src/systemd/src')
29 lines
880 B
C
29 lines
880 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2014 - 2016 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef __NM_SD_H__
|
|
#define __NM_SD_H__
|
|
|
|
#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"
|
|
|
|
/*****************************************************************************/
|
|
|
|
guint nm_sd_event_attach_default(void);
|
|
|
|
/*****************************************************************************
|
|
* 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);
|
|
|
|
#endif /* __NM_SD_H__ */
|