Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/security.h')
-rw-r--r--winsup/cygwin/security.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/security.h b/winsup/cygwin/security.h
index c69785563..ba0a06a94 100644
--- a/winsup/cygwin/security.h
+++ b/winsup/cygwin/security.h
@@ -423,10 +423,10 @@ extern SECURITY_ATTRIBUTES *__stdcall __sec_user (PVOID sa_buf, PSID sid1, PSID
extern bool sec_acl (PACL acl, bool original, bool admins, PSID sid1 = NO_SID,
PSID sid2 = NO_SID, DWORD access2 = 0);
-int __stdcall read_ea (HANDLE hdl, const char *file, const char *attrname,
- char *buf, int len);
-BOOL __stdcall write_ea (HANDLE hdl, const char *file, const char *attrname,
- const char *buf, int len);
+ssize_t __stdcall read_ea (HANDLE hdl, path_conv &pc, const char *name,
+ char *value, size_t size);
+int __stdcall write_ea (HANDLE hdl, path_conv &pc, const char *name,
+ const char *value, size_t size, int flags);
/* Note: sid1 is usually (read: currently always) the current user's
effective sid (cygheap->user.sid ()). */