bl/textfileutils.h
author ali <ali@juiblex.co.uk>
Fri Sep 06 22:35:23 2013 +0100 (2013-09-06)
changeset 82 0df25c7f4ed7
parent 6 faab25d520dd
permissions -rw-r--r--
Add some resilence against unexpected input
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 */