X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2Fformdata.h;h=69629f628c686c2c53a97f5358363e918cefa400;hb=e9bdad71c8277e20607fa1eaf0027d53a0dc1f37;hp=6eb7c6c9e6f0a37dd4ab18969bd6231b904606dd;hpb=3e62527ed71a7a362d7ec321e7f026edab35f8e2;p=platform%2Fupstream%2Fcurl.git diff --git a/lib/formdata.h b/lib/formdata.h index 6eb7c6c..69629f6 100644 --- a/lib/formdata.h +++ b/lib/formdata.h @@ -23,6 +23,7 @@ ***************************************************************************/ enum formtype { + FORM_DATAMEM, /* already allocated FORM_DATA memory */ FORM_DATA, /* form metadata (convert to network encoding if necessary) */ FORM_CONTENT, /* form content (never convert) */ FORM_CALLBACK, /* 'line' points to the custom pointer we pass to the callback @@ -64,7 +65,7 @@ typedef struct FormInfo { file name will be used */ bool showfilename_alloc; char *userp; /* pointer for the read callback */ - struct curl_slist* contentheader; + struct curl_slist *contentheader; struct FormInfo *more; } FormInfo;