gsoap搭建网络像机onvif服务器
报错:wsa5.h(288): **ERROR**: service operation name clash: struct/class 'SOAP_ENV__Fault' already declared at wsa.h:273。-i:生成C++包装,客户端为xxxxProxy.h(.cpp),服务器端为xxxxService.h(.cpp)。../install/share/gsoap/i
参考:
https://blog.csdn.net/u012478275/article/details/104405682?spm=1001.2101.3001.6650.16&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-16-104405682-blog-141501214.235%5Ev43%5Epc_blog_bottom_relevance_base2&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-16-104405682-blog-141501214.235%5Ev43%5Epc_blog_bottom_relevance_base2&utm_relevant_index=19
下载:我的版本gsoap_2.8.142
https://sourceforge.net/projects/gsoap2/files/
编译:gsoap是PC代码,直接电脑编译即可!
# cd gsoap-2.8/
# ./configure --prefix=$(pwd)/../install
# make
# make install
安装好后,目录gsoap_2.8.142中有
源码目录:gsoap-2.8,
安装目录:install
新建目录hcode
参考网址:
https://blog.51cto.com/xiaoyaoyou10/5618346
拷贝typemap.dat文件到当前目录:
cp ../gsoap-2.8/gsoap/typemap.dat .
./typemap.dat 最后一行添加:(编译程序时报错,需要这样处理)
xsd__duration = #import "custom/duration.h" | xsd__duration
在hcode目录执行,生成中间代码:onvif.h
../install/bin/wsdl2h -P -x -c -s -t ./typemap.dat -o onvif.h https://www.onvif.org/ver10/network/wsdl/remotediscovery.wsdl https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl https://www.onvif.org/ver10/media/wsdl/media.wsdl
全功能生成!!!!
wsdl2h -o onvif.h -c -s -t ./typemap.dat
http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl
http://www.onvif.org/onvif/ver10/media/wsdl/media.wsdl
http://www.onvif.org/onvif/ver10/event/wsdl/event.wsdl
http://www.onvif.org/onvif/ver10/display.wsdl
http://www.onvif.org/onvif/ver10/deviceio.wsdl
http://www.onvif.org/onvif/ver20/imaging/wsdl/imaging.wsdl
http://www.onvif.org/onvif/ver20/ptz/wsdl/ptz.wsdl
http://www.onvif.org/onvif/ver10/receiver.wsdl
http://www.onvif.org/onvif/ver10/recording.wsdl
http://www.onvif.org/onvif/ver10/search.wsdl
http://www.onvif.org/onvif/ver10/network/wsdl/remotediscovery.wsdl
http://www.onvif.org/onvif/ver10/replay.wsdl
http://www.onvif.org/onvif/ver20/analytics/wsdl/analytics.wsdl
http://www.onvif.org/onvif/ver10/analyticsdevice.wsdl
http://www.onvif.org/ver10/actionengine.wsdl
http://www.onvif.org/ver10/pacs/accesscontrol.wsdl
http://www.onvif.org/ver10/pacs/doorcontrol.wsdl
需要的wsdl文件,在下面网页可以看到。
https://www.onvif.org/profiles/specifications/
https://quantum6.blog.csdn.net/article/details/151110229
功能与URI
http://www.onvif.org/onvif/ver20/util/operationIndex.html
DeviceMgmt(设备管理)
http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl
DeviceIO(设备IO 服务)
http://www.onvif.org/onvif/ver10/deviceio.wsdl
Event(事件处理)
http://www.onvif.org/onvif/ver10/event/wsdl/event.wsdl
Analytics(视频分析)
http://www.onvif.org/onvif/ver20/analytics/wsdl/analytics.wsdl
AnalyticsDevice(分析设备)
http://www.onvif.org/onvif/ver10/analyticsdevice.wsdl
Display(显示服务)
http://www.onvif.org/onvif/ver10/display.wsdl
Imaging(图像配置)
http://www.onvif.org/onvif/ver20/imaging/wsdl/imaging.wsdl
Media(媒体配置)
http://www.onvif.org/onvif/ver10/media/wsdl/media.wsdl
PTZ(PTZ控制)
http://www.onvif.org/onvif/ver20/ptz/wsdl/ptz.wsdl
Receiver(接收端配置)
http://www.onvif.org/onvif/ver10/Receiver.wsdl
RemoteDiscovely(设备发现)
http://www.onvif.org/onvif/ver10/network/wsdl/remotediscovery.wsdl
Recording(录像控制)
http://www.onvif.org/onvif/ver10/Recording.wsdl
Replay(重放控制)
http://www.onvif.org/onvif/ver10/Replay.wsdl
Search(记录搜索)
http://www.onvif.org/onvif/ver10/Search.wsdl
在onvif.h头文件第一行添加(用于鉴权认证):
#import "wsse.h"
报错:wsa5.h(288): **ERROR**: service operation name clash: struct/class 'SOAP_ENV__Fault' already declared at wsa.h:273
../install/share/gsoap/import/wsa5.h修改
将int SOAP_ENV__Fault 修改为int SOAP_ENV__Fault_alex
生成实际代码:
../install/bin/soapcpp2 -c -L -x -I../install/share/gsoap/ onvif.h
-C:仅生成客户端代码
-S:仅生成服务器端代码
-L:不要产生soapClientLib.c和soapServerLib.c文件
-c:产生纯C代码,否则是C++代码
-I:指定import路径
-x:不要产生XML示例文件
-i:生成C++包装,客户端为xxxxProxy.h(.cpp),服务器端为xxxxService.h(.cpp)。
拷贝文件:
cp ../gsoap-2.8/gsoap/stdsoap2.c .
cp ../gsoap-2.8/gsoap/stdsoap2.h .
cp ../gsoap-2.8/gsoap/custom/duration.c .
cp ../gsoap-2.8/gsoap/custom/duration.h .
报错:
stdsoap2.c:(.text+0x12b39): undefined reference to `namespaces'
#include "wsdd.nsmap"
报错:
soapServer.c:(.text+0x250fb): undefined reference to `__tds__AddScopes`...
用AI给你把这些缺失函数补上即可:
SOAP_FMAC5 int SOAP_FMAC6 __tds__AddScopes(struct soap*, struct _tds__AddScopes *tds__AddScopes, struct _tds__AddScopesResponse *tds__AddScopesResponse) { return 0; }
测试工具:
ONVIF Device Test Tool
代码:onvif_operation.cpp
默认函数用AI生成的。
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "soapH.h"
#include "soapStub.h"
SOAP_FMAC5 int SOAP_FMAC6 SOAP_ENV__Fault(struct soap *soap, char *faultcode, char *faultstring, char *faultactor,
struct SOAP_ENV__Detail *detail, struct SOAP_ENV__Code *_SOAP_ENV__Code,
struct SOAP_ENV__Reason *SOAP_ENV__Reason, char *SOAP_ENV__Node,
char *SOAP_ENV__Role, struct SOAP_ENV__Detail *SOAP_ENV__Detail)
{
printf("[%d] SOAP_ENV__Fault called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __wsdd__Hello(struct soap *soap, struct wsdd__HelloType *wsdd__Hello)
{
printf("[%d] __wsdd__Hello called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __wsdd__Bye(struct soap *soap, struct wsdd__ByeType *wsdd__Bye)
{
printf("[%d] __wsdd__Bye called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __wsdd__ProbeMatches(struct soap *soap, struct wsdd__ProbeMatchesType *wsdd__ProbeMatches)
{
printf("[%d] __wsdd__ProbeMatches called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __wsdd__Resolve(struct soap *soap, struct wsdd__ResolveType *wsdd__Resolve)
{
printf("[%d] __wsdd__Resolve called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __wsdd__ResolveMatches(struct soap *soap, struct wsdd__ResolveMatchesType *wsdd__ResolveMatches)
{
printf("[%d] __wsdd__ResolveMatches called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tdn__Hello(struct soap *soap, struct wsdd__HelloType tdn__Hello, struct wsdd__ResolveType *tdn__HelloResponse)
{
printf("[%d] __tdn__Hello called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tdn__Bye(struct soap *soap, struct wsdd__ByeType tdn__Bye, struct wsdd__ResolveType *tdn__ByeResponse)
{
printf("[%d] __tdn__Bye called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tdn__Probe(struct soap *soap, struct wsdd__ProbeType tdn__Probe, struct wsdd__ProbeMatchesType *tdn__ProbeResponse)
{
printf("[%d] __tdn__Probe called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __wsdd__Probe(struct soap *soap, struct wsdd__ProbeType *wsdd__Probe)
{
#define MACH_ADDR_LENGTH 6
#define INFO_LENGTH 512
#define LARGE_INFO_LENGTH 1024
#define SMALL_INFO_LENGTH 512
printf("[%d] __wsdd__Probe start !\n", __LINE__);
unsigned char macaddr[6] = {0};
char _IPAddr[INFO_LENGTH] = {0};
char _HwId[1024] = {0};
wsdd__ProbeMatchesType ProbeMatches;
ProbeMatches.ProbeMatch = (struct wsdd__ProbeMatchType *)soap_malloc(soap, sizeof(struct wsdd__ProbeMatchType));
ProbeMatches.ProbeMatch->XAddrs = (char *)soap_malloc(soap, sizeof(char) * INFO_LENGTH);
ProbeMatches.ProbeMatch->Types = (char *)soap_malloc(soap, sizeof(char) * INFO_LENGTH);
ProbeMatches.ProbeMatch->Scopes = (struct wsdd__ScopesType *)soap_malloc(soap, sizeof(struct wsdd__ScopesType));
ProbeMatches.ProbeMatch->wsa__EndpointReference.ReferenceProperties = (struct wsa__ReferencePropertiesType *)soap_malloc(soap, sizeof(struct wsa__ReferencePropertiesType));
ProbeMatches.ProbeMatch->wsa__EndpointReference.ReferenceParameters = (struct wsa__ReferenceParametersType *)soap_malloc(soap, sizeof(struct wsa__ReferenceParametersType));
ProbeMatches.ProbeMatch->wsa__EndpointReference.ServiceName = (struct wsa__ServiceNameType *)soap_malloc(soap, sizeof(struct wsa__ServiceNameType));
ProbeMatches.ProbeMatch->wsa__EndpointReference.PortType = (char **)soap_malloc(soap, sizeof(char *) * SMALL_INFO_LENGTH);
ProbeMatches.ProbeMatch->wsa__EndpointReference.__any = (char **)soap_malloc(soap, sizeof(char *) * SMALL_INFO_LENGTH);
ProbeMatches.ProbeMatch->wsa__EndpointReference.__anyAttribute = (char *)soap_malloc(soap, sizeof(char) * SMALL_INFO_LENGTH);
ProbeMatches.ProbeMatch->wsa__EndpointReference.Address = (char *)soap_malloc(soap, sizeof(char) * INFO_LENGTH);
// netGetMac("eth4", macaddr); //eth0 根据实际情况填充
macaddr[0] = 0x01;
macaddr[1] = 0x01;
macaddr[2] = 0x01;
macaddr[3] = 0x01;
macaddr[4] = 0x01;
macaddr[5] = 0x01;
sprintf(_HwId, "urn:uuid:2419d68a-2dd2-21b2-a205-%02X%02X%02X%02X%02X%02X", macaddr[0], macaddr[1], macaddr[2], macaddr[3], macaddr[4], macaddr[5]);
sprintf(_IPAddr, "http://%s/onvif/device_service", "192.168.6.48");
printf("[%d] _IPAddr ==== %s\n", __LINE__, _IPAddr);
ProbeMatches.__sizeProbeMatch = 1;
ProbeMatches.ProbeMatch->Scopes->__item = (char *)soap_malloc(soap, 1024);
// memset(ProbeMatches.ProbeMatch->Scopes->__item,0,sizeof(ProbeMatches.ProbeMatch->Scopes->__item));
memset(ProbeMatches.ProbeMatch->Scopes->__item, 0, 1024);
// Scopes MUST BE
strcat(ProbeMatches.ProbeMatch->Scopes->__item, "onvif://www.onvif.org/type/NetworkVideoTransmitter");
ProbeMatches.ProbeMatch->Scopes->MatchBy = NULL;
strcpy(ProbeMatches.ProbeMatch->XAddrs, _IPAddr);
strcpy(ProbeMatches.ProbeMatch->Types, wsdd__Probe->Types);
printf("wsdd__Probe->Types=%s\n", wsdd__Probe->Types);
ProbeMatches.ProbeMatch->MetadataVersion = 1;
// ws-discovery规定 为可选项
ProbeMatches.ProbeMatch->wsa__EndpointReference.ReferenceProperties->__size = 0;
ProbeMatches.ProbeMatch->wsa__EndpointReference.ReferenceProperties->__any = NULL;
ProbeMatches.ProbeMatch->wsa__EndpointReference.ReferenceParameters->__size = 0;
ProbeMatches.ProbeMatch->wsa__EndpointReference.ReferenceParameters->__any = NULL;
ProbeMatches.ProbeMatch->wsa__EndpointReference.PortType[0] = (char *)soap_malloc(soap, sizeof(char) * SMALL_INFO_LENGTH);
// ws-discovery规定 为可选项
strcpy(ProbeMatches.ProbeMatch->wsa__EndpointReference.PortType[0], "ttl");
ProbeMatches.ProbeMatch->wsa__EndpointReference.ServiceName->__item = NULL;
ProbeMatches.ProbeMatch->wsa__EndpointReference.ServiceName->PortName = NULL;
ProbeMatches.ProbeMatch->wsa__EndpointReference.ServiceName->__anyAttribute = NULL;
ProbeMatches.ProbeMatch->wsa__EndpointReference.__any[0] = (char *)soap_malloc(soap, sizeof(char) * SMALL_INFO_LENGTH);
strcpy(ProbeMatches.ProbeMatch->wsa__EndpointReference.__any[0], "Any");
strcpy(ProbeMatches.ProbeMatch->wsa__EndpointReference.__anyAttribute, "Attribute");
ProbeMatches.ProbeMatch->wsa__EndpointReference.__size = 0;
strcpy(ProbeMatches.ProbeMatch->wsa__EndpointReference.Address, _HwId);
soap->header->wsa__To = "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous";
soap->header->wsa__Action = "http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches";
soap->header->wsa__RelatesTo = (struct wsa__Relationship *)soap_malloc(soap, sizeof(struct wsa__Relationship));
soap->header->wsa__RelatesTo->__item = soap->header->wsa__MessageID;
printf("__item: %p, wsa__MessageID: %p: %s\n", soap->header->wsa__RelatesTo->__item, soap->header->wsa__MessageID, soap->header->wsa__MessageID);
soap->header->wsa__RelatesTo->RelationshipType = NULL;
soap->header->wsa__RelatesTo->__anyAttribute = NULL;
soap->header->wsa__MessageID = (char *)soap_malloc(soap, sizeof(char) * INFO_LENGTH);
strcpy(soap->header->wsa__MessageID, _HwId + 4);
if (SOAP_OK == soap_send___wsdd__ProbeMatches(soap, "http://", NULL, &ProbeMatches))
{
printf("send ProbeMatches success !\n");
return SOAP_OK;
}
printf("[%d] soap error: %d, %s, %s\n", __LINE__, soap->error, *soap_faultcode(soap), *soap_faultstring(soap));
return soap->error;
;
}
SOAP_FMAC5 int SOAP_FMAC6 SOAP_ENV__Fault_alex(struct soap *, char *faultcode, char *faultstring, char *faultactor, struct SOAP_ENV__Detail *detail, struct SOAP_ENV__Code *SOAP_ENV__Code, struct SOAP_ENV__Reason *SOAP_ENV__Reason, char *SOAP_ENV__Node, char *SOAP_ENV__Role, struct SOAP_ENV__Detail *SOAP_ENV__Detail)
{
printf("[%d] SOAP_ENV__Fault_alex called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__AddIPAddressFilter(struct soap *, struct _tds__AddIPAddressFilter *tds__AddIPAddressFilter, struct _tds__AddIPAddressFilterResponse *tds__AddIPAddressFilterResponse)
{
printf("[%d] __tds__AddIPAddressFilter called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__AddScopes(struct soap *, struct _tds__AddScopes *tds__AddScopes, struct _tds__AddScopesResponse *tds__AddScopesResponse)
{
printf("[%d] __tds__AddScopes called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__CreateCertificate(struct soap *, struct _tds__CreateCertificate *tds__CreateCertificate, struct _tds__CreateCertificateResponse *tds__CreateCertificateResponse)
{
printf("[%d] __tds__CreateCertificate called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__CreateDot1XConfiguration(struct soap *, struct _tds__CreateDot1XConfiguration *tds__CreateDot1XConfiguration, struct _tds__CreateDot1XConfigurationResponse *tds__CreateDot1XConfigurationResponse)
{
printf("[%d] __tds__CreateDot1XConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__CreateStorageConfiguration(struct soap *, struct _tds__CreateStorageConfiguration *tds__CreateStorageConfiguration, struct _tds__CreateStorageConfigurationResponse *tds__CreateStorageConfigurationResponse)
{
printf("[%d] __tds__CreateStorageConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__CreateUsers(struct soap *, struct _tds__CreateUsers *tds__CreateUsers, struct _tds__CreateUsersResponse *tds__CreateUsersResponse)
{
printf("[%d] __tds__CreateUsers called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__DeleteCertificates(struct soap *, struct _tds__DeleteCertificates *tds__DeleteCertificates, struct _tds__DeleteCertificatesResponse *tds__DeleteCertificatesResponse)
{
printf("[%d] __tds__DeleteCertificates called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__DeleteDot1XConfiguration(struct soap *, struct _tds__DeleteDot1XConfiguration *tds__DeleteDot1XConfiguration, struct _tds__DeleteDot1XConfigurationResponse *tds__DeleteDot1XConfigurationResponse)
{
printf("[%d] __tds__DeleteDot1XConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__DeleteGeoLocation(struct soap *, struct _tds__DeleteGeoLocation *tds__DeleteGeoLocation, struct _tds__DeleteGeoLocationResponse *tds__DeleteGeoLocationResponse)
{
printf("[%d] __tds__DeleteGeoLocation called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__DeleteStorageConfiguration(struct soap *, struct _tds__DeleteStorageConfiguration *tds__DeleteStorageConfiguration, struct _tds__DeleteStorageConfigurationResponse *tds__DeleteStorageConfigurationResponse)
{
printf("[%d] __tds__DeleteStorageConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__DeleteUserRole(struct soap *, struct _tds__DeleteUserRole *tds__DeleteUserRole, struct _tds__DeleteUserRoleResponse *tds__DeleteUserRoleResponse)
{
printf("[%d] __tds__DeleteUserRole called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__DeleteUsers(struct soap *, struct _tds__DeleteUsers *tds__DeleteUsers, struct _tds__DeleteUsersResponse *tds__DeleteUsersResponse)
{
printf("[%d] __tds__DeleteUsers called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetAccessPolicy(struct soap *, struct _tds__GetAccessPolicy *tds__GetAccessPolicy, struct _tds__GetAccessPolicyResponse *tds__GetAccessPolicyResponse)
{
printf("[%d] __tds__GetAccessPolicy called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetAuthFailureWarningConfiguration(struct soap *, struct _tds__GetAuthFailureWarningConfiguration *tds__GetAuthFailureWarningConfiguration, struct _tds__GetAuthFailureWarningConfigurationResponse *tds__GetAuthFailureWarningConfigurationResponse)
{
printf("[%d] __tds__GetAuthFailureWarningConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetAuthFailureWarningOptions(struct soap *, struct _tds__GetAuthFailureWarningOptions *tds__GetAuthFailureWarningOptions, struct _tds__GetAuthFailureWarningOptionsResponse *tds__GetAuthFailureWarningOptionsResponse)
{
printf("[%d] __tds__GetAuthFailureWarningOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetCACertificates(struct soap *, struct _tds__GetCACertificates *tds__GetCACertificates, struct _tds__GetCACertificatesResponse *tds__GetCACertificatesResponse)
{
printf("[%d] __tds__GetCACertificates called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetCapabilities(struct soap *, struct _tds__GetCapabilities *tds__GetCapabilities, struct _tds__GetCapabilitiesResponse *tds__GetCapabilitiesResponse)
{
printf("[%d] __tds__GetCapabilities called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetCertificateInformation(struct soap *, struct _tds__GetCertificateInformation *tds__GetCertificateInformation, struct _tds__GetCertificateInformationResponse *tds__GetCertificateInformationResponse)
{
printf("[%d] __tds__GetCertificateInformation called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetCertificatesStatus(struct soap *, struct _tds__GetCertificatesStatus *tds__GetCertificatesStatus, struct _tds__GetCertificatesStatusResponse *tds__GetCertificatesStatusResponse)
{
printf("[%d] __tds__GetCertificatesStatus called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetCertificates(struct soap *, struct _tds__GetCertificates *tds__GetCertificates, struct _tds__GetCertificatesResponse *tds__GetCertificatesResponse)
{
printf("[%d] __tds__GetCertificates called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetClientCertificateMode(struct soap *, struct _tds__GetClientCertificateMode *tds__GetClientCertificateMode, struct _tds__GetClientCertificateModeResponse *tds__GetClientCertificateModeResponse)
{
printf("[%d] __tds__GetClientCertificateMode called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDeviceInformation(struct soap *, struct _tds__GetDeviceInformation *tds__GetDeviceInformation, struct _tds__GetDeviceInformationResponse *tds__GetDeviceInformationResponse)
{
printf("[%d] __tds__GetDeviceInformation called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDiscoveryMode(struct soap *, struct _tds__GetDiscoveryMode *tds__GetDiscoveryMode, struct _tds__GetDiscoveryModeResponse *tds__GetDiscoveryModeResponse)
{
printf("[%d] __tds__GetDiscoveryMode called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDNS(struct soap *, struct _tds__GetDNS *tds__GetDNS, struct _tds__GetDNSResponse *tds__GetDNSResponse)
{
printf("[%d] __tds__GetDNS called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDot11Capabilities(struct soap *, struct _tds__GetDot11Capabilities *tds__GetDot11Capabilities, struct _tds__GetDot11CapabilitiesResponse *tds__GetDot11CapabilitiesResponse)
{
printf("[%d] __tds__GetDot11Capabilities called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDot11Status(struct soap *, struct _tds__GetDot11Status *tds__GetDot11Status, struct _tds__GetDot11StatusResponse *tds__GetDot11StatusResponse)
{
printf("[%d] __tds__GetDot11Status called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDot1XConfigurations(struct soap *, struct _tds__GetDot1XConfigurations *tds__GetDot1XConfigurations, struct _tds__GetDot1XConfigurationsResponse *tds__GetDot1XConfigurationsResponse)
{
printf("[%d] __tds__GetDot1XConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDot1XConfiguration(struct soap *, struct _tds__GetDot1XConfiguration *tds__GetDot1XConfiguration, struct _tds__GetDot1XConfigurationResponse *tds__GetDot1XConfigurationResponse)
{
printf("[%d] __tds__GetDot1XConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDPAddresses(struct soap *, struct _tds__GetDPAddresses *tds__GetDPAddresses, struct _tds__GetDPAddressesResponse *tds__GetDPAddressesResponse)
{
printf("[%d] __tds__GetDPAddresses called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetDynamicDNS(struct soap *, struct _tds__GetDynamicDNS *tds__GetDynamicDNS, struct _tds__GetDynamicDNSResponse *tds__GetDynamicDNSResponse)
{
printf("[%d] __tds__GetDynamicDNS called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetEndpointReference(struct soap *, struct _tds__GetEndpointReference *tds__GetEndpointReference, struct _tds__GetEndpointReferenceResponse *tds__GetEndpointReferenceResponse)
{
printf("[%d] __tds__GetEndpointReference called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetGeoLocation(struct soap *, struct _tds__GetGeoLocation *tds__GetGeoLocation, struct _tds__GetGeoLocationResponse *tds__GetGeoLocationResponse)
{
printf("[%d] __tds__GetGeoLocation called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetHostname(struct soap *, struct _tds__GetHostname *tds__GetHostname, struct _tds__GetHostnameResponse *tds__GetHostnameResponse)
{
printf("[%d] __tds__GetHostname called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetIPAddressFilter(struct soap *, struct _tds__GetIPAddressFilter *tds__GetIPAddressFilter, struct _tds__GetIPAddressFilterResponse *tds__GetIPAddressFilterResponse)
{
printf("[%d] __tds__GetIPAddressFilter called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetNetworkDefaultGateway(struct soap *, struct _tds__GetNetworkDefaultGateway *tds__GetNetworkDefaultGateway, struct _tds__GetNetworkDefaultGatewayResponse *tds__GetNetworkDefaultGatewayResponse)
{
printf("[%d] __tds__GetNetworkDefaultGateway called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetNetworkInterfaces(struct soap *, struct _tds__GetNetworkInterfaces *tds__GetNetworkInterfaces, struct _tds__GetNetworkInterfacesResponse *tds__GetNetworkInterfacesResponse)
{
printf("[%d] __tds__GetNetworkInterfaces called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetNetworkProtocols(struct soap *, struct _tds__GetNetworkProtocols *tds__GetNetworkProtocols, struct _tds__GetNetworkProtocolsResponse *tds__GetNetworkProtocolsResponse)
{
printf("[%d] __tds__GetNetworkProtocols called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetNTP(struct soap *, struct _tds__GetNTP *tds__GetNTP, struct _tds__GetNTPResponse *tds__GetNTPResponse)
{
printf("[%d] __tds__GetNTP called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetPasswordComplexityConfiguration(struct soap *, struct _tds__GetPasswordComplexityConfiguration *tds__GetPasswordComplexityConfiguration, struct _tds__GetPasswordComplexityConfigurationResponse *tds__GetPasswordComplexityConfigurationResponse)
{
printf("[%d] __tds__GetPasswordComplexityConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetPasswordComplexityOptions(struct soap *, struct _tds__GetPasswordComplexityOptions *tds__GetPasswordComplexityOptions, struct _tds__GetPasswordComplexityOptionsResponse *tds__GetPasswordComplexityOptionsResponse)
{
printf("[%d] __tds__GetPasswordComplexityOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetPasswordHistoryConfiguration(struct soap *, struct _tds__GetPasswordHistoryConfiguration *tds__GetPasswordHistoryConfiguration, struct _tds__GetPasswordHistoryConfigurationResponse *tds__GetPasswordHistoryConfigurationResponse)
{
printf("[%d] __tds__GetPasswordHistoryConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetPkcs10Request(struct soap *, struct _tds__GetPkcs10Request *tds__GetPkcs10Request, struct _tds__GetPkcs10RequestResponse *tds__GetPkcs10RequestResponse)
{
printf("[%d] __tds__GetPkcs10Request called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetRelayOutputs(struct soap *, struct _tds__GetRelayOutputs *tds__GetRelayOutputs, struct _tds__GetRelayOutputsResponse *tds__GetRelayOutputsResponse)
{
printf("[%d] __tds__GetRelayOutputs called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetRemoteDiscoveryMode(struct soap *, struct _tds__GetRemoteDiscoveryMode *tds__GetRemoteDiscoveryMode, struct _tds__GetRemoteDiscoveryModeResponse *tds__GetRemoteDiscoveryModeResponse)
{
printf("[%d] __tds__GetRemoteDiscoveryMode called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetRemoteUser(struct soap *, struct _tds__GetRemoteUser *tds__GetRemoteUser, struct _tds__GetRemoteUserResponse *tds__GetRemoteUserResponse)
{
printf("[%d] __tds__GetRemoteUser called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetScopes(struct soap *, struct _tds__GetScopes *tds__GetScopes, struct _tds__GetScopesResponse *tds__GetScopesResponse)
{
printf("[%d] __tds__GetScopes called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetServiceCapabilities(struct soap *, struct _tds__GetServiceCapabilities *tds__GetServiceCapabilities, struct _tds__GetServiceCapabilitiesResponse *tds__GetServiceCapabilitiesResponse)
{
printf("[%d] __tds__GetServiceCapabilities called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetServices(struct soap *, struct _tds__GetServices *tds__GetServices, struct _tds__GetServicesResponse *tds__GetServicesResponse)
{
printf("[%d] __tds__GetServices called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetStorageConfigurations(struct soap *, struct _tds__GetStorageConfigurations *tds__GetStorageConfigurations, struct _tds__GetStorageConfigurationsResponse *tds__GetStorageConfigurationsResponse)
{
printf("[%d] __tds__GetStorageConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetStorageConfiguration(struct soap *, struct _tds__GetStorageConfiguration *tds__GetStorageConfiguration, struct _tds__GetStorageConfigurationResponse *tds__GetStorageConfigurationResponse)
{
printf("[%d] __tds__GetStorageConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetSystemBackup(struct soap *, struct _tds__GetSystemBackup *tds__GetSystemBackup, struct _tds__GetSystemBackupResponse *tds__GetSystemBackupResponse)
{
printf("[%d] __tds__GetSystemBackup called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetSystemDateAndTime(struct soap *, struct _tds__GetSystemDateAndTime *tds__GetSystemDateAndTime, struct _tds__GetSystemDateAndTimeResponse *tds__GetSystemDateAndTimeResponse)
{
printf("[%d] __tds__GetSystemDateAndTime called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetSystemLog(struct soap *, struct _tds__GetSystemLog *tds__GetSystemLog, struct _tds__GetSystemLogResponse *tds__GetSystemLogResponse)
{
printf("[%d] __tds__GetSystemLog called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetSystemSupportInformation(struct soap *, struct _tds__GetSystemSupportInformation *tds__GetSystemSupportInformation, struct _tds__GetSystemSupportInformationResponse *tds__GetSystemSupportInformationResponse)
{
printf("[%d] __tds__GetSystemSupportInformation called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetSystemUris(struct soap *, struct _tds__GetSystemUris *tds__GetSystemUris, struct _tds__GetSystemUrisResponse *tds__GetSystemUrisResponse)
{
printf("[%d] __tds__GetSystemUris called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetUserRoles(struct soap *, struct _tds__GetUserRoles *tds__GetUserRoles, struct _tds__GetUserRolesResponse *tds__GetUserRolesResponse)
{
printf("[%d] __tds__GetUserRoles called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetUsers(struct soap *, struct _tds__GetUsers *tds__GetUsers, struct _tds__GetUsersResponse *tds__GetUsersResponse)
{
printf("[%d] __tds__GetUsers called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetWsdlUrl(struct soap *, struct _tds__GetWsdlUrl *tds__GetWsdlUrl, struct _tds__GetWsdlUrlResponse *tds__GetWsdlUrlResponse)
{
printf("[%d] __tds__GetWsdlUrl called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__GetZeroConfiguration(struct soap *, struct _tds__GetZeroConfiguration *tds__GetZeroConfiguration, struct _tds__GetZeroConfigurationResponse *tds__GetZeroConfigurationResponse)
{
printf("[%d] __tds__GetZeroConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__LoadCACertificates(struct soap *, struct _tds__LoadCACertificates *tds__LoadCACertificates, struct _tds__LoadCACertificatesResponse *tds__LoadCACertificatesResponse)
{
printf("[%d] __tds__LoadCACertificates called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__LoadCertificates(struct soap *, struct _tds__LoadCertificates *tds__LoadCertificates, struct _tds__LoadCertificatesResponse *tds__LoadCertificatesResponse)
{
printf("[%d] __tds__LoadCertificates called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__LoadCertificateWithPrivateKey(struct soap *, struct _tds__LoadCertificateWithPrivateKey *tds__LoadCertificateWithPrivateKey, struct _tds__LoadCertificateWithPrivateKeyResponse *tds__LoadCertificateWithPrivateKeyResponse)
{
printf("[%d] __tds__LoadCertificateWithPrivateKey called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__RemoveIPAddressFilter(struct soap *, struct _tds__RemoveIPAddressFilter *tds__RemoveIPAddressFilter, struct _tds__RemoveIPAddressFilterResponse *tds__RemoveIPAddressFilterResponse)
{
printf("[%d] __tds__RemoveIPAddressFilter called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__RemoveScopes(struct soap *, struct _tds__RemoveScopes *tds__RemoveScopes, struct _tds__RemoveScopesResponse *tds__RemoveScopesResponse)
{
printf("[%d] __tds__RemoveScopes called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__RestoreSystem(struct soap *, struct _tds__RestoreSystem *tds__RestoreSystem, struct _tds__RestoreSystemResponse *tds__RestoreSystemResponse)
{
printf("[%d] __tds__RestoreSystem called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__ScanAvailableDot11Networks(struct soap *, struct _tds__ScanAvailableDot11Networks *tds__ScanAvailableDot11Networks, struct _tds__ScanAvailableDot11NetworksResponse *tds__ScanAvailableDot11NetworksResponse)
{
printf("[%d] __tds__ScanAvailableDot11Networks called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SendAuxiliaryCommand(struct soap *, struct _tds__SendAuxiliaryCommand *tds__SendAuxiliaryCommand, struct _tds__SendAuxiliaryCommandResponse *tds__SendAuxiliaryCommandResponse)
{
printf("[%d] __tds__SendAuxiliaryCommand called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetAccessPolicy(struct soap *, struct _tds__SetAccessPolicy *tds__SetAccessPolicy, struct _tds__SetAccessPolicyResponse *tds__SetAccessPolicyResponse)
{
printf("[%d] __tds__SetAccessPolicy called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetAuthFailureWarningConfiguration(struct soap *, struct _tds__SetAuthFailureWarningConfiguration *tds__SetAuthFailureWarningConfiguration, struct _tds__SetAuthFailureWarningConfigurationResponse *tds__SetAuthFailureWarningConfigurationResponse)
{
printf("[%d] __tds__SetAuthFailureWarningConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetCertificatesStatus(struct soap *, struct _tds__SetCertificatesStatus *tds__SetCertificatesStatus, struct _tds__SetCertificatesStatusResponse *tds__SetCertificatesStatusResponse)
{
printf("[%d] __tds__SetCertificatesStatus called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetClientCertificateMode(struct soap *, struct _tds__SetClientCertificateMode *tds__SetClientCertificateMode, struct _tds__SetClientCertificateModeResponse *tds__SetClientCertificateModeResponse)
{
printf("[%d] __tds__SetClientCertificateMode called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetDiscoveryMode(struct soap *, struct _tds__SetDiscoveryMode *tds__SetDiscoveryMode, struct _tds__SetDiscoveryModeResponse *tds__SetDiscoveryModeResponse)
{
printf("[%d] __tds__SetDiscoveryMode called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetDNS(struct soap *, struct _tds__SetDNS *tds__SetDNS, struct _tds__SetDNSResponse *tds__SetDNSResponse)
{
printf("[%d] __tds__SetDNS called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetDot1XConfiguration(struct soap *, struct _tds__SetDot1XConfiguration *tds__SetDot1XConfiguration, struct _tds__SetDot1XConfigurationResponse *tds__SetDot1XConfigurationResponse)
{
printf("[%d] __tds__SetDot1XConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetDPAddresses(struct soap *, struct _tds__SetDPAddresses *tds__SetDPAddresses, struct _tds__SetDPAddressesResponse *tds__SetDPAddressesResponse)
{
printf("[%d] __tds__SetDPAddresses called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetDynamicDNS(struct soap *, struct _tds__SetDynamicDNS *tds__SetDynamicDNS, struct _tds__SetDynamicDNSResponse *tds__SetDynamicDNSResponse)
{
printf("[%d] __tds__SetDynamicDNS called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetGeoLocation(struct soap *, struct _tds__SetGeoLocation *tds__SetGeoLocation, struct _tds__SetGeoLocationResponse *tds__SetGeoLocationResponse)
{
printf("[%d] __tds__SetGeoLocation called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetHashingAlgorithm(struct soap *, struct _tds__SetHashingAlgorithm *tds__SetHashingAlgorithm, struct _tds__SetHashingAlgorithmResponse *tds__SetHashingAlgorithmResponse)
{
printf("[%d] __tds__SetHashingAlgorithm called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetHostnameFromDHCP(struct soap *, struct _tds__SetHostnameFromDHCP *tds__SetHostnameFromDHCP, struct _tds__SetHostnameFromDHCPResponse *tds__SetHostnameFromDHCPResponse)
{
printf("[%d] __tds__SetHostnameFromDHCP called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetHostname(struct soap *, struct _tds__SetHostname *tds__SetHostname, struct _tds__SetHostnameResponse *tds__SetHostnameResponse)
{
printf("[%d] __tds__SetHostname called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetIPAddressFilter(struct soap *, struct _tds__SetIPAddressFilter *tds__SetIPAddressFilter, struct _tds__SetIPAddressFilterResponse *tds__SetIPAddressFilterResponse)
{
printf("[%d] __tds__SetIPAddressFilter called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetNetworkDefaultGateway(struct soap *, struct _tds__SetNetworkDefaultGateway *tds__SetNetworkDefaultGateway, struct _tds__SetNetworkDefaultGatewayResponse *tds__SetNetworkDefaultGatewayResponse)
{
printf("[%d] __tds__SetNetworkDefaultGateway called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetNetworkInterfaces(struct soap *, struct _tds__SetNetworkInterfaces *tds__SetNetworkInterfaces, struct _tds__SetNetworkInterfacesResponse *tds__SetNetworkInterfacesResponse)
{
printf("[%d] __tds__SetNetworkInterfaces called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetNetworkProtocols(struct soap *, struct _tds__SetNetworkProtocols *tds__SetNetworkProtocols, struct _tds__SetNetworkProtocolsResponse *tds__SetNetworkProtocolsResponse)
{
printf("[%d] __tds__SetNetworkProtocols called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetNTP(struct soap *, struct _tds__SetNTP *tds__SetNTP, struct _tds__SetNTPResponse *tds__SetNTPResponse)
{
printf("[%d] __tds__SetNTP called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetPasswordComplexityConfiguration(struct soap *, struct _tds__SetPasswordComplexityConfiguration *tds__SetPasswordComplexityConfiguration, struct _tds__SetPasswordComplexityConfigurationResponse *tds__SetPasswordComplexityConfigurationResponse)
{
printf("[%d] __tds__SetPasswordComplexityConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetPasswordHistoryConfiguration(struct soap *, struct _tds__SetPasswordHistoryConfiguration *tds__SetPasswordHistoryConfiguration, struct _tds__SetPasswordHistoryConfigurationResponse *tds__SetPasswordHistoryConfigurationResponse)
{
printf("[%d] __tds__SetPasswordHistoryConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetRelayOutputSettings(struct soap *, struct _tds__SetRelayOutputSettings *tds__SetRelayOutputSettings, struct _tds__SetRelayOutputSettingsResponse *tds__SetRelayOutputSettingsResponse)
{
printf("[%d] __tds__SetRelayOutputSettings called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetRelayOutputState(struct soap *, struct _tds__SetRelayOutputState *tds__SetRelayOutputState, struct _tds__SetRelayOutputStateResponse *tds__SetRelayOutputStateResponse)
{
printf("[%d] __tds__SetRelayOutputState called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetRemoteDiscoveryMode(struct soap *, struct _tds__SetRemoteDiscoveryMode *tds__SetRemoteDiscoveryMode, struct _tds__SetRemoteDiscoveryModeResponse *tds__SetRemoteDiscoveryModeResponse)
{
printf("[%d] __tds__SetRemoteDiscoveryMode called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetRemoteUser(struct soap *, struct _tds__SetRemoteUser *tds__SetRemoteUser, struct _tds__SetRemoteUserResponse *tds__SetRemoteUserResponse)
{
printf("[%d] __tds__SetRemoteUser called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetScopes(struct soap *, struct _tds__SetScopes *tds__SetScopes, struct _tds__SetScopesResponse *tds__SetScopesResponse)
{
printf("[%d] __tds__SetScopes called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetStorageConfiguration(struct soap *, struct _tds__SetStorageConfiguration *tds__SetStorageConfiguration, struct _tds__SetStorageConfigurationResponse *tds__SetStorageConfigurationResponse)
{
printf("[%d] __tds__SetStorageConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetSystemDateAndTime(struct soap *, struct _tds__SetSystemDateAndTime *tds__SetSystemDateAndTime, struct _tds__SetSystemDateAndTimeResponse *tds__SetSystemDateAndTimeResponse)
{
printf("[%d] __tds__SetSystemDateAndTime called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetSystemFactoryDefault(struct soap *, struct _tds__SetSystemFactoryDefault *tds__SetSystemFactoryDefault, struct _tds__SetSystemFactoryDefaultResponse *tds__SetSystemFactoryDefaultResponse)
{
printf("[%d] __tds__SetSystemFactoryDefault called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetUserRole(struct soap *, struct _tds__SetUserRole *tds__SetUserRole, struct _tds__SetUserRoleResponse *tds__SetUserRoleResponse)
{
printf("[%d] __tds__SetUserRole called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetUser(struct soap *, struct _tds__SetUser *tds__SetUser, struct _tds__SetUserResponse *tds__SetUserResponse)
{
printf("[%d] __tds__SetUser called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SetZeroConfiguration(struct soap *, struct _tds__SetZeroConfiguration *tds__SetZeroConfiguration, struct _tds__SetZeroConfigurationResponse *tds__SetZeroConfigurationResponse)
{
printf("[%d] __tds__SetZeroConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__StartFirmwareUpgrade(struct soap *, struct _tds__StartFirmwareUpgrade *tds__StartFirmwareUpgrade, struct _tds__StartFirmwareUpgradeResponse *tds__StartFirmwareUpgradeResponse)
{
printf("[%d] __tds__StartFirmwareUpgrade called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__StartSystemRestore(struct soap *, struct _tds__StartSystemRestore *tds__StartSystemRestore, struct _tds__StartSystemRestoreResponse *tds__StartSystemRestoreResponse)
{
printf("[%d] __tds__StartSystemRestore called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__SystemReboot(struct soap *, struct _tds__SystemReboot *tds__SystemReboot, struct _tds__SystemRebootResponse *tds__SystemRebootResponse)
{
printf("[%d] __tds__SystemReboot called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__UpgradeFirmware(struct soap *, struct _tds__UpgradeFirmware *tds__UpgradeFirmware, struct _tds__UpgradeFirmwareResponse *tds__UpgradeFirmwareResponse)
{
printf("[%d] __tds__UpgradeFirmware called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __tds__UpgradeSystemFirmware(struct soap *, struct _tds__UpgradeSystemFirmware *tds__UpgradeSystemFirmware, struct _tds__UpgradeSystemFirmwareResponse *tds__UpgradeSystemFirmwareResponse)
{
printf("[%d] __tds__UpgradeSystemFirmware called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddAudioDecoderConfiguration(struct soap *, struct _trt__AddAudioDecoderConfiguration *trt__AddAudioDecoderConfiguration, struct _trt__AddAudioDecoderConfigurationResponse *trt__AddAudioDecoderConfigurationResponse)
{
printf("[%d] __trt__AddAudioDecoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddAudioEncoderConfiguration(struct soap *, struct _trt__AddAudioEncoderConfiguration *trt__AddAudioEncoderConfiguration, struct _trt__AddAudioEncoderConfigurationResponse *trt__AddAudioEncoderConfigurationResponse)
{
printf("[%d] __trt__AddAudioEncoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddAudioOutputConfiguration(struct soap *, struct _trt__AddAudioOutputConfiguration *trt__AddAudioOutputConfiguration, struct _trt__AddAudioOutputConfigurationResponse *trt__AddAudioOutputConfigurationResponse)
{
printf("[%d] __trt__AddAudioOutputConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddAudioSourceConfiguration(struct soap *, struct _trt__AddAudioSourceConfiguration *trt__AddAudioSourceConfiguration, struct _trt__AddAudioSourceConfigurationResponse *trt__AddAudioSourceConfigurationResponse)
{
printf("[%d] __trt__AddAudioSourceConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddMetadataConfiguration(struct soap *, struct _trt__AddMetadataConfiguration *trt__AddMetadataConfiguration, struct _trt__AddMetadataConfigurationResponse *trt__AddMetadataConfigurationResponse)
{
printf("[%d] __trt__AddMetadataConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddPTZConfiguration(struct soap *, struct _trt__AddPTZConfiguration *trt__AddPTZConfiguration, struct _trt__AddPTZConfigurationResponse *trt__AddPTZConfigurationResponse)
{
printf("[%d] __trt__AddPTZConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddVideoAnalyticsConfiguration(struct soap *, struct _trt__AddVideoAnalyticsConfiguration *trt__AddVideoAnalyticsConfiguration, struct _trt__AddVideoAnalyticsConfigurationResponse *trt__AddVideoAnalyticsConfigurationResponse)
{
printf("[%d] __trt__AddVideoAnalyticsConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddVideoEncoderConfiguration(struct soap *, struct _trt__AddVideoEncoderConfiguration *trt__AddVideoEncoderConfiguration, struct _trt__AddVideoEncoderConfigurationResponse *trt__AddVideoEncoderConfigurationResponse)
{
printf("[%d] __trt__AddVideoEncoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__AddVideoSourceConfiguration(struct soap *, struct _trt__AddVideoSourceConfiguration *trt__AddVideoSourceConfiguration, struct _trt__AddVideoSourceConfigurationResponse *trt__AddVideoSourceConfigurationResponse)
{
printf("[%d] __trt__AddVideoSourceConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__CreateOSD(struct soap *, struct _trt__CreateOSD *trt__CreateOSD, struct _trt__CreateOSDResponse *trt__CreateOSDResponse)
{
printf("[%d] __trt__CreateOSD called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__CreateProfile(struct soap *, struct _trt__CreateProfile *trt__CreateProfile, struct _trt__CreateProfileResponse *trt__CreateProfileResponse)
{
printf("[%d] __trt__CreateProfile called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__DeleteOSD(struct soap *, struct _trt__DeleteOSD *trt__DeleteOSD, struct _trt__DeleteOSDResponse *trt__DeleteOSDResponse)
{
printf("[%d] __trt__DeleteOSD called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__DeleteProfile(struct soap *, struct _trt__DeleteProfile *trt__DeleteProfile, struct _trt__DeleteProfileResponse *trt__DeleteProfileResponse)
{
printf("[%d] __trt__DeleteProfile called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioDecoderConfigurationOptions(struct soap *, struct _trt__GetAudioDecoderConfigurationOptions *trt__GetAudioDecoderConfigurationOptions, struct _trt__GetAudioDecoderConfigurationOptionsResponse *trt__GetAudioDecoderConfigurationOptionsResponse)
{
printf("[%d] __trt__GetAudioDecoderConfigurationOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioDecoderConfigurations(struct soap *, struct _trt__GetAudioDecoderConfigurations *trt__GetAudioDecoderConfigurations, struct _trt__GetAudioDecoderConfigurationsResponse *trt__GetAudioDecoderConfigurationsResponse)
{
printf("[%d] __trt__GetAudioDecoderConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioDecoderConfiguration(struct soap *, struct _trt__GetAudioDecoderConfiguration *trt__GetAudioDecoderConfiguration, struct _trt__GetAudioDecoderConfigurationResponse *trt__GetAudioDecoderConfigurationResponse)
{
printf("[%d] __trt__GetAudioDecoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioEncoderConfigurationOptions(struct soap *, struct _trt__GetAudioEncoderConfigurationOptions *trt__GetAudioEncoderConfigurationOptions, struct _trt__GetAudioEncoderConfigurationOptionsResponse *trt__GetAudioEncoderConfigurationOptionsResponse)
{
printf("[%d] __trt__GetAudioEncoderConfigurationOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioEncoderConfigurations(struct soap *, struct _trt__GetAudioEncoderConfigurations *trt__GetAudioEncoderConfigurations, struct _trt__GetAudioEncoderConfigurationsResponse *trt__GetAudioEncoderConfigurationsResponse)
{
printf("[%d] __trt__GetAudioEncoderConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioEncoderConfiguration(struct soap *, struct _trt__GetAudioEncoderConfiguration *trt__GetAudioEncoderConfiguration, struct _trt__GetAudioEncoderConfigurationResponse *trt__GetAudioEncoderConfigurationResponse)
{
printf("[%d] __trt__GetAudioEncoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioOutputConfigurationOptions(struct soap *, struct _trt__GetAudioOutputConfigurationOptions *trt__GetAudioOutputConfigurationOptions, struct _trt__GetAudioOutputConfigurationOptionsResponse *trt__GetAudioOutputConfigurationOptionsResponse)
{
printf("[%d] __trt__GetAudioOutputConfigurationOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioOutputConfigurations(struct soap *, struct _trt__GetAudioOutputConfigurations *trt__GetAudioOutputConfigurations, struct _trt__GetAudioOutputConfigurationsResponse *trt__GetAudioOutputConfigurationsResponse)
{
printf("[%d] __trt__GetAudioOutputConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioOutputConfiguration(struct soap *, struct _trt__GetAudioOutputConfiguration *trt__GetAudioOutputConfiguration, struct _trt__GetAudioOutputConfigurationResponse *trt__GetAudioOutputConfigurationResponse)
{
printf("[%d] __trt__GetAudioOutputConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioOutputs(struct soap *, struct _trt__GetAudioOutputs *trt__GetAudioOutputs, struct _trt__GetAudioOutputsResponse *trt__GetAudioOutputsResponse)
{
printf("[%d] __trt__GetAudioOutputs called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioSourceConfigurationOptions(struct soap *, struct _trt__GetAudioSourceConfigurationOptions *trt__GetAudioSourceConfigurationOptions, struct _trt__GetAudioSourceConfigurationOptionsResponse *trt__GetAudioSourceConfigurationOptionsResponse)
{
printf("[%d] __trt__GetAudioSourceConfigurationOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioSourceConfigurations(struct soap *, struct _trt__GetAudioSourceConfigurations *trt__GetAudioSourceConfigurations, struct _trt__GetAudioSourceConfigurationsResponse *trt__GetAudioSourceConfigurationsResponse)
{
printf("[%d] __trt__GetAudioSourceConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioSourceConfiguration(struct soap *, struct _trt__GetAudioSourceConfiguration *trt__GetAudioSourceConfiguration, struct _trt__GetAudioSourceConfigurationResponse *trt__GetAudioSourceConfigurationResponse)
{
printf("[%d] __trt__GetAudioSourceConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetAudioSources(struct soap *, struct _trt__GetAudioSources *trt__GetAudioSources, struct _trt__GetAudioSourcesResponse *trt__GetAudioSourcesResponse)
{
printf("[%d] __trt__GetAudioSources called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetCompatibleAudioDecoderConfigurations(struct soap *, struct _trt__GetCompatibleAudioDecoderConfigurations *trt__GetCompatibleAudioDecoderConfigurations, struct _trt__GetCompatibleAudioDecoderConfigurationsResponse *trt__GetCompatibleAudioDecoderConfigurationsResponse)
{
printf("[%d] __trt__GetCompatibleAudioDecoderConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetCompatibleAudioEncoderConfigurations(struct soap *, struct _trt__GetCompatibleAudioEncoderConfigurations *trt__GetCompatibleAudioEncoderConfigurations, struct _trt__GetCompatibleAudioEncoderConfigurationsResponse *trt__GetCompatibleAudioEncoderConfigurationsResponse)
{
printf("[%d] __trt__GetCompatibleAudioEncoderConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetCompatibleAudioOutputConfigurations(struct soap *, struct _trt__GetCompatibleAudioOutputConfigurations *trt__GetCompatibleAudioOutputConfigurations, struct _trt__GetCompatibleAudioOutputConfigurationsResponse *trt__GetCompatibleAudioOutputConfigurationsResponse)
{
printf("[%d] __trt__GetCompatibleAudioOutputConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetCompatibleAudioSourceConfigurations(struct soap *, struct _trt__GetCompatibleAudioSourceConfigurations *trt__GetCompatibleAudioSourceConfigurations, struct _trt__GetCompatibleAudioSourceConfigurationsResponse *trt__GetCompatibleAudioSourceConfigurationsResponse)
{
printf("[%d] __trt__GetCompatibleAudioSourceConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetCompatibleMetadataConfigurations(struct soap *, struct _trt__GetCompatibleMetadataConfigurations *trt__GetCompatibleMetadataConfigurations, struct _trt__GetCompatibleMetadataConfigurationsResponse *trt__GetCompatibleMetadataConfigurationsResponse)
{
printf("[%d] __trt__GetCompatibleMetadataConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetCompatibleVideoAnalyticsConfigurations(struct soap *, struct _trt__GetCompatibleVideoAnalyticsConfigurations *trt__GetCompatibleVideoAnalyticsConfigurations, struct _trt__GetCompatibleVideoAnalyticsConfigurationsResponse *trt__GetCompatibleVideoAnalyticsConfigurationsResponse)
{
printf("[%d] __trt__GetCompatibleVideoAnalyticsConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetCompatibleVideoEncoderConfigurations(struct soap *, struct _trt__GetCompatibleVideoEncoderConfigurations *trt__GetCompatibleVideoEncoderConfigurations, struct _trt__GetCompatibleVideoEncoderConfigurationsResponse *trt__GetCompatibleVideoEncoderConfigurationsResponse)
{
printf("[%d] __trt__GetCompatibleVideoEncoderConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetCompatibleVideoSourceConfigurations(struct soap *, struct _trt__GetCompatibleVideoSourceConfigurations *trt__GetCompatibleVideoSourceConfigurations, struct _trt__GetCompatibleVideoSourceConfigurationsResponse *trt__GetCompatibleVideoSourceConfigurationsResponse)
{
printf("[%d] __trt__GetCompatibleVideoSourceConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetGuaranteedNumberOfVideoEncoderInstances(struct soap *, struct _trt__GetGuaranteedNumberOfVideoEncoderInstances *trt__GetGuaranteedNumberOfVideoEncoderInstances, struct _trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse *trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse)
{
printf("[%d] __trt__GetGuaranteedNumberOfVideoEncoderInstances called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetMetadataConfigurationOptions(struct soap *, struct _trt__GetMetadataConfigurationOptions *trt__GetMetadataConfigurationOptions, struct _trt__GetMetadataConfigurationOptionsResponse *trt__GetMetadataConfigurationOptionsResponse)
{
printf("[%d] __trt__GetMetadataConfigurationOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetMetadataConfigurations(struct soap *, struct _trt__GetMetadataConfigurations *trt__GetMetadataConfigurations, struct _trt__GetMetadataConfigurationsResponse *trt__GetMetadataConfigurationsResponse)
{
printf("[%d] __trt__GetMetadataConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetMetadataConfiguration(struct soap *, struct _trt__GetMetadataConfiguration *trt__GetMetadataConfiguration, struct _trt__GetMetadataConfigurationResponse *trt__GetMetadataConfigurationResponse)
{
printf("[%d] __trt__GetMetadataConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetOSDOptions(struct soap *, struct _trt__GetOSDOptions *trt__GetOSDOptions, struct _trt__GetOSDOptionsResponse *trt__GetOSDOptionsResponse)
{
printf("[%d] __trt__GetOSDOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetOSDs(struct soap *, struct _trt__GetOSDs *trt__GetOSDs, struct _trt__GetOSDsResponse *trt__GetOSDsResponse)
{
printf("[%d] __trt__GetOSDs called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetOSD(struct soap *, struct _trt__GetOSD *trt__GetOSD, struct _trt__GetOSDResponse *trt__GetOSDResponse)
{
printf("[%d] __trt__GetOSD called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetProfiles(struct soap *, struct _trt__GetProfiles *trt__GetProfiles, struct _trt__GetProfilesResponse *trt__GetProfilesResponse)
{
printf("[%d] __trt__GetProfiles called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetProfile(struct soap *, struct _trt__GetProfile *trt__GetProfile, struct _trt__GetProfileResponse *trt__GetProfileResponse)
{
printf("[%d] __trt__GetProfile called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetServiceCapabilities(struct soap *, struct _trt__GetServiceCapabilities *trt__GetServiceCapabilities, struct _trt__GetServiceCapabilitiesResponse *trt__GetServiceCapabilitiesResponse)
{
printf("[%d] __trt__GetServiceCapabilities called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetSnapshotUri(struct soap *, struct _trt__GetSnapshotUri *trt__GetSnapshotUri, struct _trt__GetSnapshotUriResponse *trt__GetSnapshotUriResponse)
{
printf("[%d] __trt__GetSnapshotUri called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetStreamUri(struct soap *, struct _trt__GetStreamUri *trt__GetStreamUri, struct _trt__GetStreamUriResponse *trt__GetStreamUriResponse)
{
printf("[%d] __trt__GetStreamUri called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoAnalyticsConfigurations(struct soap *, struct _trt__GetVideoAnalyticsConfigurations *trt__GetVideoAnalyticsConfigurations, struct _trt__GetVideoAnalyticsConfigurationsResponse *trt__GetVideoAnalyticsConfigurationsResponse)
{
printf("[%d] __trt__GetVideoAnalyticsConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoAnalyticsConfiguration(struct soap *, struct _trt__GetVideoAnalyticsConfiguration *trt__GetVideoAnalyticsConfiguration, struct _trt__GetVideoAnalyticsConfigurationResponse *trt__GetVideoAnalyticsConfigurationResponse)
{
printf("[%d] __trt__GetVideoAnalyticsConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoEncoderConfigurationOptions(struct soap *, struct _trt__GetVideoEncoderConfigurationOptions *trt__GetVideoEncoderConfigurationOptions, struct _trt__GetVideoEncoderConfigurationOptionsResponse *trt__GetVideoEncoderConfigurationOptionsResponse)
{
printf("[%d] __trt__GetVideoEncoderConfigurationOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoEncoderConfigurations(struct soap *, struct _trt__GetVideoEncoderConfigurations *trt__GetVideoEncoderConfigurations, struct _trt__GetVideoEncoderConfigurationsResponse *trt__GetVideoEncoderConfigurationsResponse)
{
printf("[%d] __trt__GetVideoEncoderConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoEncoderConfiguration(struct soap *, struct _trt__GetVideoEncoderConfiguration *trt__GetVideoEncoderConfiguration, struct _trt__GetVideoEncoderConfigurationResponse *trt__GetVideoEncoderConfigurationResponse)
{
printf("[%d] __trt__GetVideoEncoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoSourceConfigurationOptions(struct soap *, struct _trt__GetVideoSourceConfigurationOptions *trt__GetVideoSourceConfigurationOptions, struct _trt__GetVideoSourceConfigurationOptionsResponse *trt__GetVideoSourceConfigurationOptionsResponse)
{
printf("[%d] __trt__GetVideoSourceConfigurationOptions called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoSourceConfigurations(struct soap *, struct _trt__GetVideoSourceConfigurations *trt__GetVideoSourceConfigurations, struct _trt__GetVideoSourceConfigurationsResponse *trt__GetVideoSourceConfigurationsResponse)
{
printf("[%d] __trt__GetVideoSourceConfigurations called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoSourceConfiguration(struct soap *, struct _trt__GetVideoSourceConfiguration *trt__GetVideoSourceConfiguration, struct _trt__GetVideoSourceConfigurationResponse *trt__GetVideoSourceConfigurationResponse)
{
printf("[%d] __trt__GetVideoSourceConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoSourceModes(struct soap *, struct _trt__GetVideoSourceModes *trt__GetVideoSourceModes, struct _trt__GetVideoSourceModesResponse *trt__GetVideoSourceModesResponse)
{
printf("[%d] __trt__GetVideoSourceModes called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__GetVideoSources(struct soap *, struct _trt__GetVideoSources *trt__GetVideoSources, struct _trt__GetVideoSourcesResponse *trt__GetVideoSourcesResponse)
{
printf("[%d] __trt__GetVideoSources called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemoveAudioDecoderConfiguration(struct soap *, struct _trt__RemoveAudioDecoderConfiguration *trt__RemoveAudioDecoderConfiguration, struct _trt__RemoveAudioDecoderConfigurationResponse *trt__RemoveAudioDecoderConfigurationResponse)
{
printf("[%d] __trt__RemoveAudioDecoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemoveAudioEncoderConfiguration(struct soap *, struct _trt__RemoveAudioEncoderConfiguration *trt__RemoveAudioEncoderConfiguration, struct _trt__RemoveAudioEncoderConfigurationResponse *trt__RemoveAudioEncoderConfigurationResponse)
{
printf("[%d] __trt__RemoveAudioEncoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemoveAudioOutputConfiguration(struct soap *, struct _trt__RemoveAudioOutputConfiguration *trt__RemoveAudioOutputConfiguration, struct _trt__RemoveAudioOutputConfigurationResponse *trt__RemoveAudioOutputConfigurationResponse)
{
printf("[%d] __trt__RemoveAudioOutputConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemoveAudioSourceConfiguration(struct soap *, struct _trt__RemoveAudioSourceConfiguration *trt__RemoveAudioSourceConfiguration, struct _trt__RemoveAudioSourceConfigurationResponse *trt__RemoveAudioSourceConfigurationResponse)
{
printf("[%d] __trt__RemoveAudioSourceConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemoveMetadataConfiguration(struct soap *, struct _trt__RemoveMetadataConfiguration *trt__RemoveMetadataConfiguration, struct _trt__RemoveMetadataConfigurationResponse *trt__RemoveMetadataConfigurationResponse)
{
printf("[%d] __trt__RemoveMetadataConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemovePTZConfiguration(struct soap *, struct _trt__RemovePTZConfiguration *trt__RemovePTZConfiguration, struct _trt__RemovePTZConfigurationResponse *trt__RemovePTZConfigurationResponse)
{
printf("[%d] __trt__RemovePTZConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemoveVideoAnalyticsConfiguration(struct soap *, struct _trt__RemoveVideoAnalyticsConfiguration *trt__RemoveVideoAnalyticsConfiguration, struct _trt__RemoveVideoAnalyticsConfigurationResponse *trt__RemoveVideoAnalyticsConfigurationResponse)
{
printf("[%d] __trt__RemoveVideoAnalyticsConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemoveVideoEncoderConfiguration(struct soap *, struct _trt__RemoveVideoEncoderConfiguration *trt__RemoveVideoEncoderConfiguration, struct _trt__RemoveVideoEncoderConfigurationResponse *trt__RemoveVideoEncoderConfigurationResponse)
{
printf("[%d] __trt__RemoveVideoEncoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__RemoveVideoSourceConfiguration(struct soap *, struct _trt__RemoveVideoSourceConfiguration *trt__RemoveVideoSourceConfiguration, struct _trt__RemoveVideoSourceConfigurationResponse *trt__RemoveVideoSourceConfigurationResponse)
{
printf("[%d] __trt__RemoveVideoSourceConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetAudioDecoderConfiguration(struct soap *, struct _trt__SetAudioDecoderConfiguration *trt__SetAudioDecoderConfiguration, struct _trt__SetAudioDecoderConfigurationResponse *trt__SetAudioDecoderConfigurationResponse)
{
printf("[%d] __trt__SetAudioDecoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetAudioEncoderConfiguration(struct soap *, struct _trt__SetAudioEncoderConfiguration *trt__SetAudioEncoderConfiguration, struct _trt__SetAudioEncoderConfigurationResponse *trt__SetAudioEncoderConfigurationResponse)
{
printf("[%d] __trt__SetAudioEncoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetAudioOutputConfiguration(struct soap *, struct _trt__SetAudioOutputConfiguration *trt__SetAudioOutputConfiguration, struct _trt__SetAudioOutputConfigurationResponse *trt__SetAudioOutputConfigurationResponse)
{
printf("[%d] __trt__SetAudioOutputConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetAudioSourceConfiguration(struct soap *, struct _trt__SetAudioSourceConfiguration *trt__SetAudioSourceConfiguration, struct _trt__SetAudioSourceConfigurationResponse *trt__SetAudioSourceConfigurationResponse)
{
printf("[%d] __trt__SetAudioSourceConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetMetadataConfiguration(struct soap *, struct _trt__SetMetadataConfiguration *trt__SetMetadataConfiguration, struct _trt__SetMetadataConfigurationResponse *trt__SetMetadataConfigurationResponse)
{
printf("[%d] __trt__SetMetadataConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetOSD(struct soap *, struct _trt__SetOSD *trt__SetOSD, struct _trt__SetOSDResponse *trt__SetOSDResponse)
{
printf("[%d] __trt__SetOSD called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetSynchronizationPoint(struct soap *, struct _trt__SetSynchronizationPoint *trt__SetSynchronizationPoint, struct _trt__SetSynchronizationPointResponse *trt__SetSynchronizationPointResponse)
{
printf("[%d] __trt__SetSynchronizationPoint called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetVideoAnalyticsConfiguration(struct soap *, struct _trt__SetVideoAnalyticsConfiguration *trt__SetVideoAnalyticsConfiguration, struct _trt__SetVideoAnalyticsConfigurationResponse *trt__SetVideoAnalyticsConfigurationResponse)
{
printf("[%d] __trt__SetVideoAnalyticsConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetVideoEncoderConfiguration(struct soap *, struct _trt__SetVideoEncoderConfiguration *trt__SetVideoEncoderConfiguration, struct _trt__SetVideoEncoderConfigurationResponse *trt__SetVideoEncoderConfigurationResponse)
{
printf("[%d] __trt__SetVideoEncoderConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetVideoSourceConfiguration(struct soap *, struct _trt__SetVideoSourceConfiguration *trt__SetVideoSourceConfiguration, struct _trt__SetVideoSourceConfigurationResponse *trt__SetVideoSourceConfigurationResponse)
{
printf("[%d] __trt__SetVideoSourceConfiguration called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__SetVideoSourceMode(struct soap *, struct _trt__SetVideoSourceMode *trt__SetVideoSourceMode, struct _trt__SetVideoSourceModeResponse *trt__SetVideoSourceModeResponse)
{
printf("[%d] __trt__SetVideoSourceMode called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__StartMulticastStreaming(struct soap *, struct _trt__StartMulticastStreaming *trt__StartMulticastStreaming, struct _trt__StartMulticastStreamingResponse *trt__StartMulticastStreamingResponse)
{
printf("[%d] __trt__StartMulticastStreaming called\n", __LINE__);
return 0;
}
SOAP_FMAC5 int SOAP_FMAC6 __trt__StopMulticastStreaming(struct soap *, struct _trt__StopMulticastStreaming *trt__StopMulticastStreaming, struct _trt__StopMulticastStreamingResponse *trt__StopMulticastStreamingResponse)
{
printf("[%d] __trt__StopMulticastStreaming called\n", __LINE__);
return 0;
}
主函数文件:onvif_server.c
要包含头文件#include "wsdd.nsmap"
扫描服务器3702,命令服务器80.用两个线程实现。
使用sudo运行!!!
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <errno.h>
#include "soapH.h"
#include "soapStub.h"
#include "wsdd.nsmap"
#define ONVIF_UDP_PORT 3702
#define ONVIF_TCP_PORT 80
void *tcp_server_thread(void *arg)
{
struct soap tcp_soap;
soap_init1(&tcp_soap, SOAP_XML_IGNORENS);
soap_set_namespaces(&tcp_soap, namespaces);
tcp_soap.bind_flags = SO_REUSEADDR;
if (!soap_valid_socket(soap_bind(&tcp_soap, NULL, ONVIF_TCP_PORT, 100)))
{
soap_print_fault(&tcp_soap, stderr);
fprintf(stderr, "[%d] TCP bind failed on port %d\n", __LINE__, ONVIF_TCP_PORT);
soap_done(&tcp_soap);
return NULL;
}
printf("[%d] TCP server listening on port %d\n", __LINE__, ONVIF_TCP_PORT);
for (;;)
{
if (!soap_valid_socket(soap_accept(&tcp_soap)))
{
soap_print_fault(&tcp_soap, stderr);
break;
}
soap_serve(&tcp_soap);
soap_destroy(&tcp_soap);
soap_end(&tcp_soap);
}
soap_done(&tcp_soap);
return NULL;
}
void *udp_server_thread(void *arg)
{
int count = 0;
struct soap udp_soap;
struct ip_mreq mcast;
soap_init1(&udp_soap, SOAP_IO_UDP | SOAP_XML_IGNORENS);
soap_set_namespaces(&udp_soap, namespaces);
printf("[%s][%d] udp_soap.version = %d\n", __FILE__, __LINE__, udp_soap.version);
if (!soap_valid_socket(soap_bind(&udp_soap, NULL, ONVIF_UDP_PORT, 10)))
{
soap_print_fault(&udp_soap, stderr);
soap_done(&udp_soap);
return NULL;
}
mcast.imr_multiaddr.s_addr = inet_addr("239.255.255.250");
mcast.imr_interface.s_addr = htonl(INADDR_ANY);
if (setsockopt(udp_soap.master, IPPROTO_IP, IP_ADD_MEMBERSHIP, (char *)&mcast, sizeof(mcast)) < 0)
{
printf("setsockopt error! error code = %d, err string = %s\n", errno, strerror(errno));
soap_done(&udp_soap);
return NULL;
}
for (;;)
{
if (soap_serve(&udp_soap))
{
soap_print_fault(&udp_soap, stderr);
}
soap_destroy(&udp_soap);
soap_end(&udp_soap);
printf("RECEIVE count %d, connection from IP = %lu.%lu.%lu.%lu socket = %d\n",
count,
((udp_soap.ip) >> 24) & 0xFF, ((udp_soap.ip) >> 16) & 0xFF,
((udp_soap.ip) >> 8) & 0xFF, (udp_soap.ip) & 0xFF,
udp_soap.socket);
count++;
}
soap_done(&udp_soap);
return NULL;
}
int main(int argc, char **argv)
{
printf("[%s][%d][%s] start\n", __FILE__, __LINE__, __func__);
pthread_t tcp_thread;
pthread_t udp_thread;
pthread_create(&tcp_thread, NULL, tcp_server_thread, NULL);
pthread_create(&udp_thread, NULL, udp_server_thread, NULL);
pthread_join(udp_thread, NULL);
pthread_join(tcp_thread, NULL);
return 0;
}
Makefile
GXX = g++
GCC = gcc
CFLAGS =
SRCS_CPP = $(wildcard *.cpp)
SRCS_C = $(wildcard *.c)
TARGET = test
$(info srcs: $(SRCS_CPP) $(SRCS_C))
OBJS_CPP = $(patsubst %.cpp,%.o,$(SRCS_CPP))
OBJS_C = $(patsubst %.c,%.o,$(SRCS_C))
$(info objs: $(OBJS_CPP) $(OBJS_C))
# -L../install/lib/ -lgsoap
all:$(OBJS_CPP) $(OBJS_C)
$(GXX) -o $(TARGET) $(OBJS_CPP) $(OBJS_C) $(CFLAGS) -pthread -O3
$(OBJS_CPP):%.o:%.cpp
$(GXX) -c $^ -o $@ $(CFLAGS)
$(OBJS_C):%.o:%.c
$(GXX) -c $^ -o $@ $(CFLAGS)
clean:
rm -f *.o $(TARGET) $(OBJS_CPP) $(OBJS_C)
openEuler 是由开放原子开源基金会孵化的全场景开源操作系统项目,面向数字基础设施四大核心场景(服务器、云计算、边缘计算、嵌入式),全面支持 ARM、x86、RISC-V、loongArch、PowerPC、SW-64 等多样性计算架构
更多推荐



所有评论(0)