/* @file  psSlurp.h
 * @brief read complete files into strings
 *
 * @author JH
 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
 * @date $Date: 2007-01-23 22:47:23 $
 */

#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
                    );

/// @}
#endif
