X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Fconf%2Fconf.h;h=cd40a0db215acbd8d9b9562123d4dafa382addce;hb=cde70093ac2bd2853ad81b98012ec639457ddc3b;hp=0ec58e1200c678d59e061b7c566777f243d3eeea;hpb=d86b6915bebbd86c46680e24d152f497cd85bc85;p=openssl.git diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h index 0ec58e1200..cd40a0db21 100644 --- a/crypto/conf/conf.h +++ b/crypto/conf/conf.h @@ -59,16 +59,16 @@ #ifndef HEADER_CONF_H #define HEADER_CONF_H -#ifdef __cplusplus -extern "C" { -#endif - #include #include #include #include #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { char *section; @@ -106,7 +106,6 @@ STACK_OF(CONF_VALUE) *CONF_get_section(LHASH *conf,char *section); char *CONF_get_string(LHASH *conf,char *group,char *name); long CONF_get_number(LHASH *conf,char *group,char *name); void CONF_free(LHASH *conf); -void CONF_dump(LHASH *conf, BIO *out); int CONF_dump_fp(LHASH *conf, FILE *out); int CONF_dump_bio(LHASH *conf, BIO *out); void ERR_load_CONF_strings(void ); @@ -168,6 +167,8 @@ int NCONF_dump_bio(CONF *conf, BIO *out); #define CONF_R_MISSING_EQUAL_SIGN 101 #define CONF_R_NO_CLOSE_BRACE 102 #define CONF_R_NO_CONF 105 +#define CONF_R_NO_CONF_OR_ENVIRONMENT_VARIABLE 106 +#define CONF_R_NO_SECTION 107 #define CONF_R_UNABLE_TO_CREATE_NEW_SECTION 103 #define CONF_R_VARIABLE_HAS_NO_VALUE 104