2 * Unix SMB/CIFS implementation.
3 * SMB parameters and setup
4 * Copyright (C) Andrew Tridgell 1992-1998 Modified by Jeremy Allison 1995.
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 3 of the License, or (at your option)
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef __LIB_UTIL_FILE_H__
21 #define __LIB_UTIL_FILE_H__
26 struct tevent_req
*file_pload_send(TALLOC_CTX
*mem_ctx
,
27 struct tevent_context
*ev
,
28 const char *syscmd
, size_t maxsize
);
29 int file_pload_recv(struct tevent_req
*req
, TALLOC_CTX
*mem_ctx
,
32 char **file_lines_pload(TALLOC_CTX
*mem_ctx
, const char *syscmd
,