about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTAnchor.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2003-04-28 01:28:08 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2003-04-28 01:28:08 -0400
commit03413d1c868839950b21fd0b10fa5f31fff83964 (patch)
tree69b5d38bd1d80a009b23a41cd40148e434e13e38 /WWW/Library/Implementation/HTAnchor.h
parentc812b42f4248ea1ab6641616f6aef08d402d9f92 (diff)
downloadlynx-snapshots-03413d1c868839950b21fd0b10fa5f31fff83964.tar.gz
snapshot of project "lynx", label v2-8-5dev_15
Diffstat (limited to 'WWW/Library/Implementation/HTAnchor.h')
-rw-r--r--WWW/Library/Implementation/HTAnchor.h33
1 files changed, 13 insertions, 20 deletions
diff --git a/WWW/Library/Implementation/HTAnchor.h b/WWW/Library/Implementation/HTAnchor.h
index fea5b928..50a180aa 100644
--- a/WWW/Library/Implementation/HTAnchor.h
+++ b/WWW/Library/Implementation/HTAnchor.h
@@ -48,7 +48,7 @@ struct _HTParentAnchor {
 
   HyperDoc *	document;	/* The document within which this is an anchor */
   char *	address;	/* Absolute address of this node */
-  char *	post_data;	/* Posting data */
+  bstring *	post_data;	/* Posting data */
   char *	post_content_type;  /* Type of post data */
   char *	bookmark;	/* Bookmark filename */
   HTFormat	format;		/* Pointer to node format descriptor */
@@ -79,6 +79,7 @@ struct _HTParentAnchor {
   char *	SugFname;	/* Suggested filename */
   char *	cache_control;	/* Cache-Control */
   BOOL		no_cache;	/* Cache-Control, Pragma or META "no-cache"? */
+  BOOL		inBASE;		/* duplicated from HTStructured (HTML.c/h) */
   char *	content_type;		/* Content-Type */
   char *	content_language;	/* Content-Language */
   char *	content_encoding;	/* Compression algorithm */
@@ -119,12 +120,12 @@ typedef struct {
 **  needed information including posting data and post content type.
 */
 typedef struct _DocAddress {
-    char * address;
-    char * post_data;
-    char * post_content_type;
-    char * bookmark;
-    BOOL   isHEAD;
-    BOOL   safe;
+    char *	address;
+    bstring *	post_data;
+    char *	post_content_type;
+    char *	bookmark;
+    BOOL	isHEAD;
+    BOOL	safe;
 } DocAddress;
 
 /* "internal" means "within the same document, with certainty". */
@@ -177,10 +178,10 @@ extern HTAnchor * HTAnchor_findSimpleAddress PARAMS((
 **	--------------------------------------------
 **
 **	The anchor is only deleted if the corresponding document is not loaded.
-**	All outgoing links from parent and children are deleted, and this anchor
-**	is removed from the sources list of all its targets.
+**	All outgoing links from children are deleted, and children are
+**	removed from the sources lists of their targets.
 **	We also try to delete the targets whose documents are not loaded.
-**	If this anchor's source list is empty, we delete it and its children.
+**	If this anchor's sources list is empty, we delete it and its children.
 */
 extern BOOL HTAnchor_delete PARAMS((
 	HTParentAnchor *	me));
@@ -218,11 +219,11 @@ extern HTFormat HTAnchor_format PARAMS((
 
 extern void HTAnchor_setIndex PARAMS((
 	HTParentAnchor *	me,
-	char *		address));
+	CONST char *		address));
 
 extern void HTAnchor_setPrompt PARAMS((
 	HTParentAnchor *	me,
-	char *			prompt));
+	CONST char *		prompt));
 
 extern BOOL HTAnchor_isIndex PARAMS((
 	HTParentAnchor *	me));
@@ -355,14 +356,6 @@ extern BOOL HTAnchor_setSubject PARAMS((
 	HTParentAnchor *	me,
 	CONST char *		subject));
 
-/*	Link this Anchor to another given one
-**	-------------------------------------
-*/
-extern BOOL HTAnchor_link PARAMS((
-	HTChildAnchor *		source,
-	HTAnchor *		destination,
-	HTLinkType *		type));
-
 /*	Manipulation of links
 **	---------------------
 */
264' href='#n264'>264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364