/* @file  psSlurp.h
 * @brief read complete files into strings
 *
 * @author Joshua Hoblitt, University of Hawaii
 *
 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
 * @date $Date: 2007-02-27 03:31:56 $
 */

#ifndef PS_SLURP_H
#define PS_SLURP_H

/// @addtogroup FileIO Input/Output
/// @{

// Read ("slurp") a file (specified by file descriptor)
// and return a string containing the entire file.
psString psSlurpFD(int fd               // File descriptor to read
                  );

// Read ("slurp") a file (specified by file stream)
// and return a string containing the entire file.
psString psSlurpFile(FILE *stream       // File stream to read
                    );

// Read ("slurp") a file (specified by filename)
// and return a string containing the entire file.
psString psSlurpFilename(const char *filename // Filename 
                    );

/// @}
#endif
