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 */ |
24 |