]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] tools: add a get_std_op() function to parse operators
authorWilly Tarreau <w@1wt.eu>
Sun, 18 Jul 2010 08:40:48 +0000 (10:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Aug 2010 12:03:25 +0000 (14:03 +0200)
commit5b1802020126d10cb1ac3f84fc851fd00f207c9c
tree43a0c0340938a4a60ac8558e97317c2375e8d5ee
parentbb695393da2bac9d7e37bbd1295ab74482def807
[MINOR] tools: add a get_std_op() function to parse operators

We already have several places where we use operators to compare
values. Each time the parsing is done again. Let's have a central
function for this.
include/common/standard.h
src/standard.c