diff options
| author | Michael Biebl <biebl@debian.org> | 2017-01-17 20:25:09 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-01-17 20:25:09 +0100 |
| commit | 58f8be580039b0575b197b9573a1c92745d96d30 (patch) | |
| tree | 2c226233f623a0dcb529be0eb8cdf97e4a2ae0c0 /clients/cli/common.h | |
| parent | 45cb5bb3c0e6edb887cf69b417fcaf7053814a9b (diff) | |
New upstream version 1.5.90 upstream/1.5.90
Diffstat (limited to 'clients/cli/common.h')
| -rw-r--r-- | clients/cli/common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clients/cli/common.h b/clients/cli/common.h index 114a8e63..42091363 100644 --- a/clients/cli/common.h +++ b/clients/cli/common.h @@ -44,6 +44,7 @@ nmc_vlan_parse_priority_maps (const char *priority_map, const char *nmc_bond_validate_mode (const char *mode, GError **error); gboolean nmc_team_check_config (const char *config, char **out_config, GError **error); +gboolean nmc_proxy_check_script (const char *script, char **out_script, GError **error); NMConnection *nmc_find_connection (const GPtrArray *connections, const char *filter_type, @@ -79,9 +80,11 @@ typedef struct { const char *cmd; NMCResultCode (*func) (NmCli *nmc, int argc, char **argv); void (*usage) (void); + gboolean needs_client; + gboolean needs_nm_running; } NMCCommand; -NMCResultCode nmc_do_cmd (NmCli *nmc, const NMCCommand cmds[], const char *argv0, int argc, char **argv); +void nmc_do_cmd (NmCli *nmc, const NMCCommand cmds[], const char *cmd, int argc, char **argv); void nmc_complete_strings (const char *prefix, ...) G_GNUC_NULL_TERMINATED; |