KUTIL_INVALIDATE(3)
Library Functions Manual
KUTIL_INVALIDATE(3)
NAME
kutil_invalidate
—
invalidate a kcgi input pair
LIBRARY
library “libkcgi”
SYNOPSIS
#include
<sys/types.h>
#include <stdarg.h>
#include <stdint.h>
#include <kcgi.h>
void
kutil_invalidate
(struct
kreq *req, struct kpair
*kp);
DESCRIPTION
The
kutil_invalidate
()
function marks the input pair kp as invalid, moving it
from a req->cookiemap or
req->fieldmap bucket into the corresponding
req->cookienmap or
req->fieldnmap bucket. It also resets
kp->type to KPAIR__MAX
,
zeroes kp->parsed, and sets
kp->state to
KPAIR_INVALID
.
SEE ALSO
AUTHORS
These functions were written by Kristaps Dzonsons <kristaps@bsd.lv>.
September 15,
2024 OpenBSD 7.5