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
8status_t set_mime_type(vnode *node, const char *filename);
9
10int dosfs_open_attrdir(void *_vol, void *_node, void **_cookie);
11int dosfs_close_attrdir(void *_vol, void *_node, void *_cookie);
12int dosfs_free_attrcookie(void *_vol, void *_node, void *_cookie);
13int dosfs_rewind_attrdir(void *_vol, void *_node, void *_cookie);
14int dosfs_read_attrdir(void *_vol, void *_node, void *_cookie, long *num,
15	struct dirent *buf, size_t bufsize);
16int dosfs_stat_attr(void *_vol, void *_node, const char *name, struct attr_info *buf);
17int dosfs_read_attr(void *_vol, void *_node, const char *name, int type, void *buf,
18	size_t *len, off_t pos);
19int dosfs_write_attr(void *_vol, void *_node, const char *name, int type,
20	const void *buf, size_t *len, off_t pos);
21
22#endif
23