int libvlc_InternalKeystoreInit(libvlc_int_t *p_libvlc) { assert(p_libvlc != NULL); libvlc_priv_t *p_priv = libvlc_priv(p_libvlc); p_priv->p_memory_keystore = keystore_create(VLC_OBJECT(p_libvlc), "memory"); return p_priv->p_memory_keystore != NULL ? VLC_SUCCESS : VLC_EGENERIC; }
vlc_keystore * vlc_keystore_create(vlc_object_t *p_parent) { assert(p_parent); char *modlist = var_InheritString(p_parent, "keystore"); vlc_keystore *p_keystore = keystore_create(p_parent, modlist); free(modlist); return p_keystore; }
_public_ int dnssec_keystore_create_pkcs11(dnssec_keystore_t **store_ptr) { return keystore_create(store_ptr, &PKCS11_FUNCTIONS, NULL); }
vlc_keystore * vlc_keystore_create(vlc_object_t *p_parent) { assert(p_parent); return keystore_create(p_parent, "$keystore"); }