diff options
Diffstat (limited to 'clients/cli/nmcli.h')
| -rw-r--r-- | clients/cli/nmcli.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clients/cli/nmcli.h b/clients/cli/nmcli.h index 1b9a08b8..34100f00 100644 --- a/clients/cli/nmcli.h +++ b/clients/cli/nmcli.h @@ -59,7 +59,7 @@ typedef enum { /* NetworkManager is not running */ NMC_RESULT_ERROR_NM_NOT_RUNNING = 8, - /* nmcli and NetworkManager versions mismatch */ + /* No more used, keep to preserve API */ NMC_RESULT_ERROR_VERSIONS_MISMATCH = 9, /* Connection/Device/AP not found */ @@ -152,7 +152,6 @@ typedef struct _NmCli { char *required_fields; /* Required fields in output: '--fields' option */ GPtrArray *output_data; /* GPtrArray of arrays of NmcOutputField structs - accumulates data for output */ NmcPrintFields print_fields; /* Structure with field indices to print */ - gboolean nocheck_ver; /* Don't check nmcli and NM versions: option '--nocheck' */ gboolean ask; /* Ask for missing parameters: option '--ask' */ gboolean show_secrets; /* Whether to display secrets (both input and output): option '--show-secrets' */ gboolean in_editor; /* Whether running the editor - nmcli con edit' */ @@ -162,6 +161,8 @@ typedef struct _NmCli { NmcTermColor editor_prompt_color; /* Color of prompt in connection editor */ } NmCli; +extern NmCli nm_cli; + /* Error quark for GError domain */ #define NMCLI_ERROR (nmcli_error_quark ()) GQuark nmcli_error_quark (void); @@ -170,5 +171,4 @@ gboolean nmc_seen_sigint (void); void nmc_clear_sigint (void); void nmc_set_sigquit_internal (void); - #endif /* NMC_NMCLI_H */ |