blob: fceda27024ea958b75c263a4d0febc10cd081497 [file] [log] [blame]
Willy Tarreau70deec72022-05-17 16:30:44 +02001@@
2struct cs_endpoint *endp;
3expression e;
4@@
5(
6- (endp->flags & (e))
7+ se_fl_test(endp, e)
8|
9- (endp->flags & e)
10+ se_fl_test(endp, e)
11|
12- endp->flags & (e)
13+ se_fl_test(endp, e)
14|
15- endp->flags & e
16+ se_fl_test(endp, e)
17)
18
19@@
20struct cs_endpoint *endp;
21expression e;
22@@
23(
24- endp->flags |= (e)
25+ se_fl_set(endp, e)
26|
27- endp->flags |= e
28+ se_fl_set(endp, e)
29)
30
31@@
32struct cs_endpoint *endp;
33expression e;
34@@
35(
36- endp->flags &= ~(e)
37+ se_fl_clr(endp, e)
38|
39- endp->flags &= (e)
40+ se_fl_clr(endp, ~e)
41|
42- endp->flags &= ~e
43+ se_fl_clr(endp, e)
44|
45- endp->flags &= e
46+ se_fl_clr(endp, ~e)
47)
48
49@@
50struct cs_endpoint *endp;
51@@
52- endp->flags = 0
53+ se_fl_zero(endp)
54
55@@
56struct cs_endpoint *endp;
57expression e;
58@@
59(
60- endp->flags = (e)
61+ se_fl_setall(endp, e)
62|
63- endp->flags = e
64+ se_fl_setall(endp, e)
65)
66
67@@
68struct cs_endpoint *endp;
69@@
70(
71- (endp->flags)
72+ se_fl_get(endp)
73|
74- endp->flags
75+ se_fl_get(endp)
76)