PostgreSQL Source Code  git master
rmgrdesc_utils.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * rmgrdesc_utils.h
4  * Support functions for rmgrdesc routines
5  *
6  * Copyright (c) 2023-2024, PostgreSQL Global Development Group
7  *
8  * src/include/access/rmgrdesc_utils.h
9  *
10  *-------------------------------------------------------------------------
11  */
12 #ifndef RMGRDESC_UTILS_H_
13 #define RMGRDESC_UTILS_H_
14 
15 extern void array_desc(StringInfo buf, void *array, size_t elem_size, int count,
16  void (*elem_desc) (StringInfo buf, void *elem, void *data),
17  void *data);
18 extern void offset_elem_desc(StringInfo buf, void *offset, void *data);
19 extern void redirect_elem_desc(StringInfo buf, void *offset, void *data);
20 extern void oid_elem_desc(StringInfo buf, void *relid, void *data);
21 
22 #endif /* RMGRDESC_UTILS_H_ */
const void * data
static char * buf
Definition: pg_test_fsync.c:73
void oid_elem_desc(StringInfo buf, void *relid, void *data)
void redirect_elem_desc(StringInfo buf, void *offset, void *data)
void array_desc(StringInfo buf, void *array, size_t elem_size, int count, void(*elem_desc)(StringInfo buf, void *elem, void *data), void *data)
void offset_elem_desc(StringInfo buf, void *offset, void *data)