From 5e1a977a482110f9b4d5b7a804fe169311e8c11e Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Wed, 9 Oct 2002 21:48:57 +0000 Subject: [PATCH] Prototypes for new link extended attribute calls. Sync to MAC tree. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories --- sys/sys/extattr.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 */