-/* $Id: filter_auth_simple.hpp,v 1.5 2006-01-18 13:32:46 mike Exp $
- Copyright (c) 2005, Index Data.
+/* $Id: filter_auth_simple.hpp,v 1.8 2007-01-25 14:05:54 adam Exp $
+ Copyright (c) 2005-2007, Index Data.
-%LICENSE%
+ See the LICENSE file for details
*/
#ifndef FILTER_AUTH_SIMPLE_HPP
#include "filter.hpp"
-namespace yp2 {
+namespace metaproxy_1 {
namespace filter {
class AuthSimple : public Base {
class Rep;
AuthSimple();
~AuthSimple();
void configure(const xmlNode * ptr);
- void process(yp2::Package & package) const;
+ void process(metaproxy_1::Package & package) const;
private:
void config_userRegister(std::string filename);
void config_targetRegister(std::string filename);
- void process_init(yp2::Package & package) const;
- void process_search(yp2::Package & package) const;
- void process_scan(yp2::Package & package) const;
- void check_targets(yp2::Package & package) const;
+ void process_init(metaproxy_1::Package & package) const;
+ void process_search(metaproxy_1::Package & package) const;
+ void process_scan(metaproxy_1::Package & package) const;
+ void check_targets(metaproxy_1::Package & package) const;
};
}
}
extern "C" {
- extern struct yp2_filter_struct yp2_filter_auth_simple;
+ extern struct metaproxy_1_filter_struct metaproxy_1_filter_auth_simple;
}
#endif