Annotation of libwww/Library/src/HTFile.html, revision 2.29
2.7 timbl 1: <HTML>
2: <HEAD>
2.29 ! frystyk 3: <TITLE>File Access</TITLE>
! 4: <!-- Changed by: Henrik Frystyk Nielsen, 14-Aug-1995 -->
2.7 timbl 5: <NEXTID N="z4">
6: </HEAD>
2.3 timbl 7: <BODY>
2.15 frystyk 8:
2.17 frystyk 9: <H1>File Access</H1>
2.15 frystyk 10:
2.17 frystyk 11: <PRE>
12: /*
2.24 frystyk 13: ** (c) COPYRIGHT MIT 1995.
2.17 frystyk 14: ** Please first read the full copyright statement in the file COPYRIGH.
15: */
16: </PRE>
2.15 frystyk 17:
2.17 frystyk 18: These are routines for local file access used by WWW browsers and
19: servers. <P>
20:
21: If the file is not a local file, then we pass it on to <A NAME="z3"
22: HREF="HTFTP.html">HTFTP</A> in case it can be reached by FTP. However,
23: as this is very time consuming when requesting a local file that
24: actually doesn't exist, this redirection will be disabled in the next
2.26 frystyk 25: major release, <EM>www-bug@w3.org</EM> June 1994.<P>
2.17 frystyk 26:
27: <B>Note:</B> All functions that deal with directory listings etc. have
28: been moved to <A HREF="HTDirBrw.html">HTDirBrw Module</A>. <P>
29:
30: This module is implemented by <A HREF="HTFile.c">HTFile.c</A>, and it
31: is a part of the <A
2.28 frystyk 32: HREF="http://www.w3.org/hypertext/WWW/Library/">
33: W3C Reference Library</A>.
2.15 frystyk 34:
35: <PRE>
36: #ifndef HTFILE_H
2.1 timbl 37: #define HTFILE_H
38:
2.27 frystyk 39: #include "HTProt.h"
2.12 luotonen 40:
2.23 frystyk 41: GLOBALREF HTProtocol HTFile;
2.18 frystyk 42:
2.3 timbl 43: </PRE>
2.1 timbl 44:
2.18 frystyk 45: <H2>Make a WWW name from a full local path name</H2>
2.1 timbl 46:
2.18 frystyk 47: <PRE>
2.25 frystyk 48: extern char * WWW_nameOfFile PARAMS((const char * name));
2.3 timbl 49: </PRE>
2.18 frystyk 50:
2.3 timbl 51: <H2>Determine write access to a file</H2>
2.1 timbl 52:
2.3 timbl 53: <PRE>
2.25 frystyk 54: extern BOOL HTEditable PARAMS((CONST char * filename,
55: struct stat *stat_info));
2.3 timbl 56: </PRE>
2.1 timbl 57:
2.23 frystyk 58: <PRE>
59: #endif /* HTFILE_H */
2.3 timbl 60: </PRE>
2.1 timbl 61:
2.23 frystyk 62: End of declaration of HTFile module
2.3 timbl 63:
2.23 frystyk 64: </BODY>
2.7 timbl 65: </HTML>
Webmaster