gnurl_formfree(3)
π NAME π
okay bestie, welcome to the gnurl_formfree(3) page from the libgnurl Manual β this one is literally about curl_formfree: the function that frees a previously build multipart/formdata HTTP POST chain. (Yes, βbuildβ is what the page says; donβt come for me. π
)
β¨ SYNOPSIS β¨
#include <gnurl/curl.h>
void curl_formfree(struct curl_httppost *form);
π¦ DESCRIPTION π¦
okay so first things first: this function is deprecated. Do not use it! See curl_mime_init(3) instead, bestie. π«Ά
curl_formfree() is used to clean up data previously built/appended with curl_formadd(3). This must be called when the data has been used, which typically means after curl_easy_perform(3) has been called.
The pointer to free is the same pointer you passed to the CURLOPT_HTTPPOST(3) option, which is the firstitem pointer from the curl_formadd(3) invoke(s).
form is the pointer as returned from a previous call to curl_formadd(3) and may be NULL.
Passing in a NULL pointer in form will make this function return immediately with no action.
πΈ AVAILABILITY πΈ
Deprecated in 7.56.0.
π RETURN VALUE π
None
π SEE ALSO π
and thatβs the whole page, bestie! cute sign-off moment: this is from libcurl 7.7.1, dated 6 April 2001, and itβs the gnurl_formfree(3) page. mwah πβ¨
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms