X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazproxy%2Fmodule.h;h=d701209876109a65a3a36cc791fd07b2d6498e55;hb=66663d272496cedff1da574891413f90ce716b85;hp=7afbff55cf6ce5e178d2917f9e7c8cbb94bcf22b;hpb=7f81d5b3aa6b9d7e4c5c1e02c91dd416eb97d19e;p=yazproxy-moved-to-github.git diff --git a/include/yazproxy/module.h b/include/yazproxy/module.h index 7afbff5..d701209 100644 --- a/include/yazproxy/module.h +++ b/include/yazproxy/module.h @@ -1,4 +1,4 @@ -/* $Id: module.h,v 1.2 2005-02-21 14:27:31 adam Exp $ +/* $Id: module.h,v 1.3 2005-05-30 20:09:20 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -50,4 +50,22 @@ struct Yaz_ProxyModule_int0 { ); }; +class Yaz_ProxyModule; + +class Yaz_ProxyModules { + friend class Proxy_Msg; + public: + Yaz_ProxyModules(); + ~Yaz_ProxyModules(); + int authenticate(const char *module_name, + const char *target_name, void *element_ptr, + const char *user, + const char *group, + const char *password); + int add_module(const char *fname); + void unload_modules(); + private: + Yaz_ProxyModule *m_list; +}; + #endif