Go to the SVN repository for this file.
1 #ifndef CONNECT___NCBI_FILE_CONNECTOR__H 2 #define CONNECT___NCBI_FILE_CONNECTOR__H 4 /* $Id: ncbi_file_connector.h 52702 2012-01-20 14:54:01Z lavr $ 5 * =========================================================================== 8 * National Center for Biotechnology Information 10 * This software/database is a "United States Government Work" under the 11 * terms of the United States Copyright Act. It was written as part of 12 * the author's official duties as a United States Government employee and 13 * thus cannot be copyrighted. This software/database is freely available 14 * to the public for use. The National Library of Medicine and the U.S. 15 * Government have not placed any restriction on its use or reproduction. 17 * Although all reasonable efforts have been taken to ensure the accuracy 18 * and reliability of the software and data, the NLM and the U.S. 19 * Government do not and cannot warrant the performance or results that 20 * may be obtained by using this software or data. The NLM and the U.S. 21 * Government disclaim all warranties, express or implied, including 22 * warranties of performance, merchantability or fitness for any particular 25 * Please cite the author in any work or product based on this material. 27 * =========================================================================== 29 * Authors: Vladimir Alekseyev, Denis Vakatov 32 * Implement CONNECTOR for a FILE stream 34 * See in "connectr.h" for the detailed specification of the underlying 35 * connector("CONNECTOR", "SConnectorTag") methods and structures. 42 /** @addtogroup Connectors 53 /* Create new CONNECTOR structure to handle a data transfer between two files 54 * (equivalent to FILE_CreateConnectorEx(.,.,NULL)). 55 * Can have either ifname or ofname (not both!) as NULL or empty causing 56 * either no input or no output available, respectively. 57 * Return NULL on error. 60(
const char* ifname,
/* to read data from */ 61 const char* ofname
/* to write the read data to */ 65 /* Open mode for the output data file 70 eFCM_Seek /* seek to specified position before doing first I/O */ 74 /* Extended file connector attributes 83 /* An extended version of FILE_CreateConnector(). 86(
const char* ifname,
99 #endif /* CONNECT___NCBI_FILE_CONNECTOR__H */CONNECTOR FILE_CreateConnectorEx(const char *ifname, const char *ofname, const SFILE_ConnAttr *attr)
CONNECTOR FILE_CreateConnector(const char *ifname, const char *ofname)
uint64_t TNCBI_BigCount
Big unsigned integer for file size and position.
#define NCBI_XCONNECT_EXPORT
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4