/* This file is automatically generated. DO NOT EDIT! */

#ifndef _newfile_h
#define _newfile_h


off_t sf_byte (sf_file file);
/*< Count the file data size (in bytes) >*/


/*------------------------------------------------------------*/
sf_file sf_tmpfile(char *format);
/*< Create an temporary (rw mode) file structure. Lives within the program >*/


/*------------------------------------------------------------*/
void sf_filefresh(sf_file file);
/*< used for temporary file only to recover the dataname >*/


void sf_filecopy(sf_file file, sf_file src, sf_datatype type);
/*< copy the content in src->stream to file->stream >*/


void sf_tmpfileclose (sf_file file);
/*< close a file and free allocated space >*/

#endif
