Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

renderfarmfsclient.C File Reference

#include "mutex.h"
#include "renderfarm.h"
#include "renderfarmclient.h"
#include "renderfarmfsclient.h"
#include "renderfarmfsserver.h"
#include "units.h"
#include <dlfcn.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>

Go to the source code of this file.

Defines

#define DEBUG   0

Functions

FILE * fopen (const char *path, const char *mode)
FILE * fopen64 (const char *path, const char *mode)
int fclose (FILE *file)
int fileno (FILE *stream)
int remove (__const char *__filename)
int rename (__const char *__old, __const char *__new)
int fgetc (FILE *__stream)
int getc (FILE *__stream)
int fputc (int __c, FILE *__stream)
int putc (int __c, FILE *__stream)
size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream)
size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s)
int fseek (FILE *__stream, long int __off, int __whence)
int fseeko64 (FILE *__stream, __off64_t __off, int __whence)
long int ftell (FILE *__stream)
__off64_t ftello64 (FILE *__stream)
int __xstat (int __ver, __const char *__filename, struct stat *__stat_buf)
int __xstat64 (int __ver, __const char *__filename, struct stat64 *__stat_buf)
char * fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
int fscanf (FILE *__restrict __stream, __const char *__restrict __format,...)

Variables

RenderFarmFSClientrenderfarm_fs_global = 0


Define Documentation

#define DEBUG   0
 

Definition at line 22 of file renderfarmfsclient.C.

Referenced by RenderFarmFSClient::fclose(), RenderFarmFSClient::fgetc(), RenderFarmFSClient::fgets(), RenderFarmFSClient::fileno(), RenderFarmFSClient::fopen(), RenderFarmFSClient::fputc(), RenderFarmFSClient::fread(), RenderFarmFSClient::fseek(), RenderFarmFSClient::ftell(), RenderFarmFSClient::fwrite(), RenderFarmFSServer::handle_request(), RenderFarmFSClient::remove(), RenderFarmFSClient::rename(), RenderFarmFSClient::stat(), and RenderFarmFSClient::stat64().


Function Documentation

int __xstat int  __ver,
__const char *  __filename,
struct stat *  __stat_buf
 

Definition at line 415 of file renderfarmfsclient.C.

References RenderFarmFSClient::lock(), RenderFarmFSClient::stat(), and RenderFarmFSClient::unlock().

int __xstat64 int  __ver,
__const char *  __filename,
struct stat64 *  __stat_buf
 

Definition at line 443 of file renderfarmfsclient.C.

References RenderFarmFSClient::lock(), RenderFarmFSClient::stat64(), and RenderFarmFSClient::unlock().

int fclose FILE *  file  ) 
 

Definition at line 101 of file renderfarmfsclient.C.

References RenderFarmFSClient::fclose(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by bad_pixels(), Batch::calculate_news(), Preferences::calculate_processors(), FileYUV::check_sig(), FileVorbis::check_sig(), FileTIFF::check_sig(), FileTGA::check_sig(), FilePNG::check_sig(), FileOGG::check_sig(), FileJPEG::check_sig(), VDeviceLML::close_all(), FileVorbis::close_file(), FileOGG::close_file(), FileMPEG::close_file(), FileAC3::close_file(), FileOGG::close_file_derived(), IndexFile::close_index(), FileMPEG::create_index(), dcraw_main(), Record::delete_output_file(), FileBase::get_mode(), get_parameters(), RenderFarmFSServer::handle_request(), IndexFile::open_file(), FileList::open_file(), File::open_file(), FrameWriterUnit::process_package(), FileList::read_frame(), FileTGA::read_frame_header(), FilePNG::read_frame_header(), FileJPEG::read_frame_header(), FileXML::read_from_file(), FileList::read_list_header(), VDeviceLML::reopen_input(), ThreadIndexer::run(), BRender::run(), BatchRenderThread::test_edl_files(), ConfirmSave::test_files(), FileList::write_frames(), Asset::write_index(), FileList::write_list_header(), FileXML::write_to_file(), and ThreadExec::~ThreadExec().

int fgetc FILE *  __stream  ) 
 

Definition at line 206 of file renderfarmfsclient.C.

