#include "postgres.h"
#include "fmgr.h"

PG_MODULE_MAGIC;

PG_FUNCTION_INFO_V1(hashblob_touch);
PG_FUNCTION_INFO_V1(hashblob_write_raw);

extern "C" Datum hashblob_touch (PG_FUNCTION_ARGS) {
    //bytea const * const p = PG_GETARG_BYTEA_PP (0);

    PG_RETURN_BOOL (false);
}

extern "C" Datum hashblob_write_raw (PG_FUNCTION_ARGS) {
    bytea const * const p = PG_GETARG_BYTEA_PP (0);

    bytea const * r = p;
    PG_RETURN_BYTEA_P (r);
}
