15 #ifndef REWIND_SOURCE_H
16 #define REWIND_SOURCE_H
48 off_t offset,
size_t len);
void(* process_file_callback_t)(const char *path, file_type_t type, size_t size, const char *link_target)
struct rewind_source rewind_source
rewind_source * init_libpq_source(PGconn *conn)
rewind_source * init_local_source(const char *datadir)
void(* queue_fetch_file)(struct rewind_source *, const char *path, size_t len)
void(* traverse_files)(struct rewind_source *, process_file_callback_t callback)
void(* finish_fetch)(struct rewind_source *)
XLogRecPtr(* get_current_wal_insert_lsn)(struct rewind_source *)
void(* queue_fetch_range)(struct rewind_source *, const char *path, off_t offset, size_t len)
void(* destroy)(struct rewind_source *)
static void callback(struct sockaddr *addr, struct sockaddr *mask, void *unused)