1
0
Fork 0
libweb/doc/man3/http_free.3

42 lines
858 B
Groff

.TH HTTP_FREE 3 2023-09-06 0.1.0 "libweb Library Reference"
.SH NAME
http_free \- free a HTTP context object
.SH SYNOPSIS
.LP
.nf
#include <libweb/http.h>
.P
void http_free(struct http_ctx *\fIh\fP);
.fi
.SH DESCRIPTION
The
.IR http_free (3)
function frees the memory space pointed to by
.IR h ,
which must have been returned by a previous call to
.IR http_alloc (3).
.SH RETURN VALUE
The
.IR http_free (3)
function returns no value.
.SH ERRORS
No errors are defined.
.SH SEE ALSO
.BR http_alloc (3),
.BR http_update (3),
.BR libweb_http (7).
.SH COPYRIGHT
Copyright (C) 2023 Xavier Del Campo Romero.
.P
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.