netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
vfs.h File Reference
#include <atalk/acl.h>
#include <atalk/adouble.h>
#include <atalk/volume.h>

Go to the source code of this file.

Data Structures

struct  vfs_ops

Macros

#define VFS_FUNC_ARGS_VALIDUPATH   const struct vol *vol _U_, const char *name
#define VFS_FUNC_VARS_VALIDUPATH   vol, name
#define VFS_FUNC_ARGS_CHOWN   const struct vol *vol, const char *path, uid_t uid, gid_t gid
#define VFS_FUNC_VARS_CHOWN   vol, path, uid, gid
#define VFS_FUNC_ARGS_RENAMEDIR   const struct vol *vol _U_, int dirfd _U_, const char *oldpath _U_, const char *newpath _U_
#define VFS_FUNC_VARS_RENAMEDIR   vol, dirfd, oldpath, newpath
#define VFS_FUNC_ARGS_DELETECURDIR   const struct vol *vol
#define VFS_FUNC_VARS_DELETECURDIR   vol
#define VFS_FUNC_ARGS_SETFILEMODE   const struct vol *vol, const char *name, mode_t mode, struct stat *st _U_
#define VFS_FUNC_VARS_SETFILEMODE   vol, name, mode, st
#define VFS_FUNC_ARGS_SETDIRMODE   const struct vol *vol _U_, const char *name _U_, mode_t mode _U_, struct stat *st _U_
#define VFS_FUNC_VARS_SETDIRMODE   vol, name, mode, st
#define VFS_FUNC_ARGS_SETDIRUNIXMODE   const struct vol *vol _U_, const char *name _U_, mode_t mode _U_, struct stat *st _U_
#define VFS_FUNC_VARS_SETDIRUNIXMODE   vol, name, mode, st
#define VFS_FUNC_ARGS_SETDIROWNER   const struct vol *vol _U_, const char *name _U_, uid_t uid _U_, gid_t gid _U_
#define VFS_FUNC_VARS_SETDIROWNER   vol, name, uid, gid
#define VFS_FUNC_ARGS_DELETEFILE   const struct vol *vol, int dirfd, const char *file
#define VFS_FUNC_VARS_DELETEFILE   vol, dirfd, file
#define VFS_FUNC_ARGS_RENAMEFILE   const struct vol *vol, int dirfd, const char *src, const char *dst
#define VFS_FUNC_VARS_RENAMEFILE   vol, dirfd, src, dst
#define VFS_FUNC_ARGS_COPYFILE   const struct vol *vol _U_, int sfd, const char *src, const char *dst
#define VFS_FUNC_VARS_COPYFILE   vol, sfd, src, dst
#define VFS_FUNC_ARGS_REMOVE_ACL   const struct vol *vol, const char *path, int dir
#define VFS_FUNC_VARS_REMOVE_ACL   vol, path, dir
#define VFS_FUNC_ARGS_EA_GETSIZE   const struct vol * restrict vol, char * restrict rbuf, size_t * restrict rbuflen, const char * restrict uname, int oflag _U_, const char * restrict attruname, int fd _U_
#define VFS_FUNC_VARS_EA_GETSIZE   vol, rbuf, rbuflen, uname, oflag, attruname, fd
#define VFS_FUNC_ARGS_EA_GETCONTENT   const struct vol * restrict vol, char * restrict rbuf, size_t * restrict rbuflen, const char * restrict uname, int oflag _U_, const char * restrict attruname, int maxreply, int fd
#define VFS_FUNC_VARS_EA_GETCONTENT   vol, rbuf, rbuflen, uname, oflag, attruname, maxreply, fd
#define VFS_FUNC_ARGS_EA_LIST   const struct vol * restrict vol, char * restrict attrnamebuf, size_t * restrict buflen, const char * restrict uname, int oflag _U_, int fd _U_
#define VFS_FUNC_VARS_EA_LIST   vol, attrnamebuf, buflen, uname, oflag, fd
#define VFS_FUNC_ARGS_EA_SET   const struct vol * restrict vol, const char * restrict uname, const char * restrict attruname, const char * restrict ibuf, size_t attrsize, int oflag, int fd _U_
#define VFS_FUNC_VARS_EA_SET   vol, uname, attruname, ibuf, attrsize, oflag, fd
#define VFS_FUNC_ARGS_EA_REMOVE   const struct vol * restrict vol _U_, const char * restrict uname, const char * restrict attruname, int oflag _U_, int fd _U_
#define VFS_FUNC_VARS_EA_REMOVE   vol, uname, attruname, oflag, fd

Functions

void initvol_vfs (struct vol *restrict vol)

Macro Definition Documentation

◆ VFS_FUNC_ARGS_CHOWN

#define VFS_FUNC_ARGS_CHOWN   const struct vol *vol, const char *path, uid_t uid, gid_t gid

◆ VFS_FUNC_ARGS_COPYFILE

#define VFS_FUNC_ARGS_COPYFILE   const struct vol *vol _U_, int sfd, const char *src, const char *dst

◆ VFS_FUNC_ARGS_DELETECURDIR

#define VFS_FUNC_ARGS_DELETECURDIR   const struct vol *vol

◆ VFS_FUNC_ARGS_DELETEFILE

#define VFS_FUNC_ARGS_DELETEFILE   const struct vol *vol, int dirfd, const char *file

◆ VFS_FUNC_ARGS_EA_GETCONTENT

#define VFS_FUNC_ARGS_EA_GETCONTENT   const struct vol * restrict vol, char * restrict rbuf, size_t * restrict rbuflen, const char * restrict uname, int oflag _U_, const char * restrict attruname, int maxreply, int fd

◆ VFS_FUNC_ARGS_EA_GETSIZE

#define VFS_FUNC_ARGS_EA_GETSIZE   const struct vol * restrict vol, char * restrict rbuf, size_t * restrict rbuflen, const char * restrict uname, int oflag _U_, const char * restrict attruname, int fd _U_

◆ VFS_FUNC_ARGS_EA_LIST

#define VFS_FUNC_ARGS_EA_LIST   const struct vol * restrict vol, char * restrict attrnamebuf, size_t * restrict buflen, const char * restrict uname, int oflag _U_, int fd _U_

◆ VFS_FUNC_ARGS_EA_REMOVE

#define VFS_FUNC_ARGS_EA_REMOVE   const struct vol * restrict vol _U_, const char * restrict uname, const char * restrict attruname, int oflag _U_, int fd _U_

◆ VFS_FUNC_ARGS_EA_SET

#define VFS_FUNC_ARGS_EA_SET   const struct vol * restrict vol, const char * restrict uname, const char * restrict attruname, const char * restrict ibuf, size_t attrsize, int oflag, int fd _U_

◆ VFS_FUNC_ARGS_REMOVE_ACL

#define VFS_FUNC_ARGS_REMOVE_ACL   const struct vol *vol, const char *path, int dir

◆ VFS_FUNC_ARGS_RENAMEDIR

#define VFS_FUNC_ARGS_RENAMEDIR   const struct vol *vol _U_, int dirfd _U_, const char *oldpath _U_, const char *newpath _U_

◆ VFS_FUNC_ARGS_RENAMEFILE

#define VFS_FUNC_ARGS_RENAMEFILE   const struct vol *vol, int dirfd, const char *src, const char *dst

◆ VFS_FUNC_ARGS_SETDIRMODE

#define VFS_FUNC_ARGS_SETDIRMODE   const struct vol *vol _U_, const char *name _U_, mode_t mode _U_, struct stat *st _U_

◆ VFS_FUNC_ARGS_SETDIROWNER

#define VFS_FUNC_ARGS_SETDIROWNER   const struct vol *vol _U_, const char *name _U_, uid_t uid _U_, gid_t gid _U_

◆ VFS_FUNC_ARGS_SETDIRUNIXMODE

#define VFS_FUNC_ARGS_SETDIRUNIXMODE   const struct vol *vol _U_, const char *name _U_, mode_t mode _U_, struct stat *st _U_

◆ VFS_FUNC_ARGS_SETFILEMODE

#define VFS_FUNC_ARGS_SETFILEMODE   const struct vol *vol, const char *name, mode_t mode, struct stat *st _U_

◆ VFS_FUNC_ARGS_VALIDUPATH

#define VFS_FUNC_ARGS_VALIDUPATH   const struct vol *vol _U_, const char *name

◆ VFS_FUNC_VARS_CHOWN

#define VFS_FUNC_VARS_CHOWN   vol, path, uid, gid

◆ VFS_FUNC_VARS_COPYFILE

#define VFS_FUNC_VARS_COPYFILE   vol, sfd, src, dst

◆ VFS_FUNC_VARS_DELETECURDIR

#define VFS_FUNC_VARS_DELETECURDIR   vol

◆ VFS_FUNC_VARS_DELETEFILE

#define VFS_FUNC_VARS_DELETEFILE   vol, dirfd, file

◆ VFS_FUNC_VARS_EA_GETCONTENT

#define VFS_FUNC_VARS_EA_GETCONTENT   vol, rbuf, rbuflen, uname, oflag, attruname, maxreply, fd

◆ VFS_FUNC_VARS_EA_GETSIZE

#define VFS_FUNC_VARS_EA_GETSIZE   vol, rbuf, rbuflen, uname, oflag, attruname, fd

◆ VFS_FUNC_VARS_EA_LIST

#define VFS_FUNC_VARS_EA_LIST   vol, attrnamebuf, buflen, uname, oflag, fd

◆ VFS_FUNC_VARS_EA_REMOVE

#define VFS_FUNC_VARS_EA_REMOVE   vol, uname, attruname, oflag, fd

◆ VFS_FUNC_VARS_EA_SET

#define VFS_FUNC_VARS_EA_SET   vol, uname, attruname, ibuf, attrsize, oflag, fd

◆ VFS_FUNC_VARS_REMOVE_ACL

#define VFS_FUNC_VARS_REMOVE_ACL   vol, path, dir

◆ VFS_FUNC_VARS_RENAMEDIR

#define VFS_FUNC_VARS_RENAMEDIR   vol, dirfd, oldpath, newpath

◆ VFS_FUNC_VARS_RENAMEFILE

#define VFS_FUNC_VARS_RENAMEFILE   vol, dirfd, src, dst

◆ VFS_FUNC_VARS_SETDIRMODE

#define VFS_FUNC_VARS_SETDIRMODE   vol, name, mode, st

◆ VFS_FUNC_VARS_SETDIROWNER

#define VFS_FUNC_VARS_SETDIROWNER   vol, name, uid, gid

◆ VFS_FUNC_VARS_SETDIRUNIXMODE

#define VFS_FUNC_VARS_SETDIRUNIXMODE   vol, name, mode, st

◆ VFS_FUNC_VARS_SETFILEMODE

#define VFS_FUNC_VARS_SETFILEMODE   vol, name, mode, st

◆ VFS_FUNC_VARS_VALIDUPATH

#define VFS_FUNC_VARS_VALIDUPATH   vol, name

Function Documentation

◆ initvol_vfs()

void initvol_vfs ( struct vol *restrict vol)
extern