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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? htanchor.h

?? www工具包. 這是W3C官方支持的www支撐庫. 其中提供通用目的的客戶端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*    					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)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
五月综合激情婷婷六月色窝| 国产电影一区在线| 在线电影国产精品| 国产伦精一区二区三区| 国产欧美日韩中文久久| 成人av网址在线观看| 亚洲亚洲人成综合网络| 日韩免费看网站| 91麻豆自制传媒国产之光| 首页国产丝袜综合| 国产三级三级三级精品8ⅰ区| 一本一道久久a久久精品| 国产精品亚洲专一区二区三区 | 久久综合九色综合97婷婷女人 | 免播放器亚洲一区| 亚洲精品欧美激情| 国产精品久久久久久久蜜臀| 在线播放日韩导航| 在线亚洲+欧美+日本专区| 国产麻豆成人传媒免费观看| 日本不卡一二三| 亚洲国产美国国产综合一区二区| 日本一区二区三区免费乱视频| 欧美xxxxx裸体时装秀| 制服丝袜激情欧洲亚洲| 色婷婷av一区二区三区之一色屋| 国产在线精品视频| 国产精品综合二区| 韩国精品主播一区二区在线观看 | 4438x成人网最大色成网站| 欧美在线观看禁18| 91精品国产综合久久精品| 欧美精品国产精品| 日韩一级片网址| 精品国偷自产国产一区| 欧美精品一区二区三区四区| 欧美精品一区二| 国产精品久久久久久一区二区三区 | 秋霞电影网一区二区| 久久精品国产一区二区三 | 亚洲高清免费观看高清完整版在线观看| 国产精品久久久久久亚洲伦| 一区二区三区中文免费| 一二三区精品视频| 久久国产尿小便嘘嘘| 成人av网址在线| 欧美性猛片xxxx免费看久爱| 欧美v日韩v国产v| 国产精品久久久久影视| 天涯成人国产亚洲精品一区av| 免费在线视频一区| 99国产一区二区三精品乱码| 欧美狂野另类xxxxoooo| 国产欧美精品日韩区二区麻豆天美| 亚洲精品第一国产综合野| 色欧美片视频在线观看在线视频| 丁香亚洲综合激情啪啪综合| 91精品国产综合久久精品图片| 中文成人av在线| 激情五月婷婷综合| 欧美日韩精品久久久| 国产精品精品国产色婷婷| 国产真实乱对白精彩久久| 欧美美女黄视频| 一区二区三区在线观看视频| 91丨九色丨黑人外教| 中文子幕无线码一区tr| 黄一区二区三区| 国产免费久久精品| 成人av网站大全| 亚洲欧美偷拍另类a∨色屁股| 成人动漫一区二区| 亚洲美女屁股眼交| 欧美日韩国产精品成人| 日本中文字幕一区| 中文字幕精品一区二区三区精品| 国产精品69毛片高清亚洲| 日本一区二区动态图| 成人av电影在线| 亚洲国产精品一区二区www | 99免费精品在线| 亚洲免费观看高清| 91精品久久久久久久91蜜桃| 激情丁香综合五月| 成人免费在线观看入口| 欧美三级欧美一级| 国产一区二区三区久久久| 亚洲人成网站在线| 日韩欧美国产1| 91麻豆精品一区二区三区| 日韩1区2区3区| 国产精品色噜噜| 91精品国产色综合久久久蜜香臀| 国产精品996| 奇米影视一区二区三区小说| 中文字幕一区二区三区在线观看| 国产精品69毛片高清亚洲| 日韩国产在线观看| 欧美国产一区在线| 亚洲色图欧洲色图| 亚洲高清在线精品| 日本不卡一二三| 色婷婷综合五月| 国产欧美一区二区精品忘忧草| 欧美性大战久久久| 国产成人在线视频网站| 国产精品色在线| 国产精品对白交换视频| 欧美日韩三级一区| 成人高清视频在线观看| 美女视频黄 久久| 亚洲欧美日韩精品久久久久| 精品粉嫩超白一线天av| 欧洲精品中文字幕| 欧美三级欧美一级| 51精品久久久久久久蜜臀| 在线91免费看| 欧美一区二区在线不卡| 2020国产精品| 久久先锋影音av鲁色资源网| 精品国产成人系列| 欧美精品一区视频| 91精品国产色综合久久久蜜香臀| 欧美剧情电影在线观看完整版免费励志电影| 成人一级黄色片| 色综合天天综合色综合av | 中文字幕免费不卡| 日韩一区在线播放| 亚洲欧美区自拍先锋| 国产精品美女久久久久久| jvid福利写真一区二区三区| 亚洲成人激情自拍| 午夜私人影院久久久久| 色猫猫国产区一区二在线视频| 久久你懂得1024| 国产又粗又猛又爽又黄91精品| 色8久久精品久久久久久蜜| 日韩一区二区三区视频| 亚洲人吸女人奶水| 国产精品一区二区黑丝| 精品久久久久久久久久久久久久久| 久久婷婷国产综合精品青草| 午夜视频在线观看一区| 日产国产高清一区二区三区| 欧美自拍偷拍午夜视频| 日韩免费性生活视频播放| 亚洲精品中文字幕在线观看| 国产91精品露脸国语对白| 88在线观看91蜜桃国自产| 亚洲视频狠狠干| 成人高清av在线| 一区二区三区精品久久久| 日本色综合中文字幕| 7777精品久久久大香线蕉 | 91丨九色丨黑人外教| 在线观看欧美日本| 欧美经典一区二区| 国产精品自拍av| 欧美成人女星排行榜| 国产亚洲一区字幕| 久久精品国产99国产精品| 欧美日韩精品一区二区天天拍小说| 欧美一级高清片在线观看| 日韩电影在线一区| 欧美日韩专区在线| 亚洲电影激情视频网站| 91精品蜜臀在线一区尤物| 免费不卡在线观看| 国产精品久久久久毛片软件| 在线中文字幕一区| 韩国av一区二区三区四区| 国产人成一区二区三区影院| 欧美在线观看视频一区二区 | 午夜免费欧美电影| 色域天天综合网| 亚洲高清久久久| 欧美日韩mp4| 极品销魂美女一区二区三区| www久久精品| 国产福利一区在线| 中文字幕日韩一区| 欧美视频完全免费看| 理论电影国产精品| 综合久久久久久久| 欧美高清激情brazzers| 成人小视频在线| 国产精品美女久久久久久久久久久 | 亚洲国产精品久久艾草纯爱 | 91免费看视频| 日韩av电影一区| 国产精品不卡一区二区三区| 99re成人精品视频| 久久精品国产**网站演员| 成人免费一区二区三区在线观看| 88在线观看91蜜桃国自产| 成人动漫视频在线| 国产成人精品影视| 亚洲一区二区高清| 一区二区在线免费观看| 国产免费观看久久|