diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-14 01:07:01 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-14 01:07:01 +0100 |
commit | c85dc17be718014260e10e41d15ba8f7329fed26 (patch) | |
tree | 7a6a41ca48f4bb0a6e073ad1dce0b09acac61f7d /util.h | |
parent | a6a80b4f440bcc1c6087572503c08a72ee674075 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) \ |