aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-02-22 17:41:15 +0000
committerRichard Levitte <levitte@openssl.org>2001-02-22 17:41:15 +0000
commit4270144b3911da8cddc6908659ded2b2f9d00ac6 (patch)
tree18ae26be9f6139a7b12a37ea068dc15f322f01ce /crypto
parent5031a89dc3b8c7842e6ac0a506b2d5b47ce0bbca (diff)
downloadopenssl-4270144b3911da8cddc6908659ded2b2f9d00ac6.zip
openssl-4270144b3911da8cddc6908659ded2b2f9d00ac6.tar.gz
openssl-4270144b3911da8cddc6908659ded2b2f9d00ac6.tar.bz2
CONF_METHOD is one of the few places where you find MS_FAR. I can't
really see why we need to define these function pointers with MS_FAR if it's not done cosistently everywhere. If we decide to support MS_FAR modifiers, it's better to have the named something more unique for OpenSSL and to define them in e_os2.h.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/conf/conf.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h
index 655fe2a..724378d 100644
--- a/crypto/conf/conf.h
+++ b/crypto/conf/conf.h
@@ -86,15 +86,15 @@ typedef struct conf_method_st CONF_METHOD;
struct conf_method_st
{
const char *name;
- CONF *(MS_FAR *create)(CONF_METHOD *meth);
- int (MS_FAR *init)(CONF *conf);
- int (MS_FAR *destroy)(CONF *conf);
- int (MS_FAR *destroy_data)(CONF *conf);
- int (MS_FAR *load_bio)(CONF *conf, BIO *bp, long *eline);
- int (MS_FAR *dump)(CONF *conf, BIO *bp);
- int (MS_FAR *is_number)(CONF *conf, char c);
- int (MS_FAR *to_int)(CONF *conf, char c);
- int (MS_FAR *load)(CONF *conf, const char *name, long *eline);
+ CONF *(*create)(CONF_METHOD *meth);
+ int (*init)(CONF *conf);
+ int (*destroy)(CONF *conf);
+ int (*destroy_data)(CONF *conf);
+ int (*load_bio)(CONF *conf, BIO *bp, long *eline);
+ int (*dump)(CONF *conf, BIO *bp);
+ int (*is_number)(CONF *conf, char c);
+ int (*to_int)(CONF *conf, char c);
+ int (*load)(CONF *conf, const char *name, long *eline);
};
int CONF_set_default_method(CONF_METHOD *meth);