PostgreSQL Source Code git master
Loading...
Searching...
No Matches
subsystems.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * subsystems.h
4 * Provide extern declarations for all the built-in subsystem callbacks
5 *
6 *
7 * Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
9 *
10 * src/include/storage/subsystems.h
11 *
12 *-------------------------------------------------------------------------
13 */
14#ifndef SUBSYSTEMS_H
15#define SUBSYSTEMS_H
16
17#include "storage/shmem.h"
18
19/*
20 * Extern declarations of all the built-in subsystem callbacks
21 *
22 * The actual list is in subsystemlist.h, so that the same list can be used
23 * for other purposes.
24 */
25#define PG_SHMEM_SUBSYSTEM(callbacks) \
26 extern const ShmemCallbacks callbacks;
28#undef PG_SHMEM_SUBSYSTEM
29
30#endif /* SUBSYSTEMS_H */