C Collections

chttpclient · Section 3

chttpcli_construct

chttpcli_construct - declare and initialize a chttpcli handle

C Collections (libccollections, -lccollections)

#include <ccollections/chttpclient.h>
 
chttpcli_construct(name)

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.

name     The identifier of the new handle variable.

chttpcli_construct_scoped(3), chttpcli_declare(3), chttpcli_create(3)