Utility IO Function header file. More...
Go to the source code of this file.
Macros | |
#define | numeric_char(in) (((in < '9' ) && (in > '0')) ? TRUE : FALSE) |
Typedefs | |
typedef int | SOCKET_FD |
Functions | |
EST_String | make_tmp_filename () |
Make a unique temporary filename. More... | |
EST_String | stdin_to_file () |
Copy stdin to a file and return the name of that tmpfile. More... | |
int | writable_file (char *filename) |
return true if this file is writeable More... | |
int | readable_file (char *filename) |
return true if this file is readable More... | |
int | delete_file (const EST_String &filename) |
OS independent way of removing a file. More... | |
EST_String | uncompress_file_to_temporary (const EST_String &filename, const EST_String &prog_name) |
Uncompress file by calling program prog, and write it to new tempoary file. Return name of temporary file. More... | |
int | compress_file_in_place (const EST_String &filename, const EST_String &prog_name) |
Uncompress file and over-write existing file with uncompressed version. More... | |
int | compress_file (const EST_String &filename, const EST_String &new_filename, const EST_String &prog_name) |
compress file by calling program prog, writing result to new_filename More... | |
int | socket_receive_file (SOCKET_FD fd, const EST_String &filename) |
int | socket_send_file (SOCKET_FD fd, const EST_String &filename) |
Utility IO Function header file.
Definition in file EST_io_aux.h.
Definition at line 98 of file EST_io_aux.h.
Definition at line 104 of file EST_io_aux.h.
int socket_receive_file | ( | SOCKET_FD | fd, |
const EST_String & | filename | ||
) |
Definition at line 74 of file filetrans.cc.
int socket_send_file | ( | SOCKET_FD | fd, |
const EST_String & | filename | ||
) |
Definition at line 112 of file filetrans.cc.