#pragma once extern "C" { #include "postgres.h" #include "fmgr.h" } extern "C" { Datum dbms_blockchain_table_register_table(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_add_certificate(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_before_insert(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_no_modify(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_delete_expired_rows(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_get_bytes_for_row_hash(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_get_bytes_for_row_signature(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_sign_row(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_verify_rows(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_get_signed_blockchain_digest(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_anchor_digest(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_verify_table_blockchain(PG_FUNCTION_ARGS); Datum dbms_blockchain_table_get_version(PG_FUNCTION_ARGS); }