diff options
Diffstat (limited to 'lib/util/tevent_ntstatus.h')
-rw-r--r-- | lib/util/tevent_ntstatus.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/util/tevent_ntstatus.h b/lib/util/tevent_ntstatus.h index c10aa36561..4ac9243320 100644 --- a/lib/util/tevent_ntstatus.h +++ b/lib/util/tevent_ntstatus.h @@ -25,7 +25,11 @@ #include "../libcli/util/ntstatus.h" #include <tevent.h> -bool tevent_req_nterror(struct tevent_req *req, NTSTATUS status); +bool _tevent_req_nterror(struct tevent_req *req, + NTSTATUS status, + const char *location); +#define tevent_req_nterror(req, status) \ + _tevent_req_nterror(req, status, __location__) bool tevent_req_is_nterror(struct tevent_req *req, NTSTATUS *pstatus); NTSTATUS tevent_req_simple_recv_ntstatus(struct tevent_req *req); |