<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haproxy.git/include/haproxy/arg-t.h, branch master</title>
<subtitle>github.com: haproxy/haproxy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/'/>
<entry>
<title>MINOR: sample: add ARGC_OPT</title>
<updated>2023-01-27T14:18:59+00:00</updated>
<author>
<name>Aurelien DARRAGON</name>
<email>adarragon@haproxy.com</email>
</author>
<published>2022-12-28T10:30:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=5f7f5fe76aef0863dbf9a2cc7979d598cdb16bdd'/>
<id>5f7f5fe76aef0863dbf9a2cc7979d598cdb16bdd</id>
<content type='text'>
Add ARGC_OPT enum to provide more context for upcoming sample parse errors
involving proxy "option" config directives.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add ARGC_OPT enum to provide more context for upcoming sample parse errors
involving proxy "option" config directives.
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: sample: add missing ARGC_ entries</title>
<updated>2021-09-02T17:43:20+00:00</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2021-09-02T17:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=57467b83565b9c3e112053c92ede66113809d458'/>
<id>57467b83565b9c3e112053c92ede66113809d458</id>
<content type='text'>
For a long time we couldn't have arguments in expressions used in
tcp-request, tcp-response etc rules. But now due to the variables
it's possible, and their context in case of failure to resolve an
argument (e.g. backend name not found) is not properly reported
because there is no arg context values in ARGC_* to report them.

Let's add a number of missing ones for tcp-request {connection,
session,content}, tcp-response content, tcp-check, the config
parser (for "set-var" in the global section) and the CLI parser
(for "set-var" on the CLI).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For a long time we couldn't have arguments in expressions used in
tcp-request, tcp-response etc rules. But now due to the variables
it's possible, and their context in case of failure to resolve an
argument (e.g. backend name not found) is not properly reported
because there is no arg context values in ARGC_* to report them.

Let's add a number of missing ones for tcp-request {connection,
session,content}, tcp-response content, tcp-check, the config
parser (for "set-var" in the global section) and the CLI parser
(for "set-var" on the CLI).
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: opentracing: add ARGC_OT enum</title>
<updated>2020-12-16T14:49:53+00:00</updated>
<author>
<name>Miroslav Zagorac</name>
<email>mzagorac@haproxy.com</email>
</author>
<published>2020-12-09T15:31:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=7f8314c8d169555e3d36a795a6aa1ffd467ce99c'/>
<id>7f8314c8d169555e3d36a795a6aa1ffd467ce99c</id>
<content type='text'>
Due to the addition of the OpenTracing filter it is necessary to define
ARGC_OT enum.  This value is used in the functions fmt_directive() and
smp_resolve_args().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to the addition of the OpenTracing filter it is necessary to define
ARGC_OT enum.  This value is used in the functions fmt_directive() and
smp_resolve_args().
</pre>
</div>
</content>
</entry>
<entry>
<title>MINOR: arg: Add an argument type to keep a reference on opaque data</title>
<updated>2020-08-07T12:20:07+00:00</updated>
<author>
<name>Christopher Faulet</name>
<email>cfaulet@haproxy.com</email>
</author>
<published>2020-08-07T11:56:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=e02fc4d0dd57c92bbe96f3ff2ae0b890405458f2'/>
<id>e02fc4d0dd57c92bbe96f3ff2ae0b890405458f2</id>
<content type='text'>
The ARGT_PTR argument type may now be used to keep a reference to opaque data in
the argument array used by sample fetches and converters. It is a generic way to
point on data. I guess it could be used for some other arguments, like proxy,
server, map or stick-table.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The ARGT_PTR argument type may now be used to keep a reference to opaque data in
the argument array used by sample fetches and converters. It is a generic way to
point on data. I guess it could be used for some other arguments, like proxy,
server, map or stick-table.
</pre>
</div>
</content>
</entry>
<entry>
<title>REORG: include: make list-t.h part of the base API</title>
<updated>2020-06-11T08:18:59+00:00</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2020-06-11T07:14:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=e5793916f00bf677382ef0ba3a4b163c20421937'/>
<id>e5793916f00bf677382ef0ba3a4b163c20421937</id>
<content type='text'>
There are list definitions everywhere in the code, let's drop the need
for including list-t.h to declare them. The rest of the list manipulation
is huge however and not needed everywhere so using the list walking macros
still requires to include list.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are list definitions everywhere in the code, let's drop the need
for including list-t.h to declare them. The rest of the list manipulation
is huge however and not needed everywhere so using the list walking macros
still requires to include list.h.
</pre>
</div>
</content>
</entry>
<entry>
<title>CLEANUP: include: tree-wide alphabetical sort of include files</title>
<updated>2020-06-11T08:18:59+00:00</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2020-06-09T07:07:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=b2551057af2e10584c39526dbea901213febf86c'/>
<id>b2551057af2e10584c39526dbea901213febf86c</id>
<content type='text'>
This patch fixes all the leftovers from the include cleanup campaign. There
were not that many (~400 entries in ~150 files) but it was definitely worth
doing it as it revealed a few duplicates.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes all the leftovers from the include cleanup campaign. There
were not that many (~400 entries in ~150 files) but it was definitely worth
doing it as it revealed a few duplicates.
</pre>
</div>
</content>
</entry>
<entry>
<title>REORG: include: move stick_table.h to haproxy/stick_table{,-t}.h</title>
<updated>2020-06-11T08:18:58+00:00</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2020-06-04T16:46:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=872f2ea209adfbd3b90f2987398619bc551ab4b4'/>
<id>872f2ea209adfbd3b90f2987398619bc551ab4b4</id>
<content type='text'>
The stktable_types[] array declaration was moved to the main file as
it had nothing to do in the types. A few declarations were reordered
in the types file so that defines were before the structs. Thread-t
was added since there are a few __decl_thread(). The loss of peers.h
revealed that cfgparse-listen needed it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The stktable_types[] array declaration was moved to the main file as
it had nothing to do in the types. A few declarations were reordered
in the types file so that defines were before the structs. Thread-t
was added since there are a few __decl_thread(). The loss of peers.h
revealed that cfgparse-listen needed it.
</pre>
</div>
</content>
</entry>
<entry>
<title>REORG: include: move vars.h to haproxy/vars{,-t}.h</title>
<updated>2020-06-11T08:18:58+00:00</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2020-06-04T14:25:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=a17189250170c45b66f7b8f88de9350c9eccd273'/>
<id>a17189250170c45b66f7b8f88de9350c9eccd273</id>
<content type='text'>
A few includes (sessions.h, stream.h, api-t.h) were added for arguments
that were first declared in function prototypes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A few includes (sessions.h, stream.h, api-t.h) were added for arguments
that were first declared in function prototypes.
</pre>
</div>
</content>
</entry>
<entry>
<title>REORG: include: move protocol_buffers.h to haproxy/protobuf{,-t}.h</title>
<updated>2020-06-11T08:18:58+00:00</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2020-06-04T14:06:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=b23e5958edee5fc823820b79a271669842728391'/>
<id>b23e5958edee5fc823820b79a271669842728391</id>
<content type='text'>
There is no C file for this one, the code was placed into sample.c which
thus has a dependency on this file which itself includes sample.h. Probably
that it would be wise to split that later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no C file for this one, the code was placed into sample.c which
thus has a dependency on this file which itself includes sample.h. Probably
that it would be wise to split that later.
</pre>
</div>
</content>
</entry>
<entry>
<title>REORG: include: move arg.h to haproxy/arg{,-t}.h</title>
<updated>2020-06-11T08:18:57+00:00</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2020-06-04T08:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/haproxy.git/commit/?id=aa74c4e1b37d7b6dbb53840dbb6a45d1b9aa6fb1'/>
<id>aa74c4e1b37d7b6dbb53840dbb6a45d1b9aa6fb1</id>
<content type='text'>
Almost no change was needed; chunk.h was replaced with buf-t.h.
It dpeends on types/vars.h and types/protocol_buffers.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Almost no change was needed; chunk.h was replaced with buf-t.h.
It dpeends on types/vars.h and types/protocol_buffers.h.
</pre>
</div>
</content>
</entry>
</feed>
