⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdsoap2.h

📁 linux下开发的soap协议。建议大家学习学习!
💻 H
📖 第 1 页 / 共 2 页
字号:
  struct Namespace *namespaces;	/* Namespace mapping table */  struct soap_nlist *nlist;	/* namespace stack */  struct soap_blist *blist;	/* block allocation stack */  struct soap_clist *clist;	/* class instance allocation list */  void *alist;			/* memory allocation list */  struct soap_ilist *iht[SOAP_IDHASH];  struct soap_plist *pht[SOAP_PTRHASH];  struct SOAP_ENV__Header *header;  struct SOAP_ENV__Fault *fault;  void *user;			/* reserved for callbacks to pass user-defined data */  int (*fpost)(struct soap*, const char*, const char*, const char*, const char*, size_t);  int (*fresponse)(struct soap*, int, size_t);  int (*fparse)(struct soap*);  int (*fopen)(struct soap*, const char*, const char*, int);  int (*fclose)(struct soap*);  int (*fsend)(struct soap*, const char*, size_t);  size_t (*frecv)(struct soap*, char*, size_t);  int (*fignore)(struct soap*, const char*);  int master;  int socket;#ifndef UNDER_CE  int sendfd;  int recvfd;#else  FILE *sendfd;  FILE *recvfd;  char errorstr[256];  wchar_t werrorstr[256];#endif  short buffering;  size_t bufidx;  size_t buflen;  char buf[SOAP_BUFLEN];/* send and receive buffer */  char msgbuf[1024];	/* buffer for (error) messages */  char tmpbuf1[256];	/* buffer for array size attributes */  char tmpbuf2[256];	/* buffer for array offset attributes */  char tmpbuf3[256];	/* buffer for array position attributes */  char tagbuf[1024];	/* buffer for combining XML element name and attributes */  size_t count;		/* message length counter */  short counting;  int level;  short body;  char tag[SOAP_TAGLEN];  char id[SOAP_TAGLEN];  char href[SOAP_TAGLEN];  char type[SOAP_TAGLEN];  char arrayType[SOAP_TAGLEN];  char arraySize[SOAP_TAGLEN];  char offset[SOAP_TAGLEN];  short other;  short root;  short position;  int positions[SOAP_MAXDIMS];  int mustUnderstand;  short null;  short ns;  short is_in_header;  short chunked;  short alloced;  short peeked;  short cdata;  short dime_transfer;  short dime;  size_t dime_count;  int dime_flags;  size_t dime_size;  size_t dime_chunksize;  size_t dime_buflen;  char *dime_ptr;  char *dime_id;  char *dime_type;  char *dime_options;  int chunksize;  size_t chunkbuflen;  char path[SOAP_TAGLEN];  char host[SOAP_TAGLEN];  char endpoint[SOAP_TAGLEN];  char *action;  int port;  const char *proxy_host;  int proxy_port;  int error;  int errmode;  int errnum;  int idnum;  wchar ahead1;  wchar ahead2;  unsigned long ip;  const char *logfile[SOAP_MAXLOGS];  FILE *fdebug[SOAP_MAXLOGS];#ifdef WITH_COOKIES  struct soap_cookie *cookies;  const char *cookie_domain;  const char *cookie_path;  int cookie_max;#endif#ifdef WITH_OPENSSL  BIO *bio;  SSL *ssl;  short require_server_auth;  const char *keyfile;  const char *password;  const char *dhfile;  const char *cafile;#endif  short dot_net_bug;};extern struct Namespace namespaces[];SOAP_FMAC1 int SOAP_FMAC2 soap_serve(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_connect(struct soap*, const char*, const char*);SOAP_FMAC1 int SOAP_FMAC2 soap_bind(struct soap*, const char*, int, int);SOAP_FMAC1 int SOAP_FMAC2 soap_accept(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_ssl_accept(struct soap*);#ifndef WITH_NOGLOBALSOAP_FMAC1 void* SOAP_FMAC2 soap_instantiate(struct soap*, int t, const char*, const char*);SOAP_FMAC1 void SOAP_FMAC2 soap_delete(struct soap*, void*, int, int);SOAP_FMAC1 void SOAP_FMAC2 soap_fault(struct soap*);SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultcode(struct soap*);SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultstring(struct soap*);SOAP_FMAC1 const char** SOAP_FMAC2 soap_faultdetail(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_serializeheader(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_putheader(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_getheader(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_serializefault(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_putfault(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_getfault(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_putindependent(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_getindependent(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_putattachments(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_getattachments(struct soap*);#endifSOAP_FMAC1 int SOAP_FMAC2 soap_send_raw(struct soap*, const char*, size_t);SOAP_FMAC1 int SOAP_FMAC2 soap_send(struct soap*, const char*);SOAP_FMAC1 int SOAP_FMAC2 soap_recv(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_puthex(struct soap*, int);SOAP_FMAC1 int SOAP_FMAC2 soap_gethex(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_pututf8(struct soap*, wchar);SOAP_FMAC1 wchar SOAP_FMAC2 soap_getutf8(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_putbase64(struct soap*, const unsigned char*, size_t);SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_getbase64(struct soap*, size_t*, int);SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup(struct soap*, const void *p, int t, struct soap_plist**);SOAP_FMAC1 int SOAP_FMAC2 soap_array_pointer_lookup(struct soap*, const void *p, int n, int t, struct soap_plist**);SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_lookup_id(struct soap*, void *p, int t, struct soap_plist**);SOAP_FMAC1 int SOAP_FMAC2 soap_pointer_enter(struct soap*, const void *p, int t, struct soap_plist**);SOAP_FMAC1 int SOAP_FMAC2 soap_array_pointer_enter(struct soap*, const void *p, int t, struct soap_plist**);SOAP_FMAC1 void SOAP_FMAC2 soap_begin_count(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_begin_send(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_end_send(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_embedded(struct soap*, const void *p, int t);SOAP_FMAC1 int SOAP_FMAC2 soap_reference(struct soap*, const void *p, int t);SOAP_FMAC1 int SOAP_FMAC2 soap_array_reference(struct soap*, const void *p, int n, int t);SOAP_FMAC1 int SOAP_FMAC2 soap_embedded_id(struct soap*, int id, const void *p, int t);SOAP_FMAC1 int SOAP_FMAC2 soap_is_embedded(struct soap*, struct soap_plist*);SOAP_FMAC1 int SOAP_FMAC2 soap_is_single(struct soap*, struct soap_plist*);SOAP_FMAC1 int SOAP_FMAC2 soap_is_multi(struct soap*, struct soap_plist*);SOAP_FMAC1 void SOAP_FMAC2 soap_set_embedded(struct soap*, struct soap_plist*);SOAP_FMAC1 void SOAP_FMAC2 soap_set_attached(struct soap*, struct soap_plist*, const char*, const char*, const char*, size_t);SOAP_FMAC1 int SOAP_FMAC2 soap_getline(struct soap*, char*, int);SOAP_FMAC1 int SOAP_FMAC2 soap_begin_recv(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_end_recv(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_send_namespaces(struct soap*);SOAP_FMAC1 void* SOAP_FMAC2 soap_malloc(struct soap*, size_t);SOAP_FMAC1 void SOAP_FMAC2 soap_dealloc(struct soap*, void *);SOAP_FMAC1 void SOAP_FMAC2 soap_unlink(struct soap*, void *);SOAP_FMAC1 void SOAP_FMAC2 soap_free(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_destroy(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_lookup_type(struct soap*, const char *id);SOAP_FMAC1 void* SOAP_FMAC2 soap_id_lookup(struct soap*, const char *id, void **p, int t, size_t n, int k);SOAP_FMAC1 void* SOAP_FMAC2 soap_id_forward(struct soap*, const char *id, void *p, int t, size_t n);SOAP_FMAC1 void* SOAP_FMAC2 soap_id_enter(struct soap*, const char *id, void *p, int t, size_t n, int k);SOAP_FMAC1 void* SOAP_FMAC2 soap_class_id_enter(struct soap*, const char*, void*, int, const char*, const char*);SOAP_FMAC1 int SOAP_FMAC2 soap_size(const int *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_getoffsets(const char *, const int *, int *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_getsize(const char *, const char *, int *);SOAP_FMAC1 int SOAP_FMAC2 soap_getsizes(const char *, int *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_getposition(const char *, int *);SOAP_FMAC1 char* SOAP_FMAC2 soap_putsize(struct soap*, const char *, int);SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizesoffsets(struct soap*, const char *, const int *, const int *, int);SOAP_FMAC1 char* SOAP_FMAC2 soap_putsizes(struct soap*, const char *, const int *, int);SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffset(struct soap*, int);SOAP_FMAC1 char* SOAP_FMAC2 soap_putoffsets(struct soap*, const int *, int);SOAP_FMAC1 char* SOAP_FMAC2 soap_putposition(struct soap*); SOAP_FMAC1 int SOAP_FMAC2 soap_ignore_element(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_closesock(struct soap*);SOAP_FMAC1 struct soap *SOAP_FMAC2 soap_new();SOAP_FMAC1 void SOAP_FMAC2 soap_init(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_done(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_begin(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_end(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_set_recv_logfile(struct soap*, const char*);SOAP_FMAC1 void SOAP_FMAC2 soap_set_sent_logfile(struct soap*, const char*);SOAP_FMAC1 void SOAP_FMAC2 soap_set_test_logfile(struct soap*, const char*);SOAP_FMAC1 void SOAP_FMAC2 soap_close_logfiles(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_open_logfile(struct soap*, int);SOAP_FMAC1 char* SOAP_FMAC2 soap_value(struct soap*);SOAP_FMAC1 wchar SOAP_FMAC2 soap_advance(struct soap*);SOAP_FMAC1 wchar SOAP_FMAC2 soap_skip(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_move(struct soap*, int);SOAP_FMAC1 size_t SOAP_FMAC2 soap_tell(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_match_tag(struct soap*, const char*, const char *);SOAP_FMAC1 int SOAP_FMAC2 soap_match_array(struct soap*, const char*);SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_out(struct soap*, const char *tag, int id, const char *type);SOAP_FMAC1 int SOAP_FMAC2 soap_array_begin_out(struct soap*, const char *tag, int id, const char *type, const char *offset);SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_out(struct soap*, const char *tag);SOAP_FMAC1 int SOAP_FMAC2 soap_element_ref(struct soap*, const char *tag, int id, int href);SOAP_FMAC1 int SOAP_FMAC2 soap_element_href(struct soap*, const char *tag, int id, const char *href);SOAP_FMAC1 int SOAP_FMAC2 soap_element_null(struct soap*, const char *tag, int id, const char *type);SOAP_FMAC1 int SOAP_FMAC2 soap_element_begin_in(struct soap*, const char *tag);SOAP_FMAC1 int SOAP_FMAC2 soap_element_end_in(struct soap*, const char *tag);SOAP_FMAC1 int SOAP_FMAC2 soap_peek_element(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_revert(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_ignore_element(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_convert_string_out(struct soap*, const char *s);SOAP_FMAC1 int SOAP_FMAC2 soap_convert_wstring_out(struct soap*, const wchar_t *s);SOAP_FMAC1 int SOAP_FMAC2 soap_match_namespace(struct soap*, const char *, const char*, int n1, int n2);SOAP_FMAC1 void SOAP_FMAC2 soap_pop_namespace(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_push_namespace(struct soap*, const char *,const char *);SOAP_FMAC1 int SOAP_FMAC2 soap_new_block(struct soap*);SOAP_FMAC1 void* SOAP_FMAC2 soap_push_block(struct soap*, size_t);SOAP_FMAC1 void SOAP_FMAC2 soap_pop_block(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_store_block(struct soap*, char *);SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_begin_out(struct soap*);SOAP_FMAC1 int soap_envelope_end_out(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_begin_in(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_envelope_end_in(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_body_begin_out(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_body_end_out(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_body_begin_in(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_body_end_in(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_recv_header(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_response(struct soap*, int);SOAP_FMAC1 int SOAP_FMAC2 soap_send_fault(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_recv_fault(struct soap*);SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault(struct soap*, FILE*);SOAP_FMAC1 void SOAP_FMAC2 soap_print_fault_location(struct soap*, FILE*);SOAP_FMAC1 int SOAP_FMAC2 soap_outint(struct soap*, const char *tag, int id, const int *p, const char *, int);SOAP_FMAC1 int* SOAP_FMAC2 soap_inint(struct soap*, const char *tag, int *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outbyte(struct soap*, const char *tag, int id, const char *p, const char *, int);SOAP_FMAC1 char* SOAP_FMAC2 soap_inbyte(struct soap*, const char *tag, char *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outlong(struct soap*, const char *tag, int id, const long *p, const char *, int);SOAP_FMAC1 long* SOAP_FMAC2 soap_inlong(struct soap*, const char *tag, long *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outLONG64(struct soap*, const char *tag, int id, const LONG64 *p, const char *, int);SOAP_FMAC1 LONG64* SOAP_FMAC2 soap_inLONG64(struct soap*, const char *tag, LONG64 *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outshort(struct soap*, const char *tag, int id, const short *p, const char *, int);SOAP_FMAC1 short* SOAP_FMAC2 soap_inshort(struct soap*, const char *tag, short *p, const char *, int);SOAP_FMAC1 int soap_outfloat(struct soap*, const char *tag, int id, const float *p, const char *, int);SOAP_FMAC1 float* SOAP_FMAC2 soap_infloat(struct soap*, const char *tag, float *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outdouble(struct soap*, const char *tag, int id, const double *p, const char *, int);SOAP_FMAC1 double* SOAP_FMAC2 soap_indouble(struct soap*, const char *tag, double *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedByte(struct soap*, const char *tag, int id, const unsigned char *p, const char *, int);SOAP_FMAC1 unsigned char* SOAP_FMAC2 soap_inunsignedByte(struct soap*, const char *tag, unsigned char *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedShort(struct soap*, const char *tag, int id, const unsigned short *p, const char *, int);SOAP_FMAC1 unsigned short* SOAP_FMAC2 soap_inunsignedShort(struct soap*, const char *tag, unsigned short *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedInt(struct soap*, const char *tag, int id, const unsigned int *p, const char *, int);SOAP_FMAC1 unsigned int* SOAP_FMAC2 soap_inunsignedInt(struct soap*, const char *tag, unsigned int *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outunsignedLong(struct soap*, const char *tag, int id, const unsigned long *p, const char *, int);SOAP_FMAC1 unsigned long* SOAP_FMAC2 soap_inunsignedLong(struct soap*, const char *tag, unsigned long *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outULONG64(struct soap*, const char *tag, int id, const ULONG64 *p, const char *, int);SOAP_FMAC1 ULONG64* SOAP_FMAC2 soap_inULONG64(struct soap*, const char *tag, ULONG64 *p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outstring(struct soap*, const char *tag, int id, char *const*p, const char *, int);SOAP_FMAC1 char** SOAP_FMAC2 soap_instring(struct soap*, const char *tag, char **p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outwstring(struct soap*, const char *tag, int id, wchar_t *const*p, const char *, int);SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwstring(struct soap*, const char *tag, wchar_t **p, const char *, int);SOAP_FMAC1 int SOAP_FMAC2 soap_outliteral(struct soap*, const char *tag, char *const*p);SOAP_FMAC1 char** SOAP_FMAC2 soap_inliteral(struct soap*, const char *tag, char **p);SOAP_FMAC1 int SOAP_FMAC2 soap_outwliteral(struct soap*, const char *tag, wchar_t *const*p);SOAP_FMAC1 wchar_t** SOAP_FMAC2 soap_inwliteral(struct soap*, const char *tag, wchar_t **p);SOAP_FMAC1 int SOAP_FMAC2 soap_outdateTime(struct soap*, const char *tag, int id, const time_t *p, const char *, int);SOAP_FMAC1 time_t* SOAP_FMAC2 soap_indateTime(struct soap*, const char *tag, time_t *p, const char *, int);SOAP_FMAC1 char* SOAP_FMAC2 soap_dime_option(struct soap*, unsigned short, const char*);SOAP_FMAC1 int SOAP_FMAC2 soap_getdimehdr(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_getdime(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_putdimehdr(struct soap*);SOAP_FMAC1 int SOAP_FMAC2 soap_putdime(struct soap*, int, char*, char*, char*, void*, size_t);#ifdef WITH_COOKIESSOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_set_cookie(struct soap*, const char*, const char*, const char*, const char*);SOAP_FMAC1 extern struct soap_cookie* SOAP_FMAC2 soap_cookie(struct soap*, const char*, const char*, const char*);SOAP_FMAC1 extern char* SOAP_FMAC2 soap_cookie_value(struct soap*, const char*, const char*, const char*);SOAP_FMAC1 extern long SOAP_FMAC2 soap_cookie_expire(struct soap*, const char*, const char*, const char*);SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_expire(struct soap*, const char*, long, const char*, const char*);SOAP_FMAC1 extern int SOAP_FMAC2 soap_set_cookie_session(struct soap*, const char*, const char*, const char*);SOAP_FMAC1 extern int SOAP_FMAC2 soap_clr_cookie_session(struct soap*, const char*, const char*, const char*);SOAP_FMAC1 extern void SOAP_FMAC2 soap_clr_cookie(struct soap*, const char*, const char*, const char*);SOAP_FMAC1 extern int SOAP_FMAC2 soap_getenv_cookies(struct soap*);SOAP_FMAC1 extern void SOAP_FMAC2 soap_free_cookies(struct soap*);#endif#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -