bl/textfileutils.h
author ali <ali@juiblex.co.uk>
Sat Jul 20 11:07:02 2013 +0100 (2013-07-20)
changeset 76 4e6e7cc6b50d
parent 6 faab25d520dd
permissions -rw-r--r--
Give a useful error if input is neither UTF-8 nor Windows-1252
ali@5
     1
#ifndef BL_TEXTFILEUTILS_H
ali@5
     2
#define BL_TEXTFILEUTILS_H
ali@0
     3
ali@6
     4
#include <glib.h>
ali@0
     5
ali@6
     6
gboolean file_get_contents_text(const char *filename,char **contents,
ali@69
     7
  size_t *length,GError **err);
ali@0
     8
ali@5
     9
#endif /* BL_TEXTFILEUTILS_H */