|
Tor 0.4.9.3-alpha-dev
|
Data Fields | |
| char * | tempname |
| char * | filename |
| unsigned | rename_on_close:1 |
| unsigned | binary:1 |
| int | fd |
| FILE * | stdio_file |
Represents a file that we're writing to, with support for atomic commit: we can write into a temporary file, and either remove the file on failure, or replace the original file on success.
| unsigned binary |
Did we open in binary mode?
Definition at line 294 of file files.c.
Referenced by fdopen_file(), and start_writing_to_file().
| int fd |
fd for the open file.
Definition at line 295 of file files.c.
Referenced by fdopen_file(), and start_writing_to_file().
| char* filename |
Name of the original file.
Definition at line 292 of file files.c.
Referenced by fdopen_file(), and start_writing_to_file().
| unsigned rename_on_close |
Are we using the temporary file or not?
Definition at line 293 of file files.c.
Referenced by start_writing_to_file().
| FILE* stdio_file |
| char* tempname |
Name of the temporary file.
Definition at line 291 of file files.c.
Referenced by start_writing_to_file().