diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-12-30 13:46:16 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-12-30 13:46:16 -0900 |
| commit | 329c8206aef20209aaf6a18bbe8f7afb1b49b61e (patch) | |
| tree | 4dbf49439bbdf0be3d031aeecd8f594a34c48b41 /include | |
| parent | 0ec80bdc25caf358bf5dd6443acf5fe30c0678b5 (diff) | |
| download | otputils-329c8206aef20209aaf6a18bbe8f7afb1b49b61e.tar.gz otputils-329c8206aef20209aaf6a18bbe8f7afb1b49b61e.tar.bz2 otputils-329c8206aef20209aaf6a18bbe8f7afb1b49b61e.tar.xz otputils-329c8206aef20209aaf6a18bbe8f7afb1b49b61e.zip | |
libtotputils: renaming totputils_t to otputil_t
Diffstat (limited to 'include')
| -rw-r--r-- | include/totputils.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/totputils.h b/include/totputils.h index 0d24296..96cbcea 100644 --- a/include/totputils.h +++ b/include/totputils.h | |||
| @@ -143,7 +143,7 @@ | |||
| 143 | ///////////////// | 143 | ///////////////// |
| 144 | #pragma mark - Datatypes | 144 | #pragma mark - Datatypes |
| 145 | 145 | ||
| 146 | typedef struct _otputil_secret totputils_t; | 146 | typedef struct _otputil_secret otputil_t; |
| 147 | 147 | ||
| 148 | 148 | ||
| 149 | typedef struct _otputil_berval otputil_bv_t; | 149 | typedef struct _otputil_berval otputil_bv_t; |
| @@ -210,24 +210,24 @@ otputil_err2string( | |||
| 210 | 210 | ||
| 211 | _OTPUTIL_F void | 211 | _OTPUTIL_F void |
| 212 | otputil_free( | 212 | otputil_free( |
| 213 | totputils_t * tud ); | 213 | otputil_t * tud ); |
| 214 | 214 | ||
| 215 | 215 | ||
| 216 | _OTPUTIL_F int | 216 | _OTPUTIL_F int |
| 217 | otputil_get_param( | 217 | otputil_get_param( |
| 218 | totputils_t * tud, | 218 | otputil_t * tud, |
| 219 | int option, | 219 | int option, |
| 220 | void * outvalue ); | 220 | void * outvalue ); |
| 221 | 221 | ||
| 222 | 222 | ||
| 223 | _OTPUTIL_F int | 223 | _OTPUTIL_F int |
| 224 | otputil_initialize( | 224 | otputil_initialize( |
| 225 | totputils_t ** tudp ); | 225 | otputil_t ** tudp ); |
| 226 | 226 | ||
| 227 | 227 | ||
| 228 | _OTPUTIL_F int | 228 | _OTPUTIL_F int |
| 229 | otputil_set_param( | 229 | otputil_set_param( |
| 230 | totputils_t * tud, | 230 | otputil_t * tud, |
| 231 | int option, | 231 | int option, |
| 232 | const void * invalue ); | 232 | const void * invalue ); |
| 233 | 233 | ||
| @@ -251,12 +251,12 @@ otputil_getpass( | |||
| 251 | 251 | ||
| 252 | _OTPUTIL_F int | 252 | _OTPUTIL_F int |
| 253 | otputil_code( | 253 | otputil_code( |
| 254 | totputils_t * tud ); | 254 | otputil_t * tud ); |
| 255 | 255 | ||
| 256 | 256 | ||
| 257 | _OTPUTIL_F char * | 257 | _OTPUTIL_F char * |
| 258 | otputil_str( | 258 | otputil_str( |
| 259 | totputils_t * tud, | 259 | otputil_t * tud, |
| 260 | char * code, | 260 | char * code, |
| 261 | size_t code_len ); | 261 | size_t code_len ); |
| 262 | 262 | ||
| @@ -305,7 +305,7 @@ otputil_totp_str( | |||
| 305 | 305 | ||
| 306 | _OTPUTIL_F uint64_t | 306 | _OTPUTIL_F uint64_t |
| 307 | otputil_totp_timer( | 307 | otputil_totp_timer( |
| 308 | totputils_t * tud, | 308 | otputil_t * tud, |
| 309 | uint64_t totp_time ); | 309 | uint64_t totp_time ); |
| 310 | 310 | ||
| 311 | 311 | ||
