Blender  V2.59
Functions
BLI_fileops.h File Reference

More low-level fileops from Daniel Dunbar. Two functions were also defined in storage.c. These are the old fop_ prefixes. There is definitely some redundancy here! More...

Go to the source code of this file.

Functions

void BLI_recurdir_fileops (const char *dirname)
int BLI_link (const char *file, const char *to)
int BLI_is_writable (const char *filename)
int BLI_exists (const char *file)
int BLI_copy_fileops (const char *file, const char *to)
int BLI_rename (const char *from, const char *to)
int BLI_gzip (const char *from, const char *to)
int BLI_delete (const char *file, int dir, int recursive)
int BLI_move (const char *file, const char *to)
int BLI_touch (const char *file)
void BLI_setCmdCallBack (int(*f)(char *))

Detailed Description

More low-level fileops from Daniel Dunbar. Two functions were also defined in storage.c. These are the old fop_ prefixes. There is definitely some redundancy here!

Author:
Daniel Dunbar

Definition in file BLI_fileops.h.


Function Documentation

int BLI_copy_fileops ( const char *  file,
const char *  to 
)

Definition at line 309 of file fileops.c.

References BLI_snprintf(), and str.

Referenced by ImagesExporter::operator()(), and writePackedFile().

int BLI_delete ( const char *  file,
int  dir,
int  recursive 
)
int BLI_exists ( const char *  file)
int BLI_gzip ( const char *  from,
const char *  to 
)

Definition at line 66 of file fileops.c.

References err, NULL, and O_BINARY.

Referenced by BLO_write_file().

int BLI_is_writable ( const char *  filename)

Definition at line 106 of file fileops.c.

References BLI_delete(), and O_BINARY.

Referenced by RE_is_rendering_allowed(), save_exec(), and space_image_file_exists_poll().

int BLI_link ( const char *  file,
const char *  to 
)

Definition at line 315 of file fileops.c.

References BLI_snprintf(), and str.

int BLI_move ( const char *  file,
const char *  to 
)

Definition at line 303 of file fileops.c.

References BLI_snprintf(), and str.

void BLI_recurdir_fileops ( const char *  dirname)
int BLI_rename ( const char *  from,
const char *  to 
)
void BLI_setCmdCallBack ( int(*)(char *)  f)
int BLI_touch ( const char *  file)

Definition at line 134 of file fileops.c.

References NULL.

Referenced by collada_export(), RE_BlenderAnim(), and touch_seq_files().