aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/extattr.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-10-09 21:48:57 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-10-09 21:48:57 +0000
commit5e1a977a482110f9b4d5b7a804fe169311e8c11e (patch)
treea02cf66c7447b18385f817ba96c95d0cd345b508 /sys/sys/extattr.h
parent6f90723caded8e5d8827c97a45c17653902b7770 (diff)
downloadsrc-5e1a977a482110f9b4d5b7a804fe169311e8c11e.tar.gz
src-5e1a977a482110f9b4d5b7a804fe169311e8c11e.zip
Prototypes for new link extended attribute calls. Sync to MAC tree.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Notes
Notes: svn path=/head/; revision=104733
Diffstat (limited to 'sys/sys/extattr.h')
-rw-r--r--sys/sys/extattr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/extattr.h b/sys/sys/extattr.h
index 217607e99546..aabb53d4078f 100644
--- a/sys/sys/extattr.h
+++ b/sys/sys/extattr.h
@@ -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 */