| Kea 3.0.2-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
17 extern user_chk::UserRegistryPtr user_registry;
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
user_chk::UserRegistryPtr
boost::shared_ptr< UserRegistry > UserRegistryPtr
Define a smart pointer to a UserRegistry.
Definition user_registry.h:118
registry_fname
const char * registry_fname
User registry input file name.
Definition user_chk/load_unload.cc:31
query_user_id_label
const char * query_user_id_label
Text label of user id in the inbound query in callout context.
Definition user_chk/load_unload.cc:38
user_chk_output_fname
const char * user_chk_output_fname
User check outcome file name.
Definition user_chk/load_unload.cc:35
user_chk_output
std::fstream user_chk_output
Output filestream for recording user check outcomes.
Definition user_chk/load_unload.cc:27
user_registry
UserRegistryPtr user_registry
Pointer to the registry instance.
Definition user_chk/load_unload.cc:24
default_user4_id_str
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...
Definition user_chk/load_unload.cc:47
registered_user_label
const char * registered_user_label
Text label of registered user pointer in callout context.
Definition user_chk/load_unload.cc:41
default_user6_id_str
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...
Definition user_chk/load_unload.cc:53
user_registry.h
Defines the class, UserRegistry.