Copyright (c) 1998-2005, Index Data.
This file is part of the yaz-proxy.
Copyright (c) 1998-2005, Index Data.
This file is part of the yaz-proxy.
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,
- const char *user, const char *group, const char *password);
+ const char *user, const char *group, const char *password,
+ const char *peer_IP);
int Yaz_ProxyModule::authenticate(const char *name,
void *element_ptr,
const char *user, const char *group,
int Yaz_ProxyModule::authenticate(const char *name,
void *element_ptr,
const char *user, const char *group,
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,
if (m->is_module(module_name))
{
ret = m->authenticate(target_name, element_ptr,
if (m->is_module(module_name))
{
ret = m->authenticate(target_name, element_ptr,