提交 02398765 编写于 作者: R Richard Levitte

Remove certain functions

上级 93c929e4
......@@ -90,6 +90,8 @@ void ENGINE_register_all_STORE()
ENGINE_register_STORE(e);
}
/* The following two functions are removed because they're useless. */
#if 0
int ENGINE_set_default_STORE(ENGINE *e)
{
if(e->store_meth)
......@@ -97,7 +99,9 @@ int ENGINE_set_default_STORE(ENGINE *e)
engine_unregister_all_STORE, e, &dummy_nid, 1, 1);
return 1;
}
#endif
#if 0
/* Exposed API function to get a functional reference from the implementation
* table (ie. try to get a functional reference from the tabled structural
* references). */
......@@ -105,6 +109,7 @@ ENGINE *ENGINE_get_default_STORE(void)
{
return engine_table_select(&store_table, dummy_nid);
}
#endif
/* Obtains an STORE implementation from an ENGINE functional reference */
const STORE_METHOD *ENGINE_get_STORE(const ENGINE *e)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册