#ifndef OWA_UTIL_INTERNAL_HPP #define OWA_UTIL_INTERNAL_HPP extern "C" { #include "postgres.h" #include "fmgr.h" #include "utils/builtins.h" #include "utils/numeric.h" #include "utils/date.h" #include "utils/timestamp.h" #include "utils/array.h" #include "catalog/pg_type.h" #include "executor/spi.h" } // extern "C" extern "C" { Datum owa_util_bind_variables(PG_FUNCTION_ARGS); Datum owa_util_calendarprint_ovr1(PG_FUNCTION_ARGS); Datum owa_util_calendarprint_ovr2(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr1(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr2(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr3(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr4(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr5(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr6(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr7(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr8(PG_FUNCTION_ARGS); Datum owa_util_cellsprint_ovr9(PG_FUNCTION_ARGS); Datum owa_util_choose_date(PG_FUNCTION_ARGS); Datum owa_util_comma_to_ident_arr_ovr1(PG_FUNCTION_ARGS); Datum owa_util_comma_to_ident_arr_ovr2(PG_FUNCTION_ARGS); Datum owa_util_describe_cols(PG_FUNCTION_ARGS); // Datum owa_util_get_cgi_env(PG_FUNCTION_ARGS); Datum owa_util_get_owa_service_path(PG_FUNCTION_ARGS); Datum owa_util_get_procedure(PG_FUNCTION_ARGS); Datum owa_util_get_version(PG_FUNCTION_ARGS); Datum owa_util_ite(PG_FUNCTION_ARGS); Datum owa_util_listprint_ovr1(PG_FUNCTION_ARGS); Datum owa_util_listprint_ovr2(PG_FUNCTION_ARGS); Datum owa_util_mime_header(PG_FUNCTION_ARGS); Datum owa_util_name_resolve(PG_FUNCTION_ARGS); Datum owa_util_path_to_me(PG_FUNCTION_ARGS); Datum owa_util_redirect_url(PG_FUNCTION_ARGS); Datum owa_util_resolve_table(PG_FUNCTION_ARGS); Datum owa_util_showsource(PG_FUNCTION_ARGS); Datum owa_util_show_query_columns(PG_FUNCTION_ARGS); Datum owa_util_signature_ovr1(PG_FUNCTION_ARGS); Datum owa_util_signature_ovr2(PG_FUNCTION_ARGS); Datum owa_util_status_line(PG_FUNCTION_ARGS); Datum owa_util_tablecaption(PG_FUNCTION_ARGS); Datum owa_util_tableclose_ovr1(PG_FUNCTION_ARGS); Datum owa_util_tableclose_ovr2(PG_FUNCTION_ARGS); Datum owa_util_tabledata(PG_FUNCTION_ARGS); Datum owa_util_tableheader_ovr1(PG_FUNCTION_ARGS); Datum owa_util_tableheader_ovr2(PG_FUNCTION_ARGS); Datum owa_util_tableheaderrowclose_ovr1(PG_FUNCTION_ARGS); Datum owa_util_tableheaderrowclose_ovr2(PG_FUNCTION_ARGS); Datum owa_util_tableheaderrowopen_ovr1(PG_FUNCTION_ARGS); Datum owa_util_tableheaderrowopen_ovr2(PG_FUNCTION_ARGS); Datum owa_util_tablenodata(PG_FUNCTION_ARGS); Datum owa_util_tableopen(PG_FUNCTION_ARGS); Datum owa_util_tableprint(PG_FUNCTION_ARGS); Datum owa_util_tablerowclose(PG_FUNCTION_ARGS); Datum owa_util_tablerowopen(PG_FUNCTION_ARGS); Datum owa_util_todate(PG_FUNCTION_ARGS); Datum owa_util_validate_arg(PG_FUNCTION_ARGS); Datum owa_util_who_called_me(PG_FUNCTION_ARGS); Datum owa_util_http_header_close(PG_FUNCTION_ARGS); } // extern "C" enum { OWA_UTIL_HTML_TABLE = 1, OWA_UTIL_PRE_TABLE = 2, }; #endif // OWA_UTIL_INTERNAL_HPP