-/* $Id: modules.cpp,v 1.5 2006-03-09 14:12:24 adam Exp $
- Copyright (c) 1998-2005, Index Data.
+/* $Id: modules.cpp,v 1.7 2006-03-30 10:32:16 adam Exp $
+ Copyright (c) 1998-2006, Index Data.
YAZ proxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
YAZ proxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
void *m_user_handle; /* user handle */
public:
Yaz_ProxyModule(void *dl_handle, Yaz_ProxyModule_entry *ent,
Yaz_ProxyModule *next);
~Yaz_ProxyModule();
void *m_user_handle; /* user handle */
public:
Yaz_ProxyModule(void *dl_handle, Yaz_ProxyModule_entry *ent,
Yaz_ProxyModule *next);
~Yaz_ProxyModule();
Yaz_ProxyModule *get_next() { return m_next; };
int is_module(const char *name);
int authenticate(const char *target_name, void *element_ptr,
Yaz_ProxyModule *get_next() { return m_next; };
int is_module(const char *name);
int authenticate(const char *target_name, void *element_ptr,
if (!int0->authenticate)
return YAZPROXY_RET_NOT_ME;
return (*int0->authenticate)(m_user_handle, name, element_ptr,
if (!int0->authenticate)
return YAZPROXY_RET_NOT_ME;
return (*int0->authenticate)(m_user_handle, name, element_ptr,