summaryrefslogtreecommitdiff
path: root/src/cmdline.h
diff options
context:
space:
mode:
authorNick Gregory <github@openenterprise.co.uk>2013-12-23 11:51:01 +0000
committerNick Gregory <github@openenterprise.co.uk>2013-12-23 11:51:01 +0000
commitb6654c8d5114ed5eb3d4532d50502bd40814969e (patch)
treeafdfa59fa07c58b0328dfe3b267cc770dfe8c663 /src/cmdline.h
parentb10ea317c698067307ace666c6618aee1d852888 (diff)
downloadnagios-plugin-curl-b6654c8d5114ed5eb3d4532d50502bd40814969e.tar.gz
nagios-plugin-curl-b6654c8d5114ed5eb3d4532d50502bd40814969e.tar.bz2
add digest support
Diffstat (limited to 'src/cmdline.h')
-rw-r--r--src/cmdline.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmdline.h b/src/cmdline.h
index d1d63cd..811aec2 100644
--- a/src/cmdline.h
+++ b/src/cmdline.h
@@ -93,6 +93,7 @@ struct gengetopt_args_info
char * protocol_arg; /**< @brief The protocol to use (http, ftp) (default='http'). */
char * protocol_orig; /**< @brief The protocol to use (http, ftp) original value given at command line. */
const char *protocol_help; /**< @brief The protocol to use (http, ftp) help description. */
+ const char *digest_help; /**< @brief The protocol to use (http, ftp) help description. */
unsigned int help_given ; /**< @brief Whether help was given. */
unsigned int version_given ; /**< @brief Whether version was given. */
@@ -116,6 +117,7 @@ struct gengetopt_args_info
unsigned int cert_given ; /**< @brief Whether cert was given. */
unsigned int key_given ; /**< @brief Whether key was given. */
unsigned int protocol_given ; /**< @brief Whether protocol was given. */
+ unsigned int digest_given ; /**< @brief Whether to use digest auth. */
char **inputs ; /**< @brief unamed options (options without names) */
unsigned inputs_num ; /**< @brief unamed options number */