diff options
Diffstat (limited to 'src/otputil.h')
| -rw-r--r-- | src/otputil.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/otputil.h b/src/otputil.h index 5471cd8..cd6bd18 100644 --- a/src/otputil.h +++ b/src/otputil.h | |||
| @@ -87,10 +87,13 @@ struct _otputil_cli_config | |||
| 87 | int quiet; | 87 | int quiet; |
| 88 | int verbose; | 88 | int verbose; |
| 89 | int opt_index; | 89 | int opt_index; |
| 90 | int prompt_user_pass; | ||
| 91 | int prompt_otp_pass; | ||
| 90 | int argc; | 92 | int argc; |
| 91 | char ** argv; | 93 | char ** argv; |
| 92 | const char * prog_name; | 94 | const char * prog_name; |
| 93 | const char * otp_pass; | 95 | const char * otp_pass; |
| 96 | const char * user_pass; | ||
| 94 | const otputil_widget_t * widget; | 97 | const otputil_widget_t * widget; |
| 95 | }; | 98 | }; |
| 96 | 99 | ||
| @@ -125,6 +128,41 @@ otputil_widget_hotp( | |||
| 125 | 128 | ||
| 126 | 129 | ||
| 127 | extern int | 130 | extern int |
| 131 | otputil_widget_otp( | ||
| 132 | otputil_config_t * cnf ); | ||
| 133 | |||
| 134 | |||
| 135 | extern int | ||
| 136 | otputil_widget_otp_md4( | ||
| 137 | otputil_config_t * cnf ); | ||
| 138 | |||
| 139 | |||
| 140 | extern int | ||
| 141 | otputil_widget_otp_md5( | ||
| 142 | otputil_config_t * cnf ); | ||
| 143 | |||
| 144 | |||
| 145 | extern int | ||
| 146 | otputil_widget_otp_sha1( | ||
| 147 | otputil_config_t * cnf ); | ||
| 148 | |||
| 149 | |||
| 150 | extern int | ||
| 151 | otputil_widget_otp_usage( | ||
| 152 | otputil_config_t * cnf ); | ||
| 153 | |||
| 154 | |||
| 155 | extern int | ||
| 156 | otputil_widget_skey( | ||
| 157 | otputil_config_t * cnf ); | ||
| 158 | |||
| 159 | |||
| 160 | extern int | ||
| 161 | otputil_widget_skey_usage( | ||
| 162 | otputil_config_t * cnf ); | ||
| 163 | |||
| 164 | |||
| 165 | extern int | ||
| 128 | otputil_widget_totp( | 166 | otputil_widget_totp( |
| 129 | otputil_config_t * cnf ); | 167 | otputil_config_t * cnf ); |
| 130 | 168 | ||
