summaryrefslogtreecommitdiff
path: root/include/arch/unix
diff options
context:
space:
mode:
authorgstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2000-07-03 12:06:38 +0000
committergstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2000-07-03 12:06:38 +0000
commit14384e0c1e1280647c7d26408d05fab41bfa6f46 (patch)
tree47e85b7b21eb1ba24457d620a9a27a925545e78c /include/arch/unix
parent5dd1707e7a337bcc93aa69a297b413f5aa0f973e (diff)
downloadlibapr-14384e0c1e1280647c7d26408d05fab41bfa6f46.tar.gz
add ap_finfo_t.device
add ap_setfileperms() for setting file permissions (chmod cover). - OS/2 and Win32 currently return APR_ENOTIMPL fix the file perm handling in APR: some conversion between ap_fileperms_t and mode_t was not occurring; adding new conversion function; renamed old conversion func. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60292 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/unix')
-rw-r--r--include/arch/unix/fileio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/arch/unix/fileio.h b/include/arch/unix/fileio.h
index 06e38ee84..c91bb453d 100644
--- a/include/arch/unix/fileio.h
+++ b/include/arch/unix/fileio.h
@@ -143,7 +143,9 @@ struct ap_dir_t {
};
ap_status_t ap_unix_file_cleanup(void *);
-mode_t ap_unix_get_fileperms(ap_fileperms_t);
+
+mode_t ap_unix_perms2mode(ap_fileperms_t perms);
+ap_fileperms_t ap_unix_mode2perms(mode_t mode);
#endif /* ! FILE_IO_H */