#pragma once #ifndef UTL_INADDR_HPP #define UTL_INADDR_HPP extern "C" { #include "postgres.h" #include "fmgr.h" } extern "C" Datum utl_inaddr_get_host_address(PG_FUNCTION_ARGS); extern "C" Datum utl_inaddr_get_host_name(PG_FUNCTION_ARGS); extern "C" Datum utl_inaddr_get_local_ip(PG_FUNCTION_ARGS); extern "C" Datum utl_inaddr_get_version(PG_FUNCTION_ARGS); #endif // UTL_MAIL_INTERNAL_HPP