summaryrefslogtreecommitdiff
path: root/include/apr_file_io.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-06-12 15:28:52 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-06-12 15:28:52 +0000
commitac576935854223035bf534b8640174847cd95052 (patch)
treef38dfb5fd33cfd28cd3b7a00c88ad5a5faf445d3 /include/apr_file_io.h
parentb25a8060998c60b7158085c50008bac1c82e727c (diff)
downloadlibapr-ac576935854223035bf534b8640174847cd95052.tar.gz
Remove the final vestiges of stat.h from Apache 2.0. All calls are now to
ap_stat. This also adds the new function ap_lstat(). This function is analogous to lstat. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60181 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_file_io.h')
-rw-r--r--include/apr_file_io.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/include/apr_file_io.h b/include/apr_file_io.h
index 790a136c4..58fb6a594 100644
--- a/include/apr_file_io.h
+++ b/include/apr_file_io.h
@@ -410,11 +410,10 @@ B<get the specified file's stats..>
=cut
*/
ap_status_t ap_getfileinfo(ap_finfo_t *finfo, ap_file_t *thefile);
-ap_status_t ap_stat(ap_finfo_t *finfo, const char *fname, ap_pool_t *cont);
/*
-=head1 ap_status_t ap_stat(ap_file_t **finfo, char *fname, ap_pool_t *cont)
+=head1 ap_status_t ap_stat(ap_finfo_t **finfo, char *fname, ap_pool_t *cont)
B<get the specified file's stats. The file is specified by filename, instead of using a pre-opened file.>
@@ -428,6 +427,20 @@ ap_status_t ap_stat(ap_finfo_t *finfo, const char *fname, ap_pool_t *cont);
/*
+=head1 ap_status_t ap_lstat(ap_finfo_t **finfo, char *fname, ap_pool_t *cont)
+
+B<get the specified file's stats. The file is specified by filename, instead of using a pre-opened file. If the file is a symlink, this function will get the stats for the symlink not the file the symlink refers to.>
+
+ arg 1) Where to store the information about the file.
+ arg 2) The name of the file to stat.
+ arg 3) the pool to use to allocate the new file.
+
+=cut
+ */
+ap_status_t ap_lstat(ap_finfo_t *finfo, const char *fname, ap_pool_t *cont);
+
+/*
+
=head1 ap_status_t ap_seek(ap_file_t *thefile, ap_seek_where_t where, ap_off_t *offset)
B<Move the read/write file offset to a specified byte within a file.>