PostgreSQL Source Code
git master
Loading...
Searching...
No Matches
injection_points.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* injection_points.h
4
* Definitions for the injection points module
5
*
6
* Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* IDENTIFICATION
10
* src/test/modules/injection_points/injection_points.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
15
#ifndef INJECTION_POINTS_H
16
#define INJECTION_POINTS_H
17
18
typedef
enum
InjectionPointConditionType
19
{
20
INJ_CONDITION_ALWAYS
= 0,
/* always run */
21
INJ_CONDITION_PID
,
/* PID restriction */
22
}
InjectionPointConditionType
;
23
24
typedef
struct
InjectionPointCondition
25
{
26
/* Type of the condition */
27
InjectionPointConditionType
type
;
28
29
/* ID of the process where the injection point is allowed to run */
30
int
pid
;
31
}
InjectionPointCondition
;
32
33
#endif
/* INJECTION_POINTS_H */
InjectionPointConditionType
InjectionPointConditionType
Definition
injection_points.h:19
INJ_CONDITION_PID
@ INJ_CONDITION_PID
Definition
injection_points.h:21
INJ_CONDITION_ALWAYS
@ INJ_CONDITION_ALWAYS
Definition
injection_points.h:20
InjectionPointCondition
Definition
injection_points.h:25
InjectionPointCondition::pid
int pid
Definition
injection_points.h:30
InjectionPointCondition::type
InjectionPointConditionType type
Definition
injection_points.h:27
src
test
modules
injection_points
injection_points.h
Generated on Fri May 22 2026 03:13:18 for PostgreSQL Source Code by
1.9.8