[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] fs/tagfsys/pub tagobj.h,1.4,1.5
From:       dcollins () helixcommunity ! org
Date:       2010-09-14 17:01:01
Message-ID: 201009141700.o8EH0Xrh000559 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/fs/tagfsys/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv23120/server/fs/tagfsys/pub

Modified Files:
	tagobj.h 
Log Message:
Synopsis
========
Implements more enhancements related to 64-bit Large File Support (part 4)

Branches: SERVER_CURRENT_RN (HEAD)
Reviewer: Chytanya


Description
===========

This implements some server, datatype-restricted, server-restricted,
datatype_rn and server_rn module related updates necessary for supporting
large files (greater than 4GB) in our 64-bit Helix Server builds.
These updates relate primarily to the seek/tell/stat types of calls.

In some cases, the underlying implementation remains 32-bit, in which
case a comment is typically added to help me find these as I continue
enhancing and extending 64-bit/LFS functionality.

These changes are implented so that the impact on non-64-bit builds,
and non-server builds, should be minimal, ideally transparent.

While MEI/MII/rncache are updated to build using the 64-bit Helix APIs,
a seperate task is to update these to allow for large files, and for
backward compatability when talking to a legacy/32-bit server/proxy.


Files Affected
==============

server/appext/ramgen/ramplin.cpp
server/appext/ramgen/ramplin.h
server/broadcast/app/scalable-mcast/pplyfobj.cpp
server/broadcast/app/scalable-mcast/pub/pplyfobj.h
server/broadcast/transport/rtp/recv/qtbcobj.cpp
server/broadcast/transport/rtp/recv/qtbcobj.h
server/broadcast/transport/rtp/recv/qtdirmgr.cpp
server/broadcast/transport/rtp/recv/qtdirmgr.h
server/engine/core/_main.cpp
server/engine/dataflow/fastfile.cpp
server/engine/dataflow/flob_wrap.cpp
server/engine/dataflow/http.cpp
server/engine/dataflow/pub/fastfile.h
server/engine/dataflow/pub/flob_wrap.h
server/engine/dataflow/pub/http.h
server/engine/session/clientsession.cpp
server/engine/session/pub/clientsession.h
server/fs/adminfs/adminfo.cpp
server/fs/adminfs/adminfo.h
server/fs/adminfs/browse.cpp
server/fs/adminfs/browse.h
server/fs/asncfs/asncfobj.cpp
server/fs/asncfs/asncfobj.h
server/fs/sdpgenfsys/sdpgenfobj.cpp
server/fs/sdpgenfsys/sdpgenfobj.h
server/fs/shell/shelfsys.cpp
server/fs/shell/shelfsys.h
server/fs/tagfsys/pub/tagobj.h
server/fs/tagfsys/tagobj.cpp
server/protocol/http/httpprot.cpp
server/protocol/http/pub/httpbaseproto.h
server/protocol/http/pub/httpprot.h
server/protocol/rtsp/chxrtcptransmapsocket.cpp
server/protocol/rtsp/crtspbase.cpp
datatype-restricted/rm/fileformat/rmffplin.cpp
datatype-restricted/rm/fileformat/rmffplin.h
datatype-restricted/rm/fileformat/rmvsrc.cpp
datatype-restricted/rm/fileformat/rmvsrc.h
server-restricted/cache/meiffpln/meiffpln.cpp
server-restricted/cache/meiffpln/meiffpln.h
server-restricted/cache/miiplin/fastfob.cpp
server-restricted/cache/miiplin/fastfob.h
server-restricted/cache/miiplin/filesupp.cpp
server-restricted/cache/miiplin/filesupp.h
server-restricted/cache/miiplin/miifetch.cpp
server-restricted/cache/miiplin/miifetch.h
server-restricted/cache/miiplin/miifile.cpp
server-restricted/cache/miiplin/miifile.h
server-restricted/cache/miiplin/rmtfile.cpp
server-restricted/cache/miiplin/rmtfile.h
server-restricted/cache/rncache/cmegc.cpp
server-restricted/cache/rncache/cmegc.h
server-restricted/cache/rncache/rncf.cpp
server-restricted/cache/rncache/rncf.h
server-restricted/datatype/playlist/file_reader.cpp
server-restricted/datatype/playlist/pub/file_reader.h
server-restricted/fs/encfs/encfobj.cpp
server-restricted/fs/encfs/pub/encfobj.h
server-restricted/protocol/http-ctrl/baseswitchhandler.cpp
server-restricted/protocol/http-ctrl/compatibility_handler.cpp
server-restricted/protocol/http-ctrl/httpcontentmgr.cpp
server-restricted/protocol/http-ctrl/pub/baseswitchhandler.h
server-restricted/protocol/http-ctrl/pub/compatibility_handler.h
server-restricted/protocol/http-ctrl/pub/httpcontentmgr.h
datatype_rn/avi/fileformat/aviffpln.cpp
datatype_rn/avi/fileformat/pub/aviffpln.h
datatype_rn/flash/fileformat/flshvsrc.cpp
datatype_rn/flash/fileformat/flshvsrc.h
datatype_rn/flash/fileformat/swfread.cpp
datatype_rn/flash/fileformat/swfread.h
datatype_rn/mp4/fileformat/hinttrack/qthinttrack.cpp
datatype_rn/mp4/fileformat/hinttrack/qthinttrack.h
server_rn/appext/asxplin/asxplin.cpp
server_rn/appext/asxplin/asxplin.h
server_rn/appext/flashgen/flashgenfsys.cpp
server_rn/appext/flashgen/pub/flashgenfsys.h
server_rn/appext/m3ugen/m3ugenfsys.cpp
server_rn/appext/m3ugen/pub/m3ugenfsys.h
server_rn/cache/siiplin/mmsfob.cpp
server_rn/cache/siiplin/mmsfob.h
server_rn/protocol/wmt/http/wmt_httpprot.cpp


Testing Performed
=================

Unit Tests:
- N/A

Integration Tests:
- RTSP streaming and HTTP download of realvideo10.rm.

Leak Tests:
- N/A

Performance Tests:
- N/A

Platforms Tested: linux-rhel5-x86_64, sunos-5.10-sparc64, win-x86_64-vc10, win-x86-vc10
Build verified: linux-rhel5-x86_64, sunos-5.10-sparc64, win-x86_64-vc10, win-x86-vc10


QA Hints
========
* N/A


Index: tagobj.h
===================================================================
RCS file: /cvsroot/server/fs/tagfsys/pub/tagobj.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- tagobj.h	18 Aug 2007 00:21:15 -0000	1.4
+++ tagobj.h	14 Sep 2010 17:00:59 -0000	1.5
@@ -140,7 +140,7 @@
      *	    of the completeness of the operation.
      */
     STDMETHOD(Seek)		(THIS_
-    	    	    	    	 ULONG32	    ulOffset,
+    	    	    	    	 HX_OFF_T	    ulOffset,
 				 BOOL               bRelative);
 
     /************************************************************************
@@ -217,12 +217,12 @@
      */
 
     STDMETHOD(StatDone)		(THIS_
-				 HX_RESULT status,
-				 UINT32 ulSize,
-				 UINT32 ulCreationTime,
-				 UINT32 ulAccessTime,
-				 UINT32 ulModificationTime,
-				 UINT32 ulMode);
+                                 HX_RESULT      status,
+                                 HX_OFF_T       size,
+                                 HX_STAT_TIME_T tCreationTime,
+                                 HX_STAT_TIME_T tAccessTime,
+                                 HX_STAT_TIME_T tModificationTime,
+                                 HX_STAT_MODE_T mode);
 
     /************************************************************************
      *	Method:
@@ -325,7 +325,7 @@
     TAGFS_STATE m_state;
 
     HX_RESULT VRead		    ();
-    HX_RESULT VSeek		    (UINT32 ulOffset, BOOL bRelative);
+    HX_RESULT VSeek		    (HX_OFF_T ulOffset, BOOL bRelative);
     HX_RESULT CreateTagRepInfoList  ();
 
     INT32		    m_lRefCount;
@@ -347,12 +347,12 @@
     UINT32		    m_ulTagInfoCount;
     BOOL		    m_bDataDone;
     BOOL		    m_bCleanedUp;
-    UINT32		    m_ulVIndex;
+    HX_OFF_T		    m_ulVIndex;
     ShadowFOb*		    m_pShad;
-    UINT32		    m_ulOrigFileSize;
+    HX_OFF_T		    m_nOrigFileSize;
     DataSec*		    m_pDataSec;
     UINT32		    m_ulReadLen;
-    UINT32		    m_ulSeekOffset;
+    HX_OFF_T                m_ulSeekOffset;
     BOOL		    m_bSeekRelative;
     UINT32		    m_ulDataBufSize;
     char*		    m_pDataBuf;


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic