Kea
1.5.0
fork.h
Go to the documentation of this file.
1
// Copyright (C) 2011-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
7
#ifndef UTIL_UNITTESTS_FORK_H
8
#define UTIL_UNITTESTS_FORK_H 1
9
10
#include <unistd.h>
11
19
namespace
isc
{
20
namespace
util {
21
namespace
unittests {
22
31
bool
32
process_ok
(pid_t process);
33
34
pid_t
35
provide_input
(
int
* read_pipe,
const
void
* input,
const
size_t
length);
36
37
pid_t
38
check_output
(
int
* write_pipe,
const
void
*
const
output,
const
size_t
length);
39
40
}
// End of the namespace
41
}
42
}
43
44
#endif // UTIL_UNITTESTS_FORK_H
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::util::unittests::process_ok
bool process_ok(pid_t process)
Checks that a process terminates correctly.
Definition:
fork.cc:36
isc::util::unittests::check_output
pid_t check_output(int *write_pipe, const void *const output, const size_t length)
Definition:
fork.cc:95
isc::util::unittests::provide_input
pid_t provide_input(int *read_pipe, const void *input, const size_t length)
Definition:
fork.cc:67
src
lib
util
unittests
fork.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18