|
Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
|


Go to the source code of this file.
Classes | |
| struct | MultipartUpload |
| Parser for multipart/form-data POST requests. More... | |
Macros | |
| #define | MultipartUpload_getServer(o) HttpConnection_getServer((HttpConnection*)(o)) |
| Get the server supplied to the constructor. More... | |
Typedefs | |
| typedef void(* | MultipartUpload_EndOfReq) (struct MultipartUpload *o) |
| Report the final multipart boundary. More... | |
| typedef int(* | MultipartUpload_FormData) (struct MultipartUpload *o, const char *name, const char *value) |
| Executed by MultipartUpload every time a form data element such as "text" is found in the multipart data stream. More... | |
| typedef int(* | MultipartUpload_FileBegin) (struct MultipartUpload *o, const char *name, const char *fileName, const char *contentType, const char *contentTransferEncoding) |
| Executed by MultipartUpload when a file is found in the multipart data stream. More... | |
| typedef int(* | MultipartUpload_FileData) (struct MultipartUpload *o, const U8 *data, U16 len) |
| Executed by MultipartUpload when a data chunk is available. More... | |
| typedef void(* | MultipartUpload_Error) (struct MultipartUpload *o, MultipartUpload_ErrorType e) |
| Executed by MultipartUpload if any errors are detected during parsing of the multipart data stream. More... | |
| typedef struct MultipartUpload | MultipartUpload |
| Parser for multipart/form-data POST requests. More... | |
Enumerations | |
| enum | MultipartUpload_ErrorType |
| Error codes used by the callback function MultipartUpload_Error in interface class MultipartUpload. More... | |
Functions | |
| void BA_API | MultipartUpload_constructor (MultipartUpload *o, HttpServer *server, MultipartUpload_EndOfReq endOfReq, MultipartUpload_FormData formData, MultipartUpload_FileBegin fileBegin, MultipartUpload_FileData fileData, MultipartUpload_Error onError, U32 bufferSize, AllocatorIntf *allocator) |
| Construct a parser as described by MultipartUpload::MultipartUpload. More... | |
| BA_API void | MultipartUpload_destructor (MultipartUpload *o) |
| Detach from the dispatcher, free parsing storage, and close the embedded asynchronous connection if still owned. More... | |
| BA_API int | MultipartUpload_start (MultipartUpload *o, HttpRequest *req) |
| Start asynchronous multipart input, taking the request connection. More... | |
| BA_API int | MultipartUpload_run (MultipartUpload *o, HttpRequest *req, BaBool setKeepAlive) |
| Parse multipart input synchronously, blocking for additional bytes. More... | |
| BA_API HttpConnection * | MultipartUpload_getCon (MultipartUpload *o) |
| Detach and prepare an asynchronous connection handoff. More... | |