1 /* Access Manager HTAccess.h
8 /* Flag to allow source to be loaded as text
12 /* Open a file descriptor for a document
13 ** -------------------------------------
16 ** addr must point to the fully qualified hypertext reference.
19 ** returns <0 Error has occured.
20 ** >=0 Value of file descriptor or socket to be used
22 ** *pFormat Set to the format of the file, if known.
25 ** No longer public -- only used internally.
27 /* extern int HTOpen PARAMS((CONST char * addr, HTFormat * format)); */
30 /* Close socket opened for reading a file
31 ** --------------------------------------
34 extern int HTClose PARAMS((int soc));
41 ** anchor is the node_anchor for the document
42 ** full_address The address of the file to be accessed.
45 ** returns YES Success in opening file
50 extern BOOL HTLoadDocument PARAMS((HTParentAnchor * anchor,
51 CONST char * full_address,
56 /* Load a document from relative name
60 ** relative_name The relative address of the file to be accessed.
63 ** returns YES Success in opening file
69 extern BOOL HTLoadRelative PARAMS((CONST char * relative_name));
71 /* Load a document from relative name
75 ** relative_name The relative address of the file to be accessed.
78 ** returns YES Success in opening file
84 extern BOOL HTLoadAbsolute PARAMS((CONST char * addr, BOOL filter));
87 /* Load if necessary, and select an anchor
88 ** --------------------------------------
91 ** destination The child or parenet anchor to be loaded.
94 ** returns YES Success
99 extern BOOL HTLoadAnchor PARAMS((HTAnchor * destination));
103 ** Performs a keyword search on word given by the user. Adds the keyword to
104 ** the end of the current address and attempts to open the new address.
107 ** *keywords space-separated keyword list or similar search list
108 ** HTMainAnchor global must be valid.
111 extern BOOL HTSearch PARAMS((char * keywords));
114 #endif /* HTACCESS_H */