Unmark gen_random_uuid() function leakproof.
[pgsql.git] / src / include / storage / dsm_registry.h
blob5fa79731d28014acb75a4a41d29767376ddaf002
1 /*-------------------------------------------------------------------------
3 * dsm_registry.h
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),
18 bool *found);
20 extern Size DSMRegistryShmemSize(void);
21 extern void DSMRegistryShmemInit(void);
23 #endif /* DSM_REGISTRY_H */