1
#if !defined(RESIP_ISTRUSTEDNODE_REQUEST_PROCESSOR_HXX)
2
#define RESIP_ISTRUSTEDNODE_REQUEST_PROCESSOR_HXX
3
#include "repro/Processor.hxx"
4
#include "rutil/KeyValueStore.hxx"
13
class IsTrustedNode: public Processor
16
static resip::KeyValueStore::Key mFromTrustedNodeKey;
18
IsTrustedNode(ProxyConfig& config);
19
virtual ~IsTrustedNode();
21
virtual processor_action_t process(RequestContext &);
29
/* ====================================================================
30
* The Vovida Software License, Version 1.0
32
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
34
* Redistribution and use in source and binary forms, with or without
35
* modification, are permitted provided that the following conditions
38
* 1. Redistributions of source code must retain the above copyright
39
* notice, this list of conditions and the following disclaimer.
41
* 2. Redistributions in binary form must reproduce the above copyright
42
* notice, this list of conditions and the following disclaimer in
43
* the documentation and/or other materials provided with the
46
* 3. The names "VOCAL", "Vovida Open Communication Application Library",
47
* and "Vovida Open Communication Application Library (VOCAL)" must
48
* not be used to endorse or promote products derived from this
49
* software without prior written permission. For written
50
* permission, please contact vocal@vovida.org.
52
* 4. Products derived from this software may not be called "VOCAL", nor
53
* may "VOCAL" appear in their name, without prior written
54
* permission of Vovida Networks, Inc.
56
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
57
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
58
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
59
* NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
60
* NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
61
* IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
62
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
63
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
64
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
65
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
66
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
67
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
70
* ====================================================================
72
* This software consists of voluntary contributions made by Vovida
73
* Networks, Inc. and many individuals on behalf of Vovida Networks,
74
* Inc. For more information on Vovida Networks, Inc., please see
75
* <http://www.vovida.org/>.