mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
ae4186b004
Make the include guards consistent by renaming them systematically according to the naming conventions below For the public header files (in the 'include/openssl' directory), the guard names try to match the path specified in the include directives, with all letters converted to upper case and '/' and '.' replaced by '_'. For the private header files files, an extra 'OSSL_' is added as prefix. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9333)
29 lines
706 B
C
29 lines
706 B
C
/*
|
|
* Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
|
|
#ifndef OSSL_APPS_UI_H
|
|
# define OSSL_APPS_UI_H
|
|
|
|
|
|
# define PW_MIN_LENGTH 4
|
|
typedef struct pw_cb_data {
|
|
const void *password;
|
|
const char *prompt_info;
|
|
} PW_CB_DATA;
|
|
|
|
int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_data);
|
|
|
|
int setup_ui_method(void);
|
|
void destroy_ui_method(void);
|
|
const UI_METHOD *get_ui_method(void);
|
|
|
|
extern BIO *bio_err;
|
|
|
|
#endif
|