]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: chunk: provide string compare functions
authorWilly Tarreau <w@1wt.eu>
Fri, 19 Oct 2012 13:18:06 +0000 (15:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Oct 2012 13:18:06 +0000 (15:18 +0200)
commitad8f8e8ffb9bc619ad2e4c0783bcd744486df127
treef8cf9f8ee43be0c57c6b6e0ecd0e4b5d9a145739
parent8c866a38581152c25c8a6024da5645821aebdb46
MINOR: chunk: provide string compare functions

It's sometimes needed to be able to compare a zero-terminated string with a
chunk, so we now have two functions to do that, one strcmp() equivalent and
one strcasecmp() equivalent.
include/common/chunk.h
src/chunk.c