chttpclient · Section 3
chttpcli_construct
NAME
chttpcli_construct - declare and initialize a chttpcli handle
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/chttpclient.h> chttpcli_construct(name)
DESCRIPTION
This macro declares a chttpcli variable called name and initializes it immediately with a call to chttpcli_create. If the creation fails, the macro calls ccol__fatal_err() and does not return.
PARAMETERS
name The identifier of the new handle variable.
SEE ALSO
chttpcli_construct_scoped(3), chttpcli_declare(3), chttpcli_create(3)