mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-15 08:58:06 +02:00
This commit moves the `nm_vpn_wireguard_import()` function implementation from `libnmc-base` to `libnm-client-impl`, renaming it to `nm_conn_wireguard_import()`. A new `nm_conn_utils` header file is added in `libnm-client-public`. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1031 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1299
22 lines
509 B
C
22 lines
509 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
/*
|
|
* Copyright (C) 2013 - 2015 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef __NM_WIREGUARD_IMPORT_H__
|
|
#define __NM_WIREGUARD_IMPORT_H__
|
|
|
|
#if !defined(__NETWORKMANAGER_H_INSIDE__) && !defined(NETWORKMANAGER_COMPILATION)
|
|
#error "Only <NetworkManager.h> can be included directly."
|
|
#endif
|
|
|
|
#include "nm-object.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
NM_AVAILABLE_IN_1_40
|
|
NMConnection *nm_conn_wireguard_import(const char *filename, GError **error);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __NM_WIREGUARD_IMPORT_H__ */
|