aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/util.h
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2010-11-02 21:14:48 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2010-11-02 21:56:12 -0600
commite0acf99635e715b088eee33f83e4524ed3c7f734 (patch)
tree8bc46735870bf7936a2dc6c102d68f9f898af07d /src/util.h
parent2f6fe6720ca69b58224bd5f45c9b47be9b7f8fbe (diff)
moved for_each_line_in_file into util.c
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 2a00b8a..f03f13e 100644
--- a/src/util.h
+++ b/src/util.h
@@ -13,3 +13,6 @@ gboolean file_exists(const char* filename);
char *
str_replace (const char* search, const char* replace, const char* string);
+
+gboolean
+for_each_line_in_file(const gchar *path, void (*callback)(const gchar *l, void *c), void *user_data);