diff options
author | João Valverde <j@v6e.pt> | 2021-09-29 18:32:28 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-09-30 13:59:28 +0000 |
commit | 5362d0c31b83fd7eb812f3215918504496c2f56a (patch) | |
tree | 8db56bb5b91a21371aeda3cbb273c953b851f522 /extcap/ssh-base.h | |
parent | 0173ea0ec1f87f2ab40c45eedb0ca1c1f77eea8e (diff) |
ws_getopt: Rename struct and macros
This is part of the API and should also be renamed to avoid conflicts.
Diffstat (limited to 'extcap/ssh-base.h')
-rw-r--r-- | extcap/ssh-base.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/extcap/ssh-base.h b/extcap/ssh-base.h index 11a6d62043..260525fd5e 100644 --- a/extcap/ssh-base.h +++ b/extcap/ssh-base.h @@ -28,16 +28,16 @@ #endif #define SSH_BASE_OPTIONS \ - { "remote-host", required_argument, NULL, OPT_REMOTE_HOST}, \ - { "remote-port", required_argument, NULL, OPT_REMOTE_PORT}, \ - { "remote-username", required_argument, NULL, OPT_REMOTE_USERNAME}, \ - { "remote-password", required_argument, NULL, OPT_REMOTE_PASSWORD}, \ - { "remote-interface", required_argument, NULL, OPT_REMOTE_INTERFACE}, \ - { "remote-filter", required_argument, NULL, OPT_REMOTE_FILTER}, \ - { "remote-count", required_argument, NULL, OPT_REMOTE_COUNT}, \ - { "sshkey", required_argument, NULL, OPT_SSHKEY}, \ - { "sshkey-passphrase", required_argument, NULL, OPT_SSHKEY_PASSPHRASE}, \ - { "proxycommand", required_argument, NULL, OPT_PROXYCOMMAND} + { "remote-host", ws_required_argument, NULL, OPT_REMOTE_HOST}, \ + { "remote-port", ws_required_argument, NULL, OPT_REMOTE_PORT}, \ + { "remote-username", ws_required_argument, NULL, OPT_REMOTE_USERNAME}, \ + { "remote-password", ws_required_argument, NULL, OPT_REMOTE_PASSWORD}, \ + { "remote-interface", ws_required_argument, NULL, OPT_REMOTE_INTERFACE}, \ + { "remote-filter", ws_required_argument, NULL, OPT_REMOTE_FILTER}, \ + { "remote-count", ws_required_argument, NULL, OPT_REMOTE_COUNT}, \ + { "sshkey", ws_required_argument, NULL, OPT_SSHKEY}, \ + { "sshkey-passphrase", ws_required_argument, NULL, OPT_SSHKEY_PASSPHRASE}, \ + { "proxycommand", ws_required_argument, NULL, OPT_PROXYCOMMAND} typedef struct _ssh_params { gchar* host; |