Switch to unified view

a/src/utils/readfile.h b/src/utils/readfile.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _READFILE_H_INCLUDED_
17
#ifndef _READFILE_H_INCLUDED_
18
#define _READFILE_H_INCLUDED_
18
#define _READFILE_H_INCLUDED_
19
/* @(#$Id: readfile.h,v 1.2 2006-01-30 11:15:28 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: readfile.h,v 1.3 2007-06-02 08:30:42 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
22
23
/**
23
/**
24
 * Read whole file into string. 
24
 * Read whole file into string. 
25
 * @return true for ok, false else
25
 * @return true for ok, false else
26
 */
26
 */
27
bool file_to_string(const std::string &filename, std::string &data);
27
bool file_to_string(const std::string &filename, std::string &data, 
28
          std::string *reason = 0);
28
29
29
#endif /* _READFILE_H_INCLUDED_ */
30
#endif /* _READFILE_H_INCLUDED_ */