1/*
2	Copyright 1999-2001, Be Incorporated.   All Rights Reserved.
3	This file may be used under the terms of the Be Sample Code License.
4*/
5#ifndef _DOSFS_ATTR_H_
6#define _DOSFS_ATTR_H_
7
8#include <fs_attr.h>
9
10status_t set_mime_type(vnode *node, const char *filename);
11
12status_t dosfs_open_attrdir(fs_volume *_vol, fs_vnode *_node, void **_cookie);
13status_t dosfs_close_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie);
14status_t dosfs_free_attrdir_cookie(fs_volume *_vol, fs_vnode *_node,
15	void *_cookie);
16status_t dosfs_rewind_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie);
17status_t dosfs_read_attrdir(fs_volume *_vol, fs_vnode *_node, void *_cookie,
18	struct dirent *buf, size_t bufsize, uint32 *num);
19status_t dosfs_open_attr(fs_volume *_vol, fs_vnode *_node, const char *name,
20	int openMode, void **_cookie);
21status_t dosfs_close_attr(fs_volume *_vol, fs_vnode *_node, void *cookie);
22status_t dosfs_free_attr_cookie(fs_volume *_vol, fs_vnode *_node, void *cookie);
23status_t dosfs_read_attr_stat(fs_volume *_vol, fs_vnode *_node, void *_cookie,
24	struct stat *stat);
25status_t dosfs_read_attr(fs_volume *_vol, fs_vnode *_node, void *_cookie,
26	off_t pos, void *buffer, size_t *_length);
27status_t dosfs_write_attr(fs_volume *_vol, fs_vnode *_node, void *_cookie,
28	off_t pos, const void *buffer, size_t *_length);
29
30#endif
31