亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? htanchor.h

?? firtext搜索引擎源碼
?? H
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/*    					W3C Sample Code Library libwww Anchor Class!  The Anchor Class!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*An anchor represents a region of a hypertext document which is linked toanother anchor in the same or a different document. Another name for anchorswould be URLs as an anchor represents all we know about a URL - includingwhere it points to and who points to it. Because the anchor objectsrepresent the part of the Web, the application has been in touch, it is oftenuseful to maintain the anchors throughout the lifetime of the application.It would actually be most useful if we had persistent anchors so that anapplication could build up a higher knowledge about the Web topology..When to Escape and Unescape Addresses.The URI escape policy in libwww is that all URIs created asanchors must already have been escaped. The reason for this is that ifURIs are not escaped then the URI parser is not guaranteed to work asexpected. Imagine, for example, that you have a ":" in ahost name, then you could get something like this:http://my:host:8000/ instead of http://my%3Ahost:8000/.Libwww provides support for escaping and unescapingURIs using this set of APIs.This module is implemented by HTAnchor.c, and itis a part of the  W3C Sample CodeLibrary.*/#ifndef HTANCHOR_H#define HTANCHOR_H/*.  Types defined and used by the Anchor Object.This is a set of videly used type definitions used through out the Library:*/#include "WWWUtil.h"typedef HTAtom * HTFormat;typedef HTAtom * HTLevel;		       /* Used to specify HTML level */typedef HTAtom * HTEncoding;				    /* C-E and C-T-E */typedef HTAtom * HTCharset;typedef HTAtom * HTLanguage;typedef struct _HTAnchor	HTAnchor;typedef struct _HTParentAnchor	HTParentAnchor;typedef struct _HTChildAnchor	HTChildAnchor;#include "HTLink.h"#include "HTMethod.h"#include "HTResponse.h"/*.  The Anchor Class.We have three variants of the Anchor object - I guess some would call themsuperclass and subclasses ;-) (  Anchor Base Class)This is the super class of anchors. We often use this as an argument to thefunctions that both accept parent anchors and child anchors. We separatethe first link from the others to avoid too many small mallocs involved bya list creation. Most anchors only point to one place. (  Anchor for a Parent Object)These anchors points to the whole contents of any resource accesible by aURI. The parent anchor now contains all known metainformation about thatobject and in some cases the parent anchor also contains the document itself.Often we get the metainformation about a document via the entity headersin the HTTP specification.(  Anchor for a Child Object)A child anchor is a anchor object that points to a subpart of a hypertextdocument. In HTML this is represented by the NAME tag of theAnchor element.After we have defined the data structures we must define the methods thatcan be used on them. All anchors are kept in an internal hash table so thatthey are easier to find again.(  Find/Create a Parent Anchor)This one is for a reference (link) which is found in a document, and mightnot be already loaded. The parent anchor returned can either be created onthe spot or is already in the hash table.*/extern HTAnchor * HTAnchor_findAddress		(const char * address);/*(  Find/Create a Child Anchor)This one is for a new child anchor being edited into an existing document.The parent anchor must already exist but the child returned can either becreated on the spot or is already in the hash table. The tag isthe part that's after the '#' sign in a URI.*/extern HTChildAnchor * HTAnchor_findChild	(HTParentAnchor *parent,						 const char *	tag);/*(  Find/Create a Child Anchor and Link to Another Parent)Find a child anchor anchor with a given parent and possibly a tag,and (if passed) link this child to the URI given in the href. Aswe really want typed links to the caller should also indicate what the typeof the link is (see HTTP spec for more information). The link isrelative to the address of the parent anchor.*/extern HTChildAnchor * HTAnchor_findChildAndLink (		HTParentAnchor * parent,		/* May not be 0 */		const char * tag,			/* May be "" or 0 */		const char * href,			/* May be "" or 0 */		HTLinkType ltype);			/* May be 0 *//*(  Delete an Anchor)All outgoing links from parent and children are deleted, and this anchoris removed from the sources list of all its targets. We also delete the targets.If this anchor's source list is empty, we delete it and its children.*/extern BOOL HTAnchor_delete	(HTParentAnchor *me);/*(  Clear all Anchors)Deletes all the metadata associated with anchors but doesn't deletethe anchor link structure itself. This is much safer than deleting thecomplete anchor structure as this represents the complete Web theapplication has been in touch with. It also returns a list of all theobjects (hyperdoc) hanging of the parent anchors found while doingit. These are not deleted by libwww.*/extern BOOL HTAnchor_clearAll (HTList * documents);/*(  Delete all Anchors)Deletes all anchors and return a list of all the objects (hyperdoc)hanging of the parent anchors found while doing it. The application may keepits own list of HyperDocs, but this function returns it anyway.It is always for the application to delete anyHyperDocs. If NULL then no hyperdocs are returned. Return YESif OK, else NO.Note: This function is different from cleaning up the history list!*/extern BOOL HTAnchor_deleteAll	(HTList * objects);/*(  Flatten all anchors into Array)Flattens the anchor web structure into an array.  This is useful forcalculating statistics, sorting the parent anchors etc.The caller can indicate the size of the array (total number of anchorsif known - otherwise 0).Return an array that must be freed by the caller or NULL if noanchors.*/extern HTArray * HTAnchor_getArray (int growby);/*.  Links and Anchors.Anchor objects are bound together by Link objectsthat carry information about what type of link and whetther we have followedthe link etc. Any anchor object can have zero, one, or many links but thenormal case is one. Therefore we treat this is a special way.(  Handling the Main Link)Any outgoing link can at any time be the main destination.*/extern BOOL HTAnchor_setMainLink	(HTAnchor * anchor, HTLink * link);extern HTLink * HTAnchor_mainLink	(HTAnchor * anchor);extern HTAnchor * HTAnchor_followMainLink (HTAnchor * anchor);/*(  Handling the Sub Links)*/extern BOOL HTAnchor_setSubLinks	(HTAnchor * anchor, HTList * list);extern HTList * HTAnchor_subLinks	(HTAnchor * anchor);/*(  Search for a Link Type)Links can have relations (indicated by the "rel" or "rev" HTML linkattributes).  This function can search an anchor looking for aspecific type, for example "stylesheet".*/extern HTLink * HTAnchor_findLinkType (HTAnchor * me, HTLinkType type);/*.  Relations Between Children and Parents.As always, children and parents have a compliated relationship and the libwwwAnchor class is no exception.(  Who is Parent?)For parent anchors this returns the anchor itself*/extern HTParentAnchor * HTAnchor_parent	(HTAnchor *me);/*(  Does it have any Anchors within it?)Does this parent anchor have any children*/extern BOOL HTAnchor_hasChildren	(HTParentAnchor *me);/*(  Is this anchor a Child?)*/extern BOOL HTAnchor_isChild (HTAnchor * me);/*(  Get the Tag/Fragment/View of this anchor)If this is a child anchor then it has a tag (often also called a "fragment"), whichis essentially a specific view of a document. This is why I like to call ita view instead of a fragment. The string returned (if non-NULL) must be freed by thecaller.*/extern char * HTAnchor_view (HTAnchor * me);/*.  Anchor Addresses.There are two addresses of an anchor. The URI that was passed when the anchorwas crated and the physical address that's used when the URI is going tobe requested. The two addresses may be different if the request is goingthrough a proxy or a gateway or it may have been mapped through a rule file.(  Logical Address)Returns the full URI of the anchor, child or parent as a malloc'd stringto be freed by the caller as when the anchor was created.*/extern char * HTAnchor_address		(HTAnchor * me);/*(  Expanded Logical Address)When expanding URLs within a hypertext document, the base address is takenas the following value if present (in that order):	 	   o 	     Content-Base header  o 	     Content-Location header  o 	     Logical address	 	 */extern char * HTAnchor_expandedAddress  (HTAnchor * me);/*(  Physical address)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色噜噜偷拍精品综合在线| 欧美性生活一区| 美腿丝袜亚洲三区| 亚洲第一久久影院| 国产成人免费av在线| 91精品婷婷国产综合久久性色 | 日本伊人色综合网| eeuss鲁一区二区三区| 精品久久久久一区| 丝袜脚交一区二区| 欧美性xxxxx极品少妇| 1000部国产精品成人观看| 国产一区二区视频在线播放| 欧美一个色资源| 亚洲大片一区二区三区| 91久久精品一区二区二区| 中文字幕欧美三区| 国产精选一区二区三区 | 99久久精品免费看| 欧美激情一区二区三区在线| 久久69国产一区二区蜜臀| 欧美精品777| 午夜电影网亚洲视频| 欧美一a一片一级一片| 亚洲综合激情小说| 欧美在线观看你懂的| 亚洲日本在线a| 91网站黄www| 有坂深雪av一区二区精品| gogo大胆日本视频一区| 亚洲三级在线免费观看| 91色乱码一区二区三区| 亚洲裸体在线观看| 一本一道久久a久久精品| 一区二区三区在线免费播放 | 欧美三级中文字幕| 午夜激情久久久| 日韩欧美激情在线| 国产麻豆成人传媒免费观看| 久久久久久久国产精品影院| 国产成人a级片| 国产精品拍天天在线| 99久久99久久免费精品蜜臀| 亚洲免费观看高清完整版在线观看 | 亚洲精品自拍动漫在线| 91成人免费网站| 日本伊人色综合网| 久久伊人蜜桃av一区二区| 国产成人在线视频网站| 亚洲视频狠狠干| 欧美日韩在线播放三区四区| 男女男精品视频| 久久久久久久久久久99999| 97久久精品人人澡人人爽| 亚洲综合色噜噜狠狠| 欧美一区二区私人影院日本| 国产精品影视在线观看| 一区二区三区日韩欧美| 日韩欧美一卡二卡| 成a人片亚洲日本久久| 午夜精品影院在线观看| 久久综合九色综合97_久久久| hitomi一区二区三区精品| 日韩精品乱码av一区二区| 久久久精品欧美丰满| 在线观看区一区二| 国产一本一道久久香蕉| 亚洲另类中文字| 精品欧美一区二区三区精品久久 | 韩国欧美国产一区| 亚洲欧美国产高清| 精品剧情在线观看| 在线观看成人小视频| 国产九九视频一区二区三区| 亚洲一二三四在线观看| 国产网红主播福利一区二区| 欧美日韩1234| av动漫一区二区| 精品一区二区在线看| 亚洲一区二区美女| 国产精品免费视频一区| 欧美大胆一级视频| 欧美亚洲国产bt| 成人激情免费视频| 精品一区二区三区蜜桃| 婷婷激情综合网| 亚洲欧美色综合| 国产女人18水真多18精品一级做| 欧美一区二区三区日韩| 色8久久人人97超碰香蕉987| 国产成人亚洲综合a∨婷婷| 日本在线不卡一区| 午夜日韩在线电影| 亚洲在线观看免费| 亚洲视频精选在线| 中文无字幕一区二区三区| 精品国产精品网麻豆系列 | 美腿丝袜在线亚洲一区| 亚洲综合激情网| 亚洲免费观看高清完整版在线观看| 久久久噜噜噜久久人人看 | 一区二区激情视频| 中文字幕在线观看一区| 国产日韩欧美精品一区| 国产婷婷一区二区| 久久视频一区二区| 久久亚洲一区二区三区四区| 精品黑人一区二区三区久久| 日韩欧美久久一区| 亚洲精品一区二区三区影院| 日韩免费福利电影在线观看| 4438x亚洲最大成人网| 91精品免费在线| 日韩精品在线一区二区| 日韩免费观看2025年上映的电影| 日韩一区二区在线免费观看| 日韩一区二区视频| 精品国产伦一区二区三区观看方式 | 欧美日韩免费视频| 欧美视频你懂的| 欧美精品日韩一本| 日韩一区二区三区在线视频| 日韩一区二区三区高清免费看看| 日韩视频免费观看高清完整版 | 一区二区三区日韩欧美精品| 亚洲一区二区三区四区五区黄 | 粉嫩嫩av羞羞动漫久久久| 成人av免费在线播放| 91视频在线看| 欧美日韩一区不卡| 日韩美一区二区三区| 国产欧美一区二区精品性色| 中文字幕中文字幕在线一区| 一区二区三区av电影| 天天色天天操综合| 国内精品自线一区二区三区视频| 国产成人精品一区二区三区四区| 成人精品一区二区三区四区| 在线日韩av片| 精品剧情v国产在线观看在线| 国产精品久久三区| 日日夜夜免费精品| 国产剧情一区二区| 欧美午夜视频网站| 久久综合久久综合久久| 亚洲美女一区二区三区| 毛片av中文字幕一区二区| 懂色av一区二区三区免费看| 91黄色免费看| 久久综合给合久久狠狠狠97色69| 亚洲美女视频在线观看| 久久99精品视频| 91成人国产精品| 久久久精品tv| 日韩综合一区二区| 成人aa视频在线观看| 日韩亚洲欧美成人一区| 中文字幕永久在线不卡| 久久99精品久久久久久国产越南 | 欧美成人女星排行榜| 亚洲免费在线观看| 国产乱理伦片在线观看夜一区| 在线亚洲一区观看| 国产网站一区二区| 久久国产精品一区二区| 91丨porny丨中文| 久久久高清一区二区三区| 视频在线观看国产精品| av在线不卡电影| 国产三级久久久| 麻豆91在线观看| 欧美人体做爰大胆视频| 亚洲天堂久久久久久久| 国产成人免费视频精品含羞草妖精 | 国产精品久久久久久久久久久免费看| 午夜精品久久久久久久99水蜜桃| a美女胸又www黄视频久久| 久久久久久毛片| 久久精品免费观看| 欧美一级高清片| 肉色丝袜一区二区| 欧美无砖砖区免费| 亚洲一区在线视频观看| 成年人网站91| 国产精品久久久久久久久免费相片 | 蜜臀av一区二区在线观看 | 91老师片黄在线观看| 欧美激情一区二区三区在线| 激情五月播播久久久精品| 91精品黄色片免费大全| 五月婷婷激情综合网| 欧美精品三级日韩久久| 天天色综合天天| 欧美一区在线视频| 日本伊人午夜精品| 日韩欧美激情在线| 紧缚奴在线一区二区三区| 欧美精品一区二区三| 国产91综合一区在线观看| 国产区在线观看成人精品|