Lines Matching refs:fns
710 const dynamic_fns *fns);
713 int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns); \
715 int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { \
716 if(ENGINE_get_static_state() == fns->static_state) goto skip_cbs; \
717 if(!CRYPTO_set_mem_functions(fns->mem_fns.malloc_cb, \
718 fns->mem_fns.realloc_cb, fns->mem_fns.free_cb)) \
720 CRYPTO_set_locking_callback(fns->lock_fns.lock_locking_cb); \
721 CRYPTO_set_add_lock_callback(fns->lock_fns.lock_add_lock_cb); \
722 CRYPTO_set_dynlock_create_callback(fns->lock_fns.dynlock_create_cb); \
723 CRYPTO_set_dynlock_lock_callback(fns->lock_fns.dynlock_lock_cb); \
724 CRYPTO_set_dynlock_destroy_callback(fns->lock_fns.dynlock_destroy_cb); \
725 if(!CRYPTO_set_ex_data_implementation(fns->ex_data_fns)) \
727 if(!ERR_set_implementation(fns->err_fns)) return 0; \