Included Files
- #include <nut/include/cfg/http.h>
- #include <nut/include/pro/uhttp/uhttpd.h>
Preprocessor definitions
#define _PRO_SOAP_H_
#define SOAP_MAX_TAG_SIZE 128
#define SOAP_MAX_TAG_ATTRIBUTES 8
#define SOAP_ARG_IN 0
#define SOAP_ARG_OUT 1
#define SOAPTYPE_EOTAG 0x40
#define SOAPTYPE_ETAG 0x80
typedef struct _SOAP_TAG SOAP_TAG
typedef struct _SOAP_NAME SOAP_NAME
typedef struct _SOAP_ATTRIBUTE SOAP_ATTRIBUTE
typedef struct _SOAP_ARG SOAP_ARG
typedef struct _SOAP_PROCEDURE SOAP_PROCEDURE
struct _SOAP_ARG
struct _SOAP_ARG
|
|
{
|
|
SOAP_ARG* arg_next;
|
|
char* arg_name;
|
|
char* arg_val;
|
|
void* arg_info;
|
|
}
|
|
struct _SOAP_PROCEDURE
struct _SOAP_PROCEDURE
|
|
{
|
|
SOAP_PROCEDURE* proc_next;
|
|
char* proc_name;
|
|
SOAP_ARG* proc_argi;
|
|
SOAP_ARG* proc_argo;
|
|
}
|
|
struct _SOAP_NAME
struct _SOAP_NAME
|
|
{
|
|
char* _namespace;
|
|
char* _name;
|
|
}
|
|
struct _SOAP_ATTRIBUTE
struct _SOAP_ATTRIBUTE
|
|
{
|
|
SOAP_NAME attr_name;
|
|
char* attr_value;
|
|
}
|
|
struct _SOAP_TAG
struct _SOAP_TAG
|
|
{
|
|
uint8_t soap_ttf;
|
|
SOAP_NAME soap_name;
|
|
SOAP_ATTRIBUTE soap_attr[8];
|
|
char soap_buff[128+1];
|
|
}
|
|