diff options
Diffstat (limited to 'lib/formdata.h')
-rw-r--r-- | lib/formdata.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/formdata.h b/lib/formdata.h index df6ae3ac0..d087fa7ca 100644 --- a/lib/formdata.h +++ b/lib/formdata.h @@ -65,11 +65,12 @@ size_t Curl_FormReader(char *buffer, size_t nitems, FILE *mydata); -/* possible (old) fread() emulation that copies at most one line */ -size_t Curl_FormReadOneLine(char *buffer, - size_t size, - size_t nitems, - FILE *mydata); +/* + * Curl_formpostheader() returns the first line of the formpost, the + * request-header part (which is not part of the request-body like the rest of + * the post). + */ +char *Curl_formpostheader(void *formp, size_t *len); char *Curl_FormBoundary(void); |