• 大小: 2MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-21
  • 语言: 其他
  • 标签: gsoap  ssl  wsdl2h  

资源简介

有ssl支持的gsoap/wsdl2h.exe&同时加入我弄好的onvif框架

资源截图

代码片段和文件信息

/* soapC.c
   Generated by gSOAP 2.8.3 from onvif.h

Copyright(C) 2000-2011 Robert van Engelen Genivia Inc. All Rights Reserved.
The generated code is released under one of the following licenses:
1) GPL or 2) Genivia‘s license for commercial use.
This program is released under the GPL with the additional exemption that
compiling linking and/or using OpenSSL is allowed.
*/

#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.3 2019-01-14 06:36:10 GMT“)


#ifndef WITH_NOGLOBAL

SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap)
{
if (soap->header)
soap_serialize_SOAP_ENV__Header(soap soap->header);
}

SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap)
{
if (soap->header)
{ soap->part = SOAP_IN_HEADER;
if (soap_out_SOAP_ENV__Header(soap “SOAP-ENV:Header“ 0 soap->header NULL))
return soap->error;
soap->part = SOAP_END_HEADER;
}
return SOAP_OK;
}

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“ NULL NULL);
soap->part = SOAP_END_HEADER;
return soap->header == NULL;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap)
{
if (!soap->header)
{ 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)
{ soap->fault = (struct SOAP_ENV__Fault*)soap_malloc(soap sizeof(struct SOAP_ENV__Fault));
if (!soap->fault)
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“ NULL);
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)
return (const char**)&soap->fault->SOAP_ENV__Code-

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\ActionEngineBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\AnalyticsDeviceBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\AnalyticsEngineBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\CreatePullPointBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\DeviceBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\DeviceIOBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\DiscoveryLookupBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\DisplayBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\DoorControlBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\EventBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\ImagingBinding.nsmap

    .......   1024000  2019-01-04 15:20  gsoap-bin-win32\libeay32.dll

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\MediaBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\NotificationConsumerBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\NotificationProducerBinding.nsmap

    .......      1233  2019-01-14 14:38  gsoap-bin-win32\onvif-read.txt

    .......   2906166  2019-01-14 14:26  gsoap-bin-win32\onvif.h

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\PACSBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\PausableSubscriptionManagerBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\PTZBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\PullPointBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\PullPointSubscriptionBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\ReceiverBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\RecordingBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\RemoteDiscoveryBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\ReplayBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\RuleEngineBinding.nsmap

    .......      3486  2019-01-14 14:36  gsoap-bin-win32\SearchBinding.nsmap

    .......  13271741  2019-01-14 14:36  gsoap-bin-win32\soapC.c

    .......    888267  2019-01-14 14:36  gsoap-bin-win32\soapClient.c

............此处省略14个文件信息

评论

共有 条评论