swrap: Wrap fopen to detect stale file descriptors.
[Samba.git] / lib / afs / afs_settoken.h
blobd6cc4621a768db44f945534f83d83de9e9e43fe1
1 /*
2 * Unix SMB/CIFS implementation.
3 * Generate AFS tickets
4 * Copyright (C) Volker Lendecke 2004
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 int afs_syscall(int subcall, const char *path, int cmd, char *cmarg, int follow);
21 bool afs_settoken_str(const char *token_string);