docs: update XInclude year to conform with current standard
[Samba.git] / source3 / lib / smbd_tevent_queue.h
blobc919958ae1ecb370d969d40dbe47f806e6e20ec8
1 /*
2 Unix SMB/CIFS implementation.
3 Infrastructure for async requests
4 Copyright (C) Volker Lendecke 2008
5 Copyright (C) Stefan Metzmacher 2009
7 ** NOTE! The following LGPL license applies to the tevent
8 ** library. This does NOT imply that all of Samba is released
9 ** under the LGPL
11 This library is free software; you can redistribute it and/or
12 modify it under the terms of the GNU Lesser General Public
13 License as published by the Free Software Foundation; either
14 version 3 of the License, or (at your option) any later version.
16 This library is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 Lesser General Public License for more details.
21 You should have received a copy of the GNU Lesser General Public
22 License along with this library; if not, see <http://www.gnu.org/licenses/>.
25 /* Back-port of missing API from 4.2 for tevent_queues. */
27 #ifndef _SMBD_TEVENT_QUEUE_H_
28 #define _SMBD_TEVENT_QUEUE_H_
29 struct tevent_req *smbd_tevent_queue_wait_send(TALLOC_CTX *mem_ctx,
30 struct tevent_context *ev,
31 struct tevent_queue *queue);
33 bool smbd_tevent_queue_wait_recv(struct tevent_req *req);
34 #endif