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 "lib/stringinfo.h"
12 
13 typedef struct RmgrDescData
14 {
15  const char *rm_name;
16  void (*rm_desc) (StringInfo buf, XLogReaderState *record);
17  const char *(*rm_identify) (uint8 info);
18 } RmgrDescData;
19 
20 extern const RmgrDescData RmgrDescTable[];
21 
22 #endif /* RMGRDESC_H */
unsigned char uint8
Definition: c.h:294
const RmgrDescData RmgrDescTable[]
Definition: rmgrdesc.c:38
static char * buf
Definition: pg_test_fsync.c:67
struct RmgrDescData RmgrDescData
const char * rm_name
Definition: rmgrdesc.h:15
void(* rm_desc)(StringInfo buf, XLogReaderState *record)
Definition: rmgrdesc.h:16