2021-10-01 13:28:36 +03:00
/* SPDX-License-Identifier: LGPL-2.1-or-later */
2015-09-08 20:30:45 +03:00
@@
2015-11-05 15:44:17 +03:00
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r;
2015-09-09 12:08:23 +03:00
expression e;
2015-09-08 20:30:45 +03:00
@@
- r = -e;
2015-11-05 15:44:17 +03:00
+ r =
log_LEVEL_errno(e, ...);
2015-09-08 20:30:45 +03:00
@@
2015-11-05 15:44:17 +03:00
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r;
2015-09-09 12:08:23 +03:00
expression e;
2015-09-08 20:30:45 +03:00
@@
2015-11-05 15:44:17 +03:00
+ r =
log_LEVEL_errno(e, ...);
2015-09-08 20:30:45 +03:00
- r = -e;
@@
2015-11-05 15:44:17 +03:00
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r;
2015-09-09 12:08:23 +03:00
expression e;
2015-09-08 20:30:45 +03:00
@@
2015-11-05 15:44:17 +03:00
- r =
+ return
log_LEVEL_errno(e, ...);
2015-09-08 20:30:45 +03:00
- return r;
2015-11-05 15:44:18 +03:00
@@
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
2020-11-26 08:41:00 +03:00
local idexpression r;
@@
+ return
log_LEVEL_errno(r, ...);
- return r;
@@
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
2015-11-05 15:44:18 +03:00
expression e;
@@
+ return
log_LEVEL_errno(e, ...);
- return -e;
2020-11-19 20:34:48 +03:00
@@
identifier log_LEVEL_errno =~ "^log_(debug|info|notice|warning|error|emergency)_errno$";
expression list args;
expression e;
local idexpression r;
@@
- log_LEVEL_errno(e, args);
- r = e;
+ r = log_LEVEL_errno(e, args);
2020-11-26 08:41:00 +03:00
@@
identifier log_UNIT_LEVEL_errno =~ "^log_(unit|link|netdev|device|token)_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r;
expression e;
expression u;
@@
- r = -e;
+ r =
log_UNIT_LEVEL_errno(u, e, ...);
@@
identifier log_UNIT_LEVEL_errno =~ "^log_(unit|link|netdev|device|token)_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r;
expression e;
expression u;
@@
+ r =
log_UNIT_LEVEL_errno(u, e, ...);
- r = -e;
@@
identifier log_UNIT_LEVEL_errno =~ "^log_(unit|link|netdev|device|token)_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r;
expression e;
expression u;
@@
- r =
+ return
log_UNIT_LEVEL_errno(u, e, ...);
- return r;
@@
identifier log_UNIT_LEVEL_errno =~ "^log_(unit|link|netdev|device|token)_(debug|info|notice|warning|error|emergency)_errno$";
local idexpression r;
expression u;
@@
+ return
log_UNIT_LEVEL_errno(u, r, ...);
- return r;
@@
identifier log_UNIT_LEVEL_errno =~ "^log_(unit|link|netdev|device|token)_(debug|info|notice|warning|error|emergency)_errno$";
expression e;
expression u;
@@
+ return
log_UNIT_LEVEL_errno(u, e, ...);
- return -e;
@@
identifier log_UNIT_LEVEL_errno =~ "^log_(unit|link|netdev|device|token)_(debug|info|notice|warning|error|emergency)_errno$";
expression list args;
expression e;
expression u;
local idexpression r;
@@
- log_UNIT_LEVEL_errno(u, e, args);
- r = e;
+ r = log_UNIT_LEVEL_errno(u, e, args);