debug: add an empty line
[samba.git] / lib / util / tevent_req_profile.h
1 /*
2  * Unix SMB/CIFS implementation.
3  *
4  * Helpers around tevent_req_profile
5  *
6  * Copyright (C) Volker Lendecke 2018
7  *
8  *   ** NOTE! The following LGPL license applies to the tevent
9  *   ** library. This does NOT imply that all of Samba is released
10  *   ** under the LGPL
11  *
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.
16  *
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.
21  *
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/>.
24  */
25
26 #ifndef __LIB_UTIL_TEVENT_REQ_PROFILE_UNPACK
27 #define __LIB_UTIL_TEVENT_REQ_PROFILE_UNPACK
28
29 #include "replace.h"
30 #include <tevent.h>
31
32 char *tevent_req_profile_string(TALLOC_CTX *mem_ctx,
33                                 const struct tevent_req_profile *profile,
34                                 unsigned indent,
35                                 unsigned max_indent);
36 ssize_t tevent_req_profile_pack(
37         const struct tevent_req_profile *profile,
38         uint8_t *buf,
39         size_t buflen);
40 ssize_t tevent_req_profile_unpack(
41         const uint8_t *buf,
42         size_t buflen,
43         TALLOC_CTX *mem_ctx,
44         struct tevent_req_profile **p_profile);
45
46 #endif