• R
    I've always wanted to make the CONF library more adaptable. Here's · d86b6915
    Richard Levitte 提交于
    the result.
    
    I have retained the old behavior of the CONF_* functions, and have
    added a more "object oriented" interface through NCONF_* functions
    (New CONF, you see :-)), working the same way as, for example, the
    BIO interface.  Really, the CONF_* are rewritten so they use the
    NCONF_* functions internally.
    
    In addition to that, I've split the old conf.c code into two files,
    conf_def.c and conf_api.c.  conf_def.c contains the default config
    object that reads a configuration file the standard OpenSSL way, as
    well as configuration file with Win32 registry file syntax (I'm not
    sure I got that one right).  conf_api.c provides an API to build other
    configuration file readers around (can you see a configuraion file in
    XML?  I can :-)).
    
    Finally, I've changed the name conf_lcl.h to conf_def.h, since it's
    made specifically for that "class" and none others.
    d86b6915
conf_api.h 3.9 KB