Prototypes for new link extended attribute calls. Sync to MAC tree.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
This commit is contained in:
parent
6f90723cad
commit
5e1a977a48
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104733
@ -60,14 +60,20 @@ int extattrctl(const char *_path, int _cmd, const char *_filename,
|
||||
int extattr_delete_fd(int _fd, int _attrnamespace, const char *_attrname);
|
||||
int extattr_delete_file(const char *_path, int _attrnamespace,
|
||||
const char *_attrname);
|
||||
int extattr_delete_link(const char *_path, int _attrnamespace,
|
||||
const char *_attrname);
|
||||
ssize_t extattr_get_fd(int _fd, int _attrnamespace, const char *_attrname,
|
||||
void *_data, size_t _nbytes);
|
||||
ssize_t extattr_get_file(const char *_path, int _attrnamespace,
|
||||
const char *_attrname, void *_data, size_t _nbytes);
|
||||
ssize_t extattr_get_link(const char *_path, int _attrnamespace,
|
||||
const char *_attrname, void *_data, size_t _nbytes);
|
||||
int extattr_set_fd(int _fd, int _attrnamespace, const char *_attrname,
|
||||
const void *_data, size_t _nbytes);
|
||||
int extattr_set_file(const char *_path, int _attrnamespace,
|
||||
const char *_attrname, const void *_data, size_t _nbytes);
|
||||
int extattr_set_link(const char *_path, int _attrnamespace,
|
||||
const char *_attrname, const void *_data, size_t _nbytes);
|
||||
__END_DECLS
|
||||
|
||||
#endif /* !_KERNEL */
|
||||
|
Loading…
Reference in New Issue
Block a user