gnurl_formfree(3)

πŸ“¦ version 7.72.0, in nixos 26.05, nixpkgs unstable

πŸ’– 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