资源简介
onvif设备发现+鉴权认证+RTSP地址获取VS2010编译,最新的windows平台实现
代码片段和文件信息
/*
duration.c
See duration.h for documentation.
Compile this file and link it with your code.
gSOAP xml Web services tools
Copyright (C) 2000-2015 Robert van Engelen Genivia Inc. All Rights Reserved.
This part of the software is released under ONE of the following licenses:
GPL the gSOAP public license OR Genivia‘s license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the “License“); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an “AS IS“ basis
WITHOUT WARRANTY OF ANY KIND either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2015 Robert van Engelen Genivia Inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License or (at your option) any later
version.
This program is distributed in the hope that it will be useful but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not write to the Free Software Foundation Inc. 59 Temple
Place Suite 330 Boston MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
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
--------------------------------------------------------------------------------
*/
/* soapH.h generated by soapcpp2 from .h file containing #import “duration.h“ */
#include “soapH.h“
void soap_default_xsd__duration(struct soap *soap LONG64 *a)
{ (void)soap; /* appease -Wall -Werror */
*a = 0;
}
const char *soap_xsd__duration2s(struct soap *soap LONG64 a)
{ LONG64 d;
int k h m s f;
if (a < 0)
{ soap_strcpy(soap->tmpbuf sizeof(soap->tmpbuf) “-P“);
k = 2;
a = -a;
}
else
{ soap_strcpy(soap->tmpbuf sizeof(soap->tmpbuf) “P“);
k = 1;
}
f = a % 1000;
a /= 1000;
s = a % 60;
a /= 60;
m = a % 60;
a /= 60;
h = a % 24;
d = a / 24;
if (d)
(SOAP_SNPRINTF(soap->tmpbuf + k sizeof(soap->tmpbuf) - k 21) SOAP_LONG_FORMAT “D“ d);
if (
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2656 2014-12-01 11:01 MyOnvif\ba
文件 6401 2016-02-01 13:32 MyOnvif\duration.c
文件 3961 2016-02-01 13:32 MyOnvif\duration.h
文件 10964 2016-04-21 09:48 MyOnvif\MyOnvif.cpp
文件 5202 2016-04-20 18:37 MyOnvif\MyOnvif.vcxproj
文件 1939 2016-04-20 18:36 MyOnvif\MyOnvif.vcxproj.filters
文件 143 2014-07-23 15:56 MyOnvif\MyOnvif.vcxproj.user
文件 1553 2014-07-23 15:56 MyOnvif\ReadMe.txt
文件 22786 2014-12-01 10:57 MyOnvif\sha1.h
文件 9597845 2016-04-21 09:42 MyOnvif\soapC.c
文件 463712 2016-04-21 10:09 MyOnvif\soapClient.c
文件 4259152 2016-04-21 09:42 MyOnvif\soapH.h
文件 825218 2016-04-21 09:42 MyOnvif\soapStub.h
文件 212 2014-07-23 15:56 MyOnvif\stdafx.cpp
文件 233 2014-07-23 15:56 MyOnvif\stdafx.h
文件 540313 2016-02-01 13:32 MyOnvif\stdsoap2.cpp
文件 140031 2016-02-01 13:32 MyOnvif\stdsoap2.h
文件 236 2014-07-24 11:48 MyOnvif\targetver.h
文件 2030 2016-04-21 09:42 MyOnvif\wsdd.nsmap
文件 888 2014-07-23 15:56 MyOnvif.sln
..A..H. 30720 2016-04-21 10:09 MyOnvif.suo
目录 0 2016-04-21 13:41 MyOnvif
----------- --------- ---------- ----- ----
15916195 22
- 上一篇:基于socket的聊天程序报告
- 下一篇:ORCAD16.3及完美破解的地址
评论
共有 条评论