mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-22 21:59:59 +00:00
The pg_control_ffi.h name implies that it only includes stuff related to pg_control.h. That's mostly true currently, but really the point of the file is to include everything that we need to generate Rust definitions from.
15 lines
459 B
C
15 lines
459 B
C
/*
|
|
* This header file is the input to bindgen. It includes all the
|
|
* PostgreSQL headers that we need to auto-generate Rust structs
|
|
* from. If you need to expose a new struct to Rust code, add the
|
|
* header here, and whitelist the struct in the build.rs file.
|
|
*/
|
|
#include "c.h"
|
|
#include "catalog/pg_control.h"
|
|
#include "access/xlog_internal.h"
|
|
|
|
#include "storage/block.h"
|
|
#include "storage/bufpage.h"
|
|
#include "storage/off.h"
|
|
#include "access/multixact.h"
|