Kea 3.3.3
user_chk.h
Go to the documentation of this file.
1// Copyright (C) 2013-2026 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
10
11#include <fstream>
12#include <string>
13
14// The following constants are used throughout the library. They are defined
15// in load_unload.cc
16
19
21extern std::fstream user_chk_output;
22
24extern const char* registry_fname;
25
27extern const char* user_chk_output_fname;
28
30extern const char* query_user_id_label;
31
33extern const char* registered_user_label;
34
36extern const char* default_user4_id_str;
37
39extern const char* default_user6_id_str;
40
41#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.
std::fstream user_chk_output
Output filestream for recording user check outcomes.
UserRegistryPtr user_registry
Pointer to the registry instance.
const char * default_user4_id_str
Text id used to identify the default IPv4 user in the registry The format is a string containing an e...
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 The format is a string containing an e...
Defines the class, UserRegistry.