Crate udf_sys

Source
Expand description

Bindings to C for SQL UDF-related types

Types in this module were autogenerated. Documentation mostly comes from the C header file, but some clarifications were added. Some mut -> const changes were done as makes sense.

To regenerate this file, run:

bindgen udf_registration_types.c \
    --default-enum-style=rust_non_exhaustive \
    --no-derive-copy

You’re off the edge of the map, mate. Here there be monsters!

Structs§

UDF_ARGS
Representation of a sequence of SQL arguments
UDF_INIT
Information about the result of a user defined function

Enums§

Item_result
Type of the user defined function return slot and arguments
Item_udftype
A UDF function type indicator, currently unused

Constants§

__bool_true_false_are_defined
C builtin
false_
C builtin
true_
C builtin

Type Aliases§

Udf_func_add
Function signature of an xxx_add(...) aggregate function
Udf_func_any
Function signature of a void functin (unused)
Udf_func_clear
Function signature of an xxx_clear(...) aggregate function
Udf_func_deinit
Function signature of an xxx_deinit(...) function
Udf_func_double
Function signature of an xxx(...) function returning a SQL real
Udf_func_init
Function signature of an xxx_init(...) function
Udf_func_longlong
Function signature of an xxx(...) function returning a SQL int
Udf_func_string
Function signature of an xxx(...) function returning a SQL string