OpenHIP 0.9svn1
|
#include <hip_cfg_files.h>
Public Member Functions | |
int | loadCfg (struct hip_conf *hc) |
int | closeCfg () |
int | postLocalCert (const char *hit) |
int | verifyCert (const char *url, const hip_hit hit) |
int | setUnderlayIpAddress (const char *ip) |
Static Public Member Functions | |
static hipCfgFiles * | getInstance () |
Private Member Functions | |
hipCfgFiles () | |
Static Private Attributes | |
static hipCfgFiles * | _instance = NULL |
hipCfgFiles::hipCfgFiles | ( | ) | [private] |
Referenced by getInstance().
int hipCfgFiles::closeCfg | ( | ) | [virtual] |
Implements hipCfg.
hipCfgFiles * hipCfgFiles::getInstance | ( | ) | [static] |
References _instance, and hipCfgFiles().
Referenced by hipcfg_allowed_peers(), hipcfg_close(), hipcfg_getEndboxByLegacyNode(), hipcfg_getLegacyNodesByEndbox(), hipcfg_getLlipByEndbox(), hipcfg_getLocalCertUrl(), hipcfg_getMyHostId(), hipcfg_getPeerNodes(), hipcfg_init(), hipcfg_peers_allowed(), hipcfg_postLocalCert(), hipcfg_setUnderlayIpAddress(), and hipcfg_verifyCert().
int hipCfgFiles::loadCfg | ( | struct hip_conf * | hc | ) | [virtual] |
Implements hipCfg.
References hipCfg::_hcfg, hipCfg::_ssl, and hipCfg::getEndboxMapsFromLocalFile().
int hipCfgFiles::postLocalCert | ( | const char * | hit | ) | [virtual] |
Implements hipCfg.
References hipCfg::_hcfg, and hip_conf::peer_certificate_required.
int hipCfgFiles::setUnderlayIpAddress | ( | const char * | ip | ) | [inline, virtual] |
Implements hipCfg.
int hipCfgFiles::verifyCert | ( | const char * | url, |
const hip_hit | hit | ||
) | [virtual] |
Implements hipCfg.
References hipCfg::_hcfg, and hip_conf::peer_certificate_required.
hipCfgFiles * hipCfgFiles::_instance = NULL [static, private] |
Referenced by getInstance().