1 /* usmb - mount SMB shares via FUSE and Samba
2 * Copyright (C) 2006-2008 Geoff Johnstone
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #include <sys/types.h>
25 int usmb_mkdir (const char *dirname
, mode_t mode
);
26 int usmb_rmdir (const char *dirname
);
27 int usmb_opendir (const char *dirname
, struct fuse_file_info
*fi
);
28 int usmb_readdir (const char *path
, void *h
, fuse_fill_dir_t filler
,
29 off_t offset
, struct fuse_file_info
*fi
);
30 int usmb_releasedir (const char *path
, struct fuse_file_info
*fi
);
31 int usmb_setxattr (const char *path
, const char *name
, const char *value
,
32 size_t size
, int flags
);
33 int usmb_getxattr (const char *path
, const char *name
, char *value
,
35 int usmb_listxattr (const char *path
, char *list
, size_t size
);
36 int usmb_removexattr (const char *path
, const char *name
);