summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-14 01:07:01 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-14 01:07:01 +0100
commitc85dc17be718014260e10e41d15ba8f7329fed26 (patch)
tree7a6a41ca48f4bb0a6e073ad1dce0b09acac61f7d /util.h
parenta6a80b4f440bcc1c6087572503c08a72ee674075 (diff)
util: unify code to check whether certain file names should be ignored when listing files
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 71645a70cc..e005a2a072 100644
--- a/util.h
+++ b/util.h
@@ -151,6 +151,8 @@ char *xescape(const char *s, const char *bad);
char *bus_path_escape(const char *s);
char *bus_path_unescape(const char *s);
+bool ignore_file(const char *filename);
+
#define DEFINE_STRING_TABLE_LOOKUP(name,type) \
const char *name##_to_string(type i) { \
if (i < 0 || i >= (type) ELEMENTSOF(name##_table)) \