torture/vfstest.h

説明を見る。
00001 /* 
00002    Unix SMB/CIFS implementation.
00003    VFS module tester
00004 
00005    Copyright (C) Simo Sorce 2002
00006    Copyright (C) Eric Lorimer 2002
00007 
00008    Most of this code was ripped off of rpcclient.
00009    Copyright (C) Tim Potter 2000-2001
00010 
00011    This program is free software; you can redistribute it and/or modify
00012    it under the terms of the GNU General Public License as published by
00013    the Free Software Foundation; either version 2 of the License, or
00014    (at your option) any later version.
00015    
00016    This program is distributed in the hope that it will be useful,
00017    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019    GNU General Public License for more details.
00020    
00021    You should have received a copy of the GNU General Public License
00022    along with this program; if not, write to the Free Software
00023    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024 */
00025 
00026 struct func_entry {
00027         char *name;
00028         int (*fn)(struct connection_struct *conn, const char *path);
00029 };
00030 
00031 struct vfs_state {
00032         struct connection_struct *conn;
00033         struct files_struct *files[1024];
00034         DIR *currentdir;
00035         void *data;
00036         size_t data_size;
00037 };
00038 
00039 struct cmd_set {
00040         const char *name;
00041         NTSTATUS (*fn)(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, 
00042                        const char **argv);
00043         const char *description;
00044         const char *usage;
00045 };

Sambaに対してSat Aug 29 21:23:28 2009に生成されました。  doxygen 1.4.7