llxfer_file.cpp File Reference

implementation of LLXfer_File class for a single xfer (file) More...

#include "linden_common.h"
#include <errno.h>
#include <unistd.h>
#include "llxfer_file.h"
#include "lluuid.h"
#include "llerror.h"
#include "llmath.h"
#include "llstring.h"
#include "lldir.h"

Include dependency graph for llxfer_file.cpp:

Go to the source code of this file.

Functions

S32 copy_file (const char *from, const char *to)

Variables

const U32 LL_MAX_XFER_FILE_BUFFER = 65536


Detailed Description

implementation of LLXfer_File class for a single xfer (file)

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llxfer_file.cpp.


Function Documentation

S32 copy_file ( const char *  from,
const char *  to 
)

Definition at line 424 of file llxfer_file.cpp.

References LLFile::fopen(), and S32.

Referenced by LLXfer_File::processEOF().


Variable Documentation

const U32 LL_MAX_XFER_FILE_BUFFER = 65536

Definition at line 47 of file llxfer_file.cpp.

Referenced by LLXfer_VFile::getMaxBufferSize(), LLXfer_File::getMaxBufferSize(), LLXfer_VFile::initializeRequest(), LLXfer_File::initializeRequest(), LLXfer_VFile::startSend(), LLXfer_File::startSend(), LLXfer_VFile::suck(), and LLXfer_File::suck().


Generated on Thu Jul 1 06:10:51 2010 for Second Life Viewer by  doxygen 1.4.7