diff options
Diffstat (limited to 'lib/util/tevent_ntstatus.h')
-rw-r--r-- | lib/util/tevent_ntstatus.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/util/tevent_ntstatus.h b/lib/util/tevent_ntstatus.h index 22fe9188d0..4cf593a454 100644 --- a/lib/util/tevent_ntstatus.h +++ b/lib/util/tevent_ntstatus.h @@ -29,4 +29,11 @@ bool tevent_req_nterror(struct tevent_req *req, NTSTATUS status); bool tevent_req_is_nterror(struct tevent_req *req, NTSTATUS *pstatus); NTSTATUS tevent_req_simple_recv_ntstatus(struct tevent_req *req); +/* + * Helper routine to pass the subreq_ntstatus to the req embedded in + * tevent_req_callback_data(subreq), which will be freed. + */ +void tevent_req_simple_finish_ntstatus(struct tevent_req *subreq, + NTSTATUS subreq_status); + #endif |