]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] externalize the "balance" option parser to backend.c
authorWilly Tarreau <w@1wt.eu>
Thu, 1 Nov 2007 20:39:54 +0000 (21:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Nov 2007 22:04:55 +0000 (23:04 +0100)
commita0cbda61a785fade1d5bbd3368e06ac25f9d62bf
tree3b3a9c9d77438a56387fefc0721ebf18e7c0829a
parent1a20a5d1b200cf784fa4bd9e6118c476c402437f
[MINOR] externalize the "balance" option parser to backend.c

A new function "backend_parse_balance" has been created in backend.c,
which is dedicated to the parsing of the "balance" keyword. It will
provide easier methods for adding new algorithms.
include/proto/backend.h
src/backend.c
src/cfgparse.c