1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2013 - 2015 Red Hat, Inc.
4 */
5
6#ifndef __NM_WIREGUARD_IMPORT_H__
7#define __NM_WIREGUARD_IMPORT_H__
8
9#if !defined(__NETWORKMANAGER_H_INSIDE__) && !defined(NETWORKMANAGER_COMPILATION)
10#error "Only <NetworkManager.h> can be included directly."
11#endif
12
13#include "nm-object.h"
14
15G_BEGIN_DECLS
16
17NM_AVAILABLE_IN_1_40
18NMConnection *nm_conn_wireguard_import(const char *filename, GError **error);
19
20G_END_DECLS
21
22#endif /* __NM_WIREGUARD_IMPORT_H__ */
23

source code of include/libnm/nm-conn-utils.h