|
NAMEksql_role —
set role in ksql context
LIBRARYlibrary “ksql”SYNOPSIS#include <sys/types.h>
#include <stdint.h>
#include <ksql.h>
void
DESCRIPTIONTheksql_role function sets the current role of
sql. The role is the index of a
role defined in cfg->roles as passed to
ksql_alloc(3)
or
ksql_alloc_child(3).
The role affects all subsequent
ksql_exec(3)
and
ksql_stmt_alloc(3)
calls.
The new role must be allowed by having a non-zero value in the
roles array within the current role's
struct ksqlrole object. Otherwise, the situation is
logged to In split-process mode, SEE ALSOksql_alloc(3), ksql_alloc_child(3), ksql_exec(3), ksql_stmt_alloc(3)
Visit the GSP FreeBSD Man Page Interface. |