资源简介
v2.4版本的onvif源代码,实现了客户端和服务器的发现功能。
代码片段和文件信息
/*
duration.c
Custom serializer for xsd:duration stored in a LONG64 with ms precision
- the LONG64 int can represent 106751991167 days forward and backward
- LONG64 is long long int under Unix/Linux
- millisecond resolution (1/1000 sec) means 1 second = 1000
- when adding to a time_t value conversion may be needed since time_t
may (or may) not have seconds resolution
- durations longer than a month are always output in days rather than
months to avoid days-per-month conversion
- durations expressed in years and months are not well defined since
there is no reference starting time; the decoder assumes 30 days per
month and conversion of P4M gives 120 days and therefore the duration
P4M and P120D are assumed identical while they may yield different
result depending on the reference starting time
Compile this file and link it with your code.
gSOAP xml Web services tools
Copyright (C) 2000-2009 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-2009 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
--------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2013 2013-09-18 17:16 onvif_test\onvif_server.c
文件 1880 2013-09-18 16:32 onvif_test\readme.txt
文件 912 2013-09-18 17:20 onvif_test\Makefile
文件 3973 2013-09-18 20:57 onvif_test\onvif_client.c
文件 501766 2013-08-25 19:10 onvif_test\stdsoap2.c
文件 575 2013-09-18 17:12 onvif_test\onvif_function.h
文件 2205 2013-09-18 17:12 onvif_test\onvif_function.c
文件 5639679 2013-09-17 09:15 onvif_test\soapH.h
文件 748123 2013-09-18 16:18 onvif_test\soapServer.c
文件 2897806 2013-09-17 09:14 onvif_test\onvif.h
文件 852325 2013-09-18 16:44 onvif_test\soapClient.c
文件 103222 2013-09-18 17:17 onvif_test\onvif_server_interface.c
文件 6563 2013-08-25 19:09 onvif_test\duration.c
文件 12806644 2013-09-17 09:15 onvif_test\soapC.c
文件 3143 2013-09-18 17:16 onvif_test\nsmap.h
文件 870909 2013-09-13 09:19 onvif_test\tcpdump
文件 966373 2013-09-17 09:15 onvif_test\soapStub.h
文件 96532 2013-09-18 17:17 onvif_test\stdsoap2.h
目录 0 2013-09-18 22:32 onvif_test
----------- --------- ---------- ----- ----
25504643 19
评论
共有 条评论