parse-nm.h

Parsing NetworkManager keyfile configuration into NetplanParser data structures.

Defines

NETPLAN_NM_EMPTY_GROUP

The value _ indicates an emtpy keyfile group in networkmanager.passthrough handling.

Functions

gboolean netplan_parser_load_keyfile(NetplanParser *npp, const char *filename, NetplanError **error)

Parse a NetworkManager keyfile into a NetplanNetDefinition struct.

Parameters:
  • npp -- [in] The NetplanParser object that should contain the parsed data

  • filename -- [in] Full path to the NetworkManager keyfile

  • error -- [out] Filled with a NetplanError in case of failure

Returns:

Indication of success or failure