KUTIL_INVALIDATE(3) Library Functions Manual KUTIL_INVALIDATE(3)

NAME

kutil_invalidateinvalidate 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

kcgi(3), khttp_parse(3), kvalid_string(3)

AUTHORS

These functions were written by Kristaps Dzonsons <kristaps@bsd.lv>.
April 19, 2018 OpenBSD 6.2