name of the library file (which may not be acceptable as a C symbol
name anyways) to "kdb_function_table" always.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17957
dc483132-0cff-0310-8789-
dd5450dbe970
(*lib)->dl_handle = dlopen(dl_name, RTLD_NOW);
if ((*lib)->dl_handle) {
/* found the module */
- sprintf(dl_name, "krb5_db_vftabl_%s", lib_name);
-
dlerror();
- vftabl_addr = dlsym((*lib)->dl_handle, dl_name);
+ vftabl_addr = dlsym((*lib)->dl_handle, "kdb_function_table");
if (vftabl_addr) {
memcpy(&(*lib)->vftabl, vftabl_addr, sizeof(kdb_vftabl));
-krb5_db_vftabl_db2
+kdb_function_table
* Exposed API
*/
-kdb_vftabl krb5_db_vftabl_db2 = {
+kdb_vftabl kdb_function_table = {
1, /* major version number 1 */
0, /* minor version number 0 */
/* init_library */ hack_init,