smbtorture: Use NT_STATUS_PENDING instead of STATUS_PENDING
[Samba.git] / source3 / lib / util_file.h
blob1aef5a22b44345a2b4fe87c0c8e9c1e28d7b2a4c
1 /*
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)
9 * any later version.
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
14 * more details.
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__
23 #include "replace.h"
24 #include <tevent.h>
26 struct tevent_req *file_ploadv_send(TALLOC_CTX *mem_ctx,
27 struct tevent_context *ev,
28 char * const argl[], size_t maxsize);
29 int file_ploadv_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
30 uint8_t **buf);
31 char **file_lines_ploadv(TALLOC_CTX *mem_ctx,
32 char * const argl[],
33 int *numlines);
35 #endif