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.
This commit is contained in:
parent
5031a89dc3
commit
4270144b39
@ -86,15 +86,15 @@ typedef struct conf_method_st CONF_METHOD;
|
|||||||
struct conf_method_st
|
struct conf_method_st
|
||||||
{
|
{
|
||||||
const char *name;
|
const char *name;
|
||||||
CONF *(MS_FAR *create)(CONF_METHOD *meth);
|
CONF *(*create)(CONF_METHOD *meth);
|
||||||
int (MS_FAR *init)(CONF *conf);
|
int (*init)(CONF *conf);
|
||||||
int (MS_FAR *destroy)(CONF *conf);
|
int (*destroy)(CONF *conf);
|
||||||
int (MS_FAR *destroy_data)(CONF *conf);
|
int (*destroy_data)(CONF *conf);
|
||||||
int (MS_FAR *load_bio)(CONF *conf, BIO *bp, long *eline);
|
int (*load_bio)(CONF *conf, BIO *bp, long *eline);
|
||||||
int (MS_FAR *dump)(CONF *conf, BIO *bp);
|
int (*dump)(CONF *conf, BIO *bp);
|
||||||
int (MS_FAR *is_number)(CONF *conf, char c);
|
int (*is_number)(CONF *conf, char c);
|
||||||
int (MS_FAR *to_int)(CONF *conf, char c);
|
int (*to_int)(CONF *conf, char c);
|
||||||
int (MS_FAR *load)(CONF *conf, const char *name, long *eline);
|
int (*load)(CONF *conf, const char *name, long *eline);
|
||||||
};
|
};
|
||||||
|
|
||||||
int CONF_set_default_method(CONF_METHOD *meth);
|
int CONF_set_default_method(CONF_METHOD *meth);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user