1 /*-------------------------------------------------------------------------
4 * Functions for interfacing with the dynamic shared memory registry.
6 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/storage/dsm_registry.h
11 *-------------------------------------------------------------------------
13 #ifndef DSM_REGISTRY_H
14 #define DSM_REGISTRY_H
16 extern void *GetNamedDSMSegment(const char *name
, size_t size
,
17 void (*init_callback
) (void *ptr
),
20 extern Size
DSMRegistryShmemSize(void);
21 extern void DSMRegistryShmemInit(void);
23 #endif /* DSM_REGISTRY_H */