summaryrefslogtreecommitdiff
path: root/include/arch/unix
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-10-23 17:21:14 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2000-10-23 17:21:14 +0000
commit0fa08305c1af5971f9428ca3c752a1d5dc7d34e9 (patch)
treefd044a9f43532d81a3aae4ad1fa30c8d840f2c00 /include/arch/unix
parent2f1856c2c45daa1b5e934cbdcb223d4ad78fa350 (diff)
downloadlibapr-0fa08305c1af5971f9428ca3c752a1d5dc7d34e9.tar.gz
The start of the canonical name stuff.
* removed cruft that did nothing (yet) * add prototypes for the apr_canon... fn's * Consider: apr_compare_canonical (need to count matching elements) * Consider: Manoj's suggestion to handle symlinks within here. * Consider: fanf's concept to use dev/inode for comparison w/o strs. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60607 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/unix')
-rw-r--r--include/arch/unix/fileio.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/arch/unix/fileio.h b/include/arch/unix/fileio.h
index 2f202d90e..24ca8e1d9 100644
--- a/include/arch/unix/fileio.h
+++ b/include/arch/unix/fileio.h
@@ -58,6 +58,7 @@
#include "apr.h"
#include "apr_private.h"
#include "apr_general.h"
+#include "apr_tables.h"
#include "apr_file_io.h"
#include "apr_errno.h"
#include "apr_lib.h"
@@ -112,6 +113,22 @@
#define APR_FILE_BUFSIZE 4096
+typedef struct apr_canon_elem_t {
+/* A possible comparison mechanism to play with once we start
+ * implementing case insensitive mount poinbt semantices
+ * int dev;
+ * int inode;
+ * apr_time_t cached; --for timeout?
+ */
+ int pathlen;
+ char *element;
+} apr_canon_elem_t;
+
+struct apr_canon_t {
+ apr_pool_t *cntxt;
+ apr_array_header_t *elems;
+};
+
struct apr_file_t {
apr_pool_t *cntxt;
int filedes;