mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
CLEANUP: htx: Fix indentation here and there in HTX files
This commit is contained in:
parent
56df0a82ea
commit
aa75b3d2d5
@ -88,10 +88,10 @@ int htx_trailer_to_h1(const struct ist tlr, struct buffer *chk);
|
|||||||
#define HTX_SL_RES_CPTR(sl) HTX_SL_P2_PTR(sl)
|
#define HTX_SL_RES_CPTR(sl) HTX_SL_P2_PTR(sl)
|
||||||
#define HTX_SL_RES_RPTR(sl) HTX_SL_P3_PTR(sl)
|
#define HTX_SL_RES_RPTR(sl) HTX_SL_P3_PTR(sl)
|
||||||
|
|
||||||
static inline const struct ist htx_sl_p1(const struct htx_sl *sl)
|
static inline const struct ist htx_sl_p1(const struct htx_sl *sl)
|
||||||
{
|
{
|
||||||
return ist2(HTX_SL_P1_PTR(sl), HTX_SL_P1_LEN(sl));
|
return ist2(HTX_SL_P1_PTR(sl), HTX_SL_P1_LEN(sl));
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline const struct ist htx_sl_p2(const struct htx_sl *sl)
|
static inline const struct ist htx_sl_p2(const struct htx_sl *sl)
|
||||||
{
|
{
|
||||||
@ -223,7 +223,7 @@ static inline int32_t htx_get_head(const struct htx *htx)
|
|||||||
|
|
||||||
/* Returns the oldest HTX block (head) if the HTX message is not
|
/* Returns the oldest HTX block (head) if the HTX message is not
|
||||||
* empty. Otherwise it returns NULL.
|
* empty. Otherwise it returns NULL.
|
||||||
*/
|
*/
|
||||||
static inline struct htx_blk *htx_get_head_blk(const struct htx *htx)
|
static inline struct htx_blk *htx_get_head_blk(const struct htx *htx)
|
||||||
{
|
{
|
||||||
int32_t head = htx_get_head(htx);
|
int32_t head = htx_get_head(htx);
|
||||||
@ -254,7 +254,7 @@ static inline int32_t htx_get_tail(const struct htx *htx)
|
|||||||
|
|
||||||
/* Returns the newest HTX block (tail) if the HTX message is not
|
/* Returns the newest HTX block (tail) if the HTX message is not
|
||||||
* empty. Otherwise it returns NULL.
|
* empty. Otherwise it returns NULL.
|
||||||
*/
|
*/
|
||||||
static inline struct htx_blk *htx_get_tail_blk(const struct htx *htx)
|
static inline struct htx_blk *htx_get_tail_blk(const struct htx *htx)
|
||||||
{
|
{
|
||||||
int32_t tail = htx_get_tail(htx);
|
int32_t tail = htx_get_tail(htx);
|
||||||
@ -293,7 +293,7 @@ static inline int32_t htx_get_prev(const struct htx *htx, uint32_t pos)
|
|||||||
|
|
||||||
/* Returns the HTX block before <blk> in the HTX message <htx>. If <blk> is the
|
/* Returns the HTX block before <blk> in the HTX message <htx>. If <blk> is the
|
||||||
* head, NULL returned.
|
* head, NULL returned.
|
||||||
*/
|
*/
|
||||||
static inline struct htx_blk *htx_get_prev_blk(const struct htx *htx,
|
static inline struct htx_blk *htx_get_prev_blk(const struct htx *htx,
|
||||||
const struct htx_blk *blk)
|
const struct htx_blk *blk)
|
||||||
{
|
{
|
||||||
@ -326,7 +326,7 @@ static inline int32_t htx_get_next(const struct htx *htx, uint32_t pos)
|
|||||||
|
|
||||||
/* Returns the HTX block after <blk> in the HTX message <htx>. If <blk> is the
|
/* Returns the HTX block after <blk> in the HTX message <htx>. If <blk> is the
|
||||||
* tail, NULL returned.
|
* tail, NULL returned.
|
||||||
*/
|
*/
|
||||||
static inline struct htx_blk *htx_get_next_blk(const struct htx *htx,
|
static inline struct htx_blk *htx_get_next_blk(const struct htx *htx,
|
||||||
const struct htx_blk *blk)
|
const struct htx_blk *blk)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user