aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/otputil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/otputil.h')
-rw-r--r--src/otputil.h38
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
127extern int 130extern int
131otputil_widget_otp(
132 otputil_config_t * cnf );
133
134
135extern int
136otputil_widget_otp_md4(
137 otputil_config_t * cnf );
138
139
140extern int
141otputil_widget_otp_md5(
142 otputil_config_t * cnf );
143
144
145extern int
146otputil_widget_otp_sha1(
147 otputil_config_t * cnf );
148
149
150extern int
151otputil_widget_otp_usage(
152 otputil_config_t * cnf );
153
154
155extern int
156otputil_widget_skey(
157 otputil_config_t * cnf );
158
159
160extern int
161otputil_widget_skey_usage(
162 otputil_config_t * cnf );
163
164
165extern int
128otputil_widget_totp( 166otputil_widget_totp(
129 otputil_config_t * cnf ); 167 otputil_config_t * cnf );
130 168