X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fapps.h;h=ce1f0fd9afbb08f6aa181c7d142d40aba0af8d9f;hp=3ad21bb9a9a5e3c565a105b730275969b985164a;hb=a31011e8e0ea18f1cc79d7eb53238768ae9369c6;hpb=ec577822f95a8bca0023c5c77cef1a4916822d4a diff --git a/apps/apps.h b/apps/apps.h index 3ad21bb9a9..ce1f0fd9af 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -59,13 +59,23 @@ #ifndef HEADER_APPS_H #define HEADER_APPS_H -#include +#include "openssl/e_os.h" #include #include #include #include "progs.h" +int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn); +int app_RAND_write_file(const char *file, BIO *bio_e); +/* When `file' is NULL, use defaults. + * `bio_e' is for error messages. */ +void app_RAND_allow_write_file(void); +long app_RAND_load_files(char *file); /* `file' is a list of files to read, + * separated by LIST_SEPARATOR_CHAR + * (see e_os.h). The string is + * destroyed! */ + #ifdef NO_STDIO BIO_METHOD *BIO_s_file(); #endif @@ -122,25 +132,16 @@ extern BIO *bio_err; #endif typedef struct args_st - { - char **data; + { + char **data; int count; - } ARGS; + } ARGS; -#ifndef NOPROTO int should_retry(int i); int args_from_file(char *file, int *argc, char **argv[]); int str2fmt(char *s); void program_name(char *in,char *out,int size); int chopup_args(ARGS *arg,char *buf, int *argc, char **argv[]); -#else -int should_retry(); -int args_from_file(); -int str2fmt(); -void program_name(); -int chopup_args(); -#endif - #define FORMAT_UNDEF 0 #define FORMAT_ASN1 1 #define FORMAT_TEXT 2