Kea 2.7.5
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
20extern std::fstream user_chk_output;
21
23extern const char* registry_fname;
24
26extern const char* user_chk_output_fname;
27
29extern const char* query_user_id_label;
30
32extern const char* registered_user_label;
33
35extern const char* default_user4_id_str;
36
38extern const char* default_user6_id_str;
39
40#endif
boost::shared_ptr< UserRegistry > UserRegistryPtr
Define a smart pointer to a UserRegistry.
const char * registry_fname
User registry input file name.
const char * query_user_id_label
Text label of user id in the inbound query in callout context.
const char * user_chk_output_fname
User check outcome file name.
user_chk::UserRegistryPtr user_registry
Pointer to the registry instance.
std::fstream user_chk_output
Output filestream for recording user check outcomes.
const char * default_user4_id_str
Text id used to identify the default IPv4 user in the registry.
const char * registered_user_label
Text label of registered user pointer in callout context.
const char * default_user6_id_str
Text id used to identify the default IPv6 user in the registry.
Defines the class, UserRegistry.