00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include <stdsoap2.h>
00032 typedef struct jasperserver_attachment
00033 {
00034 unsigned char * __ptr;
00035 int __size;
00036 char *id;
00037 char *type;
00038 char *options;
00039 } jasperserver_attachment_t;
00040
00060 int jasperserver_attach_file(struct soap* soapPtr, const char* fileName);
00061
00077 void *jasperserver_dime_read_open(struct soap *soap, void *handle, const char *id, const char *type, const char *options);
00078
00093 void jasperserver_dime_read_close(struct soap *soap, void *handle);
00094
00109 size_t jasperserver_dime_read(struct soap *soap, void *handle, char *buf, size_t len);
00110
00128 int jasperserver_read_file(const char* fileName, char **dataPtr, size_t *sizePtr);