Edinburgh Speech Tools  2.1-release
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions
EST_io_aux.h File Reference

Utility IO Function header file. More...

#include "EST_unix.h"
#include "EST_common.h"
#include "EST_String.h"
#include "EST_types.h"
Include dependency graph for EST_io_aux.h:
This graph shows which files directly or indirectly include this file:

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.
 
EST_String stdin_to_file ()
 Copy stdin to a file and return the name of that tmpfile.
 
int writable_file (char *filename)
 return true if this file is writeable
 
int readable_file (char *filename)
 return true if this file is readable
 
int delete_file (const EST_String &filename)
 OS independent way of removing a file.
 
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.
 
int compress_file_in_place (const EST_String &filename, const EST_String &prog_name)
 Uncompress file and over-write existing file with uncompressed version.
 
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
 
int socket_receive_file (SOCKET_FD fd, const EST_String &filename)
 
int socket_send_file (SOCKET_FD fd, const EST_String &filename)
 

Detailed Description

Utility IO Function header file.

Definition in file EST_io_aux.h.