PostgreSQL Source Code  git master
rmgrdesc.h
Go to the documentation of this file.
1 /*
2  * rmgrdesc.h
3  *
4  * pg_waldump resource managers declaration
5  *
6  * src/bin/pg_waldump/rmgrdesc.h
7  */
8 #ifndef RMGRDESC_H
9 #define RMGRDESC_H
10 
11 #include "access/xlogreader.h"
12 #include "lib/stringinfo.h"
13 
14 typedef struct RmgrDescData
15 {
16  const char *rm_name;
17  void (*rm_desc) (StringInfo buf, XLogReaderState *record);
18  const char *(*rm_identify) (uint8 info);
19 } RmgrDescData;
20 
21 extern const RmgrDescData RmgrDescTable[];
22 
23 #endif /* RMGRDESC_H */
unsigned char uint8
Definition: c.h:427
const RmgrDescData RmgrDescTable[]
Definition: rmgrdesc.c:38
static char * buf
Definition: pg_test_fsync.c:68
struct RmgrDescData RmgrDescData
const char * rm_name
Definition: rmgrdesc.h:16
void(* rm_desc)(StringInfo buf, XLogReaderState *record)
Definition: rmgrdesc.h:17