diff options
author | Ben Laurie <ben@openssl.org> | 2002-01-18 16:51:05 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2002-01-18 16:51:05 +0000 |
commit | 9dd5ae65533ec43e66efe66e1bbcddce4cb05509 (patch) | |
tree | 7150828e2bcb1ac5c92435ddc3dee259facd72e7 /crypto/conf/conf_api.h | |
parent | e1e876072d813ac55a4a0b2c17ff55a0b27d1689 (diff) | |
download | openssl-9dd5ae65533ec43e66efe66e1bbcddce4cb05509.tar.gz |
Constification, add config to /dev/crypto.
Diffstat (limited to 'crypto/conf/conf_api.h')
-rw-r--r-- | crypto/conf/conf_api.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/crypto/conf/conf_api.h b/crypto/conf/conf_api.h index a5cc17b233..87a954aff6 100644 --- a/crypto/conf/conf_api.h +++ b/crypto/conf/conf_api.h @@ -67,15 +67,17 @@ extern "C" { #endif /* Up until OpenSSL 0.9.5a, this was new_section */ -CONF_VALUE *_CONF_new_section(CONF *conf, char *section); +CONF_VALUE *_CONF_new_section(CONF *conf, const char *section); /* Up until OpenSSL 0.9.5a, this was get_section */ -CONF_VALUE *_CONF_get_section(CONF *conf, char *section); +CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section); /* Up until OpenSSL 0.9.5a, this was CONF_get_section */ -STACK_OF(CONF_VALUE) *_CONF_get_section_values(CONF *conf, char *section); +STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, + const char *section); int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); -char *_CONF_get_string(CONF *conf, char *section, char *name); -long _CONF_get_number(CONF *conf, char *section, char *name); +char *_CONF_get_string(const CONF *conf, const char *section, + const char *name); +long _CONF_get_number(const CONF *conf, const char *section, const char *name); int _CONF_new_data(CONF *conf); void _CONF_free_data(CONF *conf); |