annotate .hgtags @ 392:c5fd796ea06e
Heavy refactoring in parts of conf.c.
init_conf()
parse_boolean()
parse_list_file()
Re-arrangement of code.
parse_address_glob_list()
Removed unneccessary parameter.
parse_list()
parse_interface():
Use strtok()/strchr() instead of doing is all by hand.
Removed limitation of fixed size buffer.
eat_comments()
Use a state machine.
eat_line_trailing()
eat_spaces()
read_lval()
Better structured code.
read_conf()
read_route()
Removed magic numbers.
Made all list type in the config files accept pathname entries,
except for `permanent_routes' and `query_routes.' for which this
is impossible.
author |
markus schnalke <meillo@marmaro.de> |
date |
Sat, 18 Feb 2012 18:07:55 +0100 |
parents |
7caf6f799e99 |
children |
ddc05e12e307 |
rev |
line source |
meillo@20
|
1 08114f7dcc234e48503cbe2616a85a7cd2db1a8d 0.2.21
|
meillo@21
|
2 af25f5c39d9086805be9f35fc132698d2cafc4c1 0.2.21-4
|
meillo@49
|
3 f3bdb5b382ec81aeed5c35a14e90cd9e7e154593 0.2.22
|
meillo@70
|
4 c343f501255151471b05c52732946f89f8457505 0.2.23
|
meillo@124
|
5 e01fed4846e496225d57f8c43c66b58e3b121299 0.2.24
|
meillo@150
|
6 115d3c92493b73a65bf67ecdfca194d88853776d 0.2.25
|
meillo@231
|
7 4f999b3ee49d9645ac17b7781372bd4e3a5efd1c 0.3.0
|
meillo@293
|
8 5a93bdc261ba768645156ae2c170b46ed1dc15cc 0.3.1
|
meillo@327
|
9 45a64a875162092c943f2184e8c777b884a04719 0.3.2
|
meillo@341
|
10 60bb2dbe286696a94cdc742efc84229862065891 0.3.3
|
meillo@381
|
11 35c5239ebcc115544388590ff58dc0dd989c3744 0.3.4
|