| Top |  |  |  |  | 
NMConnection * nm_conn_wireguard_import (const char *filename,GError **error);
| filename | name of the file to attempt to read into a new NMConnection | |
| error | on return, an error or  | 
a new NMConnection imported from path
, or NULL
on error or if the file with filename
was not recognized as a WireGuard config. 
[transfer full]
Since: 1.40