Kea  1.9.9-git
user_chk.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 #ifndef USER_CHK_H
7 #define USER_CHK_H
8 
9 #include <user_registry.h>
10 #include <fstream>
11 #include <string>
12 
13 // The following constants are used throughout the library. They are defined
14 // in load_unload.cc
15 
18 
20 extern std::fstream user_chk_output;
21 
23 extern const char* registry_fname;
24 
26 extern const char* user_chk_output_fname;
27 
29 extern const char* query_user_id_label;
30 
32 extern const char* registered_user_label;
33 
35 extern const char* default_user4_id_str;
36 
38 extern const char* default_user6_id_str;
39 
40 #endif
const char * default_user4_id_str
Text id used to identify the default IPv4 user in the registry.
Definition: load_unload.cc:47
const char * registered_user_label
Text label of registered user pointer in callout context.
Definition: load_unload.cc:41
const char * query_user_id_label
Text label of user id in the inbound query in callout context.
Definition: load_unload.cc:38
std::fstream user_chk_output
Output filestream for recording user check outcomes.
Definition: load_unload.cc:27
const char * registry_fname
User registry input file name.
Definition: load_unload.cc:31
user_chk::UserRegistryPtr user_registry
Pointer to the registry instance.
Definition: load_unload.cc:24
const char * default_user6_id_str
Text id used to identify the default IPv6 user in the registry.
Definition: load_unload.cc:53
boost::shared_ptr< UserRegistry > UserRegistryPtr
Define a smart pointer to a UserRegistry.
Defines the class, UserRegistry.
const char * user_chk_output_fname
User check outcome file name.
Definition: load_unload.cc:35