lib/vfs/vfs.h: move comment to proper place.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2022-12-30 10:30:54 +03:00
parent e7d081565d
commit fad7029502
1 changed files with 6 additions and 7 deletions

View File

@ -27,13 +27,6 @@
#define VFS_CLASS(a) ((struct vfs_class *) (a))
/**
* This is the type of callback function passed to vfs_fill_names.
* It gets the name of the virtual file system as its first argument.
* See also:
* vfs_fill_names().
*/
#define VFS_ENCODING_PREFIX "#enc:"
#define O_ALL (O_CREAT | O_EXCL | O_NOCTTY | O_NDELAY | O_SYNC | O_WRONLY | O_RDWR | O_RDONLY)
@ -86,6 +79,12 @@
#define E_PROTO EIO
#endif
/**
* This is the type of callback function passed to vfs_fill_names.
* It gets the name of the virtual file system as its first argument.
* See also:
* vfs_fill_names().
*/
typedef void (*fill_names_f) (const char *);
typedef void *vfsid;