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);
20 
21 extern const RmgrDescData *GetRmgrDesc(RmgrId rmid);
22 
23 #endif /* RMGRDESC_H */
uint8_t uint8
Definition: c.h:483
static char * buf
Definition: pg_test_fsync.c:72
uint8 RmgrId
Definition: rmgr.h:11
const RmgrDescData * GetRmgrDesc(RmgrId rmid)
Definition: rmgrdesc.c:87
struct RmgrDescData RmgrDescData
const char * rm_name
Definition: rmgrdesc.h:16
void(* rm_desc)(StringInfo buf, XLogReaderState *record)
Definition: rmgrdesc.h:17