2 * Unix SMB/CIFS implementation.
4 * Helpers around tevent_req_profile
6 * Copyright (C) Volker Lendecke 2018
8 * ** NOTE! The following LGPL license applies to the tevent
9 * ** library. This does NOT imply that all of Samba is released
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 3 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
26 #ifndef __LIB_UTIL_TEVENT_REQ_PROFILE_UNPACK
27 #define __LIB_UTIL_TEVENT_REQ_PROFILE_UNPACK
32 char *tevent_req_profile_string(TALLOC_CTX
*mem_ctx
,
33 const struct tevent_req_profile
*profile
,
36 ssize_t
tevent_req_profile_pack(
37 const struct tevent_req_profile
*profile
,
40 ssize_t
tevent_req_profile_unpack(
44 struct tevent_req_profile
**p_profile
);