Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/lib/util/tevent_ntstatus.h

    r414 r745  
    2424#include <stdbool.h>
    2525#include "../libcli/util/ntstatus.h"
    26 #include "../tevent/tevent.h"
     26#include <tevent.h>
    2727
    28 bool tevent_req_nterror(struct tevent_req *req, NTSTATUS status);
     28bool _tevent_req_nterror(struct tevent_req *req,
     29                         NTSTATUS status,
     30                         const char *location);
     31#define tevent_req_nterror(req, status) \
     32        _tevent_req_nterror(req, status, __location__)
    2933bool tevent_req_is_nterror(struct tevent_req *req, NTSTATUS *pstatus);
    3034NTSTATUS tevent_req_simple_recv_ntstatus(struct tevent_req *req);
    3135
     36/*
     37 * Helper routine to pass the subreq_ntstatus to the req embedded in
     38 * tevent_req_callback_data(subreq), which will be freed.
     39 */
     40void tevent_req_simple_finish_ntstatus(struct tevent_req *subreq,
     41                                       NTSTATUS subreq_status);
     42
    3243#endif
Note: See TracChangeset for help on using the changeset viewer.