1 /* 2 * rmgrdesc.h 3 * 4 * pg_xlogdump resource managers declaration 5 * 6 * src/bin/pg_xlogdump/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 */ 23