Go to the source code of this file.
Classes | |
| struct | SoapCtx |
Defines | |
| #define | SOAP_ERROR_NO_FILE_ATTACHED 4001 |
| #define | SOAP_ERROR_EMPTY_ATTACHMENT 4002 |
| #define | MAX_HREF_SIZE 150 |
Functions | |
| SoapCtx * | soap_ctx_new (struct SoapEnv *env) |
| herror_t | soap_ctx_new_with_method (const char *urn, const char *method, struct SoapCtx **out) |
| void | soap_ctx_free (struct SoapCtx *ctx) |
| part_t * | soap_ctx_get_file (struct SoapCtx *ctx, xmlNodePtr node) |
| herror_t | soap_ctx_add_file (struct SoapCtx *ctx, const char *filename, const char *content_type, char *dest_href) |
| void | soap_ctx_add_files (struct SoapCtx *ctx, struct attachments_t *attachments) |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
Size of destination dest_href should be MAX_HREF_SIZE |
|
||||||||||||
|
Used internally. Will switch the deleteOnExit flag from the given one to the added part. |
|
|
|
|
||||||||||||
|
Returns the attached file if any found.
|
|
|
should only be used internally |
|
||||||||||||||||
|
Creates a new soap context object. |
1.4.6