/* soapC.c
Generated by gSOAP 2.8.45 for samples/onvif/onvif.h
gSOAP XML Web services tools
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
The soapcpp2 tool and its generated software are released under the GPL.
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#if defined(__BORLANDC__)
#pragma option push -w-8060
#pragma option push -w-8004
#endif
#include "soapH.h"
#ifdef __cplusplus
extern "C" {
#endif
SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.8.45 2017-04-27 09:02:26 GMT")
#ifndef WITH_NOGLOBAL
SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap *soap)
{
soap->part = SOAP_IN_HEADER;
soap->header = soap_in_SOAP_ENV__Header(soap, "SOAP-ENV:Header", soap->header, NULL);
soap->part = SOAP_END_HEADER;
return soap->header == NULL;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap)
{
if (soap->version && soap->header)
{ soap->part = SOAP_IN_HEADER;
if (soap_out_SOAP_ENV__Header(soap, "SOAP-ENV:Header", 0, soap->header, ""))
return soap->error;
soap->part = SOAP_END_HEADER;
}
return SOAP_OK;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap)
{
if (soap->version && soap->header)
soap_serialize_SOAP_ENV__Header(soap, soap->header);
}
SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap)
{
if (soap->header == NULL)
{ if ((soap->header = (struct SOAP_ENV__Header*)soap_malloc(soap, sizeof(struct SOAP_ENV__Header))))
soap_default_SOAP_ENV__Header(soap, soap->header);
}
}
SOAP_FMAC3 void SOAP_FMAC4 soap_fault(struct soap *soap)
{
if (soap->fault == NULL)
{ soap->fault = (struct SOAP_ENV__Fault*)soap_malloc(soap, sizeof(struct SOAP_ENV__Fault));
if (soap->fault == NULL)
return;
soap_default_SOAP_ENV__Fault(soap, soap->fault);
}
if (soap->version == 2 && !soap->fault->SOAP_ENV__Code)
{ soap->fault->SOAP_ENV__Code = (struct SOAP_ENV__Code*)soap_malloc(soap, sizeof(struct SOAP_ENV__Code));
soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code);
}
if (soap->version == 2 && !soap->fault->SOAP_ENV__Reason)
{ soap->fault->SOAP_ENV__Reason = (struct SOAP_ENV__Reason*)soap_malloc(soap, sizeof(struct SOAP_ENV__Reason));
soap_default_SOAP_ENV__Reason(soap, soap->fault->SOAP_ENV__Reason);
}
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap *soap)
{
if (soap->fault)
soap_serialize_SOAP_ENV__Fault(soap, soap->fault);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap *soap)
{
if (soap->fault)
return soap_put_SOAP_ENV__Fault(soap, soap->fault, "SOAP-ENV:Fault", "");
return SOAP_OK;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap *soap)
{
return (soap->fault = soap_get_SOAP_ENV__Fault(soap, NULL, "SOAP-ENV:Fault", NULL)) == NULL;
}
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2 && soap->fault->SOAP_ENV__Code)
return (const char**)(void*)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Value;
return (const char**)(void*)&soap->fault->faultcode;
}
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultsubcode(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2)
{ if (soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode == NULL)
{ soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode = (struct SOAP_ENV__Code*)soap_malloc(soap, sizeof(struct SOAP_ENV__Code));
soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode);
}
return (const char**)(void*)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value;
}
return (const char**)(void*)&soap->fault->faultcode;
}
SOAP_FMAC3 const char * SOAP_FMAC4 soap_check_faultsubcode(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2)
{ if (soap->fault->SOAP_ENV__Code && soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode)
return soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value;
return NULL;
}
return soap->fault->faultcode;
}
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2)
return (const char**)(void*)&soap->fault->SOAP_ENV__Reason->SOAP_ENV__Text;
return (const char**)(void*)&soap->fault->faultstring;
}
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2)
{ if (soap->fault->SOAP_ENV__Detail == NULL)
{ soap->fault->SOAP_ENV__Detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail));
soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail);
}
return (const char**)(void*)&soap->fault->SOAP_ENV__Detail->__any;
}
if (soap->fault->detail == NULL)
{ soap->fault->detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail));
soap_default_SOAP_ENV__Detail(soap, soap->fault->detail);
}
return (const char**)(void*)&soap->fault->detail->__any;
}
SOAP_FMAC3 const char * SOAP_FMAC4 soap_check_faultdetail(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2 && soap->fault->SOAP_ENV__Detail)
return soap->fault->SOAP_ENV__Detail->__any;
if (soap->fault->detail)
return soap->fault->detail->__any;
return NULL;
}
#endif
#ifndef WITH_NOIDREF
SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap)
{
int t;
if (soap->version == 1)
{ for (;;)
{ if (!soap_getelement(soap, &t))
if ((soap->error && soap->error != SOAP_TAG_MISMATCH) || soap_ignore_element(soap))
break;
}
}
if (soap->error == SOAP_NO_TAG || soap->error == SOAP_EOF)
soap->error = SOAP_OK;
return soap->error;
}
#endif
SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
{ (void)type;
if (soap_peek_element(soap))
return NULL;
#ifndef WITH_NOIDREF
if (!*soap->id || !(*type = soap_lookup_type(soap, soap->id)))
*type = soap_lookup_type(soap, soap->href);
switch (*type)
{
case SOAP_TYPE_byte:
return soap_in_byte(soap, NULL, NULL, "xsd:byte");
case SOAP_TYPE_tt__IANA_IfTypes:
return soap_in_tt__IANA_IfTypes(soap, NULL, NULL, "tt:IANA-IfTypes");
case SOAP_TYPE_int:
return soap_in_int(soap, NULL, NULL, "xsd:int");
case SOAP_TYPE_xsd__duration:
return soap_in_xsd__duration(soap, NULL, NULL, "xsd:duration");
case SOAP_TYPE_float:
return soap_in_float(soap, NULL, NULL, "xsd:float");
case SOAP_TYPE_double:
return soap_in_double(soap, NULL, NULL, "xsd:double");
case SOAP_TYPE_unsignedByte:
return soap_in_unsignedByte(soap, NULL, NULL, "xsd:unsignedByte");
case SOAP_TYPE_unsignedInt:
return soap_in_unsignedInt(soap, NULL, NULL, "xsd:unsignedInt");
case SOAP_TYPE_ULONG64:
return soap_in_ULONG64(soap, NULL, NULL, "xsd:unsignedLong");
case SOAP_TYPE_dateTime:
return soap_in_dateTime(soap, NULL, NULL, "xsd:dateTime");
case SOAP_TYPE_tt__MoveStatus:
return soap_in_tt__MoveStatus(soap, NULL, NULL, "tt:MoveStatus");
case SOAP_TYPE_tt__OSDType:
return soap_in_tt__OSDType(soap, NULL, NULL, "tt:OSDType");
case SOAP_TYPE_tt__ModeOfOperation:
return soap_in_tt__ModeOfOperation(soap, NULL, NULL, "tt:ModeOfOperation");
case SOAP_TYPE_tt__TrackType:
return soap_in_tt__TrackType(soap, NULL, NULL, "tt:TrackType");
case SOAP_TYPE_tt__RecordingStatus:
return soap_in_tt__RecordingStatus(soap, NULL, NULL, "tt:RecordingStatus");
case SOAP_TYPE_tt__SearchState:
return soap_in_tt__SearchState(soap, NULL, NULL, "tt:SearchState");
case SOAP_TYPE_tt__ReceiverState:
return soap_in_tt__ReceiverState(soap, NULL, NULL, "tt:ReceiverState");
case SOAP_TYPE_tt__ReceiverMode:
return soap_in_tt
没有合适的资源?快使用搜索试试~ 我知道了~
ONVIF协议网络摄像机(IPC)客户端程序开发代码
共438个文件
h:365个
dll:22个
c:20个
需积分: 49 28 下载量 9 浏览量
2020-04-22
22:09:45
上传
评论
收藏 47.64MB RAR 举报
温馨提示
资源为文章ONVIF协议网络摄像机(IPC)客户端程序开发中的示例代码 博客:http://blog.csdn.net/benkaoya 专栏:http://blog.csdn.net/benkaoya/article/details/72424335
资源推荐
资源详情
资源评论
收起资源包目录
ONVIF协议网络摄像机(IPC)客户端程序开发代码 (438个子文件)
soapC.c 9.05MB
stdsoap2.c 580KB
soapClient.c 405KB
wsseapi.c 283KB
dom.c 171KB
wsaapi.c 63KB
mecevp.c 53KB
onvif_dump.c 43KB
smdevp.c 27KB
onvif_comm.c 14KB
main.c 7KB
main.c 7KB
duration.c 7KB
main.c 6KB
threads.c 4KB
main.c 4KB
applink.c 3KB
main.c 2KB
main.c 611B
main.c 463B
Browse.VC.db 81.05MB
avcodec-57.dll 24.48MB
avformat-57.dll 4.74MB
avfilter-6.dll 3.83MB
avdevice-57.dll 2.01MB
libeay32.dll 1.16MB
avutil-55.dll 549KB
swscale-4.dll 500KB
swresample-2.dll 286KB
ssleay32.dll 269KB
postproc-54.dll 108KB
gost.dll 59KB
capi.dll 23KB
sureware.dll 17KB
chil.dll 16KB
cswift.dll 15KB
ubsec.dll 14KB
4758cca.dll 14KB
aep.dll 12KB
padlock.dll 11KB
atalla.dll 11KB
nuron.dll 10KB
gmp.dll 6KB
soapH.h 4.99MB
onvif.h 2.93MB
soapStub.h 1.31MB
avcodec.h 211KB
safestack.h 201KB
safestack.h 201KB
avcodec.h 178KB
obj_mac.h 176KB
obj_mac.h 176KB
ssl.h 149KB
ssl.h 149KB
stdsoap2.h 147KB
avformat.h 113KB
avformat.h 111KB
evp.h 68KB
evp.h 68KB
asn1.h 63KB
asn1.h 63KB
ec.h 56KB
ec.h 56KB
x509.h 53KB
x509.h 53KB
objects.h 48KB
objects.h 48KB
engine.h 45KB
engine.h 45KB
avfilter.h 41KB
bn.h 41KB
bn.h 41KB
x509v3.h 40KB
x509v3.h 40KB
avfilter.h 40KB
tls1.h 39KB
tls1.h 39KB
bio.h 39KB
bio.h 39KB
opt.h 36KB
opt.h 36KB
asn1t.h 35KB
asn1t.h 35KB
ts.h 35KB
ts.h 35KB
ssl3.h 33KB
ssl3.h 33KB
pixfmt.h 31KB
pixfmt.h 30KB
avio.h 30KB
rsa.h 30KB
rsa.h 30KB
x509_vfy.h 29KB
x509_vfy.h 29KB
cms.h 29KB
cms.h 29KB
crypto.h 28KB
crypto.h 28KB
symhacks.h 28KB
symhacks.h 28KB
共 438 条
- 1
- 2
- 3
- 4
- 5
资源评论
louths
- 粉丝: 10
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功