References RenderFarmFSClient::fgetc(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by canon_compressed_load_raw(), fget2(), fget4(), foveon_load_raw(), getbits(), getc(), getfour(), getfourswap(), gettwo(), RenderFarmFSServer::handle_request(), identify(), kodak_compressed_load_raw(), kodak_yuv_load_raw(), nikon_e990(), and sony_load_raw().

char* fgets char *__restrict  __s,
int  __n,
FILE *__restrict  __stream
 

Definition at line 468 of file renderfarmfsclient.C.

References RenderFarmFSClient::fgets(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), and RenderFarmFSClient::unlock().

Referenced by bad_pixels(), Preferences::calculate_processors(), get_generic_parameter(), get_parameter_value(), RenderFarmFSServer::handle_request(), parse_rollei(), parse_tiff(), and FileList::read_list_header().

int fileno FILE *  stream  ) 
 

Definition at line 124 of file renderfarmfsclient.C.

References RenderFarmFSClient::fileno(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by dcraw_main(), RenderFarmFSServer::handle_request(), Pipe::open(), and ThreadFork::run().

FILE* fopen const char *  path,
const char *  mode
 

Definition at line 55 of file renderfarmfsclient.C.

References RenderFarmFSClient::fopen(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by bad_pixels(), Batch::calculate_news(), Preferences::calculate_processors(), FileYUV::check_sig(), FileVorbis::check_sig(), FileTIFF::check_sig(), FileTGA::check_sig(), FilePNG::check_sig(), FileOGG::check_sig(), FileJPEG::check_sig(), FileMPEG::create_index(), dcraw_main(), Record::delete_output_file(), FileBase::get_mode(), get_parameters(), IndexFile::open_file(), FileVorbis::open_file(), FileOGG::open_file(), FileMPEG::open_file(), FileList::open_file(), FileAC3::open_file(), File::open_file(), VDeviceLML::open_input(), VDeviceLML::open_output(), FrameWriterUnit::process_package(), FileList::read_frame(), FileTGA::read_frame_header(), FilePNG::read_frame_header(), FileJPEG::read_frame_header(), FileXML::read_from_file(), FileList::read_list_header(), ThreadIndexer::run(), BRender::run(), BatchRenderThread::test_edl_files(), ConfirmSave::test_files(), FileList::write_frames(), Asset::write_index(), FileList::write_list_header(), and FileXML::write_to_file().

FILE* fopen64 const char *  path,
const char *  mode
 

Definition at line 77 of file renderfarmfsclient.C.

References RenderFarmFSClient::fopen(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by RenderFarmFSServer::handle_request().

int fputc int  __c,
FILE *  __stream
 

Definition at line 234 of file renderfarmfsclient.C.

References RenderFarmFSClient::fputc(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by bad_pixels(), RenderFarmFSServer::handle_request(), putc(), putfour(), putfourswap(), puttwo(), and scale_colors().

size_t fread void *__restrict  __ptr,
size_t  __size,
size_t  __n,
FILE *__restrict  __stream
 

Definition at line 262 of file renderfarmfsclient.C.

References RenderFarmFSClient::fread(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by canon_600_load_raw(), canon_a5_load_raw(), canon_has_lowbits(), casio_qv5700_load_raw(), FileYUV::check_sig(), FileVorbis::check_sig(), FileTIFF::check_sig(), FileTGA::check_sig(), FilePNG::check_sig(), FileOGG::check_sig(), FileJPEG::check_sig(), IndexFile::draw_index(), eight_bit_load_raw(), fill_input_buffer(), fuji_common_load_raw(), fuji_f700_load_raw(), fuji_s2_load_raw(), RenderFarmFSServer::handle_request(), identify(), ixpress_load_raw(), kodak_compressed_load_raw(), kodak_dc120_load_raw(), kodak_easy_load_raw(), lossless_jpeg_load_raw(), minolta_z2(), nef_parse_makernote(), nikon_e2100(), nikon_e2100_load_raw(), nikon_is_compressed(), nucore_load_raw(), FileList::open_file(), File::open_file(), parse_ciff(), phase_one_load_raw(), read_buffer(), FileList::read_frame(), FileTGA::read_frame_header(), FileXML::read_from_file(), IndexFile::read_info(), VDeviceLML::refill_input(), rollei_load_raw(), BRender::run(), sony_load_raw(), and unpacked_load_raw().

int fscanf FILE *__restrict  __stream,
__const char *__restrict  __format,
  ...
 

Definition at line 492 of file renderfarmfsclient.C.

References RenderFarmFSClient::fscanf(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), and RenderFarmFSClient::unlock().

Referenced by get_timestamp().

int fseek FILE *  __stream,
long int  __off,
int  __whence
 

Definition at line 313 of file renderfarmfsclient.C.

References RenderFarmFSClient::fseek(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by canon_compressed_load_raw(), canon_has_lowbits(), FileVorbis::check_sig(), FileOGG::check_sig(), IndexFile::draw_index(), foveon_load_raw(), fuji_s2_load_raw(), fuji_s5000_load_raw(), identify(), ixpress_load_raw(), kodak_compressed_load_raw(), kodak_curve(), minolta_z2(), nef_parse_exif(), nef_parse_makernote(), nikon_compressed_load_raw(), nikon_e2100(), nikon_e2100_load_raw(), nikon_e990(), nikon_is_compressed(), nikon_load_raw(), olympus_cseries_load_raw(), IndexFile::open_file(), parse_ciff(), parse_foveon(), parse_rollei(), parse_tiff(), phase_one_load_raw(), FileXML::read_from_file(), sony_load_raw(), tiff_parse_subifd(), and Asset::write_index().

int fseeko64 FILE *  __stream,
__off64_t  __off,
int  __whence
 

Definition at line 338 of file renderfarmfsclient.C.

References RenderFarmFSClient::fseek(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by RenderFarmFSServer::handle_request().

long int ftell FILE *  __stream  ) 
 

Definition at line 363 of file renderfarmfsclient.C.

References RenderFarmFSClient::ftell(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by canon_compressed_load_raw(), identify(), kodak_compressed_load_raw(), nef_parse_exif(), nef_parse_makernote(), nikon_load_raw(), IndexFile::open_file(), parse_ciff(), parse_tiff(), FileXML::read_from_file(), tiff_parse_subifd(), and Asset::write_index().

__off64_t ftello64 FILE *  __stream  ) 
 

Definition at line 388 of file renderfarmfsclient.C.

References RenderFarmFSClient::ftell(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by RenderFarmFSServer::handle_request().

size_t fwrite __const void *__restrict  __ptr,
size_t  __size,
size_t  __n,
FILE *__restrict  __s
 

Definition at line 288 of file renderfarmfsclient.C.

References RenderFarmFSClient::fwrite(), RenderFarmFSClient::is_open(), RenderFarmFSClient::lock(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by RenderFarmFSServer::handle_request(), FileVorbis::open_file(), FileOGG::open_file(), FrameWriterUnit::process_package(), FileMPEGVideo::run(), FileOGG::write_audio_page(), VDeviceLML::write_buffer(), FileList::write_frames(), Asset::write_index(), FileList::write_list_header(), write_ppm(), write_ppm16(), write_ppm_16_8(), write_psd16(), FileMPEG::write_samples(), FileAC3::write_samples(), FileXML::write_to_file(), and FileOGG::write_video_page().

int getc FILE *  __stream  ) 
 

Definition at line 229 of file renderfarmfsclient.C.

References fgetc().

int putc int  __c,
FILE *  __stream
 

Definition at line 257 of file renderfarmfsclient.C.

References fputc().

int remove __const char *  __filename  ) 
 

Definition at line 164 of file renderfarmfsclient.C.

References RenderFarmFSClient::lock(), RenderFarmFSClient::remove(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by MWindow::clean_indexes(), Edits::clear(), Autos::clear(), Autos::clear_all(), Autos::clear_auto(), FileMPEG::create_index(), Labels::delete_all(), Assets::delete_all(), IndexFile::delete_index(), CanvasTools::delete_invisible(), RecordLabels::delete_new_labels(), Record::delete_output_file(), TimeBomb::disable_system(), RenderFarmFSServer::handle_request(), RenderFarmClient::kill_client(), Autos::load(), MWindow::load_filenames(), PluginSet::optimize(), Edits::optimize(), MWindow::rebuild_indices(), MWindow::remove_assets_from_disk(), IndexFile::remove_index(), DeleteAllIndexes::run(), AssetEdit::run(), RecordEngine::start_over(), RecordLabels::toggle_label(), Labels::toggle_label(), and BRender::~BRender().

int rename __const char *  __old,
__const char *  __new
 

Definition at line 185 of file renderfarmfsclient.C.

References RenderFarmFSClient::lock(), RenderFarmFSClient::rename(), PackageRenderer::result, and RenderFarmFSClient::unlock().

Referenced by RenderFarmFSServer::handle_request().


Variable Documentation

RenderFarmFSClient* renderfarm_fs_global = 0
 

Definition at line 37 of file renderfarmfsclient.C.

Referenced by RenderFarmFSClient::initialize(), and RenderFarmFSClient::~RenderFarmFSClient().


Generated on Sun Jan 8 13:39:06 2006 for Cinelerra-svn by  doxygen 1.4.4