gssapi: check for gss_acquire_cred_from
[Samba.git] / source3 / lib / util_file.h
blob9175ed0dcee093ae5b1249879f92a07978a7360a
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_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,
30 uint8_t **buf);
32 char **file_lines_pload(TALLOC_CTX *mem_ctx, const char *syscmd,
33 int *numlines);
35 #endif