s4:http/gensec: rename ntlm.c to generic.c
[Samba.git] / lib / util / tevent_unix.h
blob39689d6117723ec1b116b6b65a1c9559793950ed
1 /*
2 Unix SMB/CIFS implementation.
3 Wrap unix errno around tevent_req
4 Copyright (C) Volker Lendecke 2009
6 ** NOTE! The following LGPL license applies to the tevent_unix
7 ** helper library. This does NOT imply that all of Samba is released
8 ** under the LGPL
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 3 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Library General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
24 #ifndef _TEVENT_UNIX_H
25 #define _TEVENT_UNIX_H
27 #include <tevent.h>
29 bool tevent_req_is_unix_error(struct tevent_req *req, int *perrno);
30 int tevent_req_simple_recv_unix(struct tevent_req *req);
31 bool tevent_req_poll_unix(struct tevent_req *req, struct tevent_context *ev,
32 int *err);
34 #endif