summaryrefslogtreecommitdiffstats
path: root/src/conffile.c
Commit message (Collapse)AuthorAgeFilesLines
* ulogd: add carriage return as separatorEric Leblond2014-02-221-3/+3
| | | | | | | If the file is in DOS mode, the string coming from config file parsing are containing the carriage return. The result is that string are not correct and the parsing of confuguration file is failling.
* Add handling of too long line and arguments.Eric Leblond2013-02-181-1/+19
| | | | | When an argument or a line is too long, it can not be store into ulogd configuration and this must results in a error.
* Use access to ensure readability of config gileEric Leblond2013-02-181-1/+10
| | | | | This patch adds a call to access to check the readability of the configuration file.
* Get rid of SVN tag in comment.Eric Leblond2013-01-181-2/+1
| | | | This patch also update some copyright and licence declaration.
* conf: add flag to allow option setup tuningEric Leblond2013-01-181-1/+2
| | | | | | This patch adds a flag to the config_entry structure to be able to tune setup. First usage is to ask config parser not to update a key if it has been already set.
* Introduce config_stop() functionEric Leblond2008-12-091-0/+4
| | | | | This patch adds the config_stop function which is in charge of releasing ressources allocated for configuration file parsing.
* cleanup: fix compilation warning related to signed and unsigned comparisonsEric Leblond2008-07-311-2/+2
| | | | | | This patch fixes the warning related to signed and unsigned comparaison. Signed-off-by: Eric Leblond <eric@inl.fr>
* Fix hexadecimal parsing in config fileEric Leblond2008-06-121-1/+1
| | | | | | | | The config file parsing was not able to parse integer given in hex notation. This patch modify the parsing of configfile to be able to use different integers notation. Signed-off-by: Eric Leblond <eric@inl.fr>
* Holger Eitzenberger <heitzenberger.org@astaro.com>:/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-02-021-20/+15
| | | | conffile cleanup, use common pr_debug()
* more work towards automake'inglaforge2005-10-021-0/+229