File: config_filter.h

package info (click to toggle)
module-init-tools 3.12-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 4,296 kB
  • ctags: 1,264
  • sloc: sh: 7,010; ansic: 6,584; makefile: 1,114
file content (15 lines) | stat: -rw-r--r-- 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * config_filter.h: handle hidden or non-configuration files in config dirs.
 *
 * These functions are called whenever we will parse configuration files to
 * ensure we are not picking up backups, SCM meta data, package artifacts.
 * Eventually all config files will have to follow a convention so these
 * lists of possible exceptions should not have to grow by very much.
 */
#ifndef _MODINITTOOLS_CONFIG_FILTER_H
#define _MODINITTOOLS_CONFIG_FILTER_H

/* returns 0 if the name matches a well-known backup pattern */
int config_filter(const char *name);

#endif