masqmail
annotate tests/makefile @ 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 | 3cb6f383f07e |
children |
rev | line source |
---|---|
meillo@6 | 1 |
meillo@63 | 2 all: |
meillo@63 | 3 cd hostname-stdin && make |
meillo@63 | 4 cd localhost-stdin && make |
meillo@63 | 5 cd relay-to-localhost-mta && make |
meillo@63 | 6 cd relay-to-hostname-mta && make |
meillo@6 | 7 |
meillo@63 | 8 run: all |
meillo@63 | 9 cd hostname-stdin && ./test |
meillo@63 | 10 cd localhost-stdin && ./test |
meillo@63 | 11 cd relay-to-localhost-mta && ./test |
meillo@63 | 12 cd relay-to-hostname-mta && ./test |
meillo@6 | 13 |
meillo@6 | 14 clean: |
meillo@63 | 15 cd hostname-stdin && make clean |
meillo@63 | 16 cd localhost-stdin && make clean |
meillo@63 | 17 cd relay-to-localhost-mta && make clean |
meillo@63 | 18 cd relay-to-hostname-mta && make clean |
meillo@63 | 19 |
meillo@63 | 20 realclean: |
meillo@63 | 21 cd hostname-stdin && make realclean |
meillo@63 | 22 cd localhost-stdin && make realclean |
meillo@63 | 23 cd relay-to-localhost-mta && make realclean |
meillo@63 | 24 cd relay-to-hostname-mta && make realclean |