Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/include/libxml2/libxml/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/libxml2/libxml/list.h
/*
 * Summary: lists interfaces
 * Description: this module implement the list support used in
 * various place in the library.
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Gary Pennington <Gary.Pennington@uk.sun.com>
 */

#ifndef __XML_LINK_INCLUDE__
#define __XML_LINK_INCLUDE__

#include <libxml/xmlversion.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _xmlLink xmlLink;
typedef xmlLink *xmlLinkPtr;

typedef struct _xmlList xmlList;
typedef xmlList *xmlListPtr;

/**
 * xmlListDeallocator:
 * @lk:  the data to deallocate
 *
 * Callback function used to free data from a list.
 */
typedef void (*xmlListDeallocator) (xmlLinkPtr lk);
/**
 * xmlListDataCompare:
 * @data0: the first data
 * @data1: the second data
 *
 * Callback function used to compare 2 data.
 *
 * Returns 0 is equality, -1 or 1 otherwise depending on the ordering.
 */
typedef int  (*xmlListDataCompare) (const void *data0, const void *data1);
/**
 * xmlListWalker:
 * @data: the data found in the list
 * @user: extra user provided data to the walker
 *
 * Callback function used when walking a list with xmlListWalk().
 *
 * Returns 0 to stop walking the list, 1 otherwise.
 */
typedef int (*xmlListWalker) (const void *data, const void *user);

/* Creation/Deletion */
XMLPUBFUN xmlListPtr XMLCALL
		xmlListCreate		(xmlListDeallocator deallocator,
	                                 xmlListDataCompare compare);
XMLPUBFUN void XMLCALL
		xmlListDelete		(xmlListPtr l);

/* Basic Operators */
XMLPUBFUN void * XMLCALL
		xmlListSearch		(xmlListPtr l,
					 void *data);
XMLPUBFUN void * XMLCALL
		xmlListReverseSearch	(xmlListPtr l,
					 void *data);
XMLPUBFUN int XMLCALL
		xmlListInsert		(xmlListPtr l,
					 void *data) ;
XMLPUBFUN int XMLCALL
		xmlListAppend		(xmlListPtr l,
					 void *data) ;
XMLPUBFUN int XMLCALL
		xmlListRemoveFirst	(xmlListPtr l,
					 void *data);
XMLPUBFUN int XMLCALL
		xmlListRemoveLast	(xmlListPtr l,
					 void *data);
XMLPUBFUN int XMLCALL
		xmlListRemoveAll	(xmlListPtr l,
					 void *data);
XMLPUBFUN void XMLCALL
		xmlListClear		(xmlListPtr l);
XMLPUBFUN int XMLCALL
		xmlListEmpty		(xmlListPtr l);
XMLPUBFUN xmlLinkPtr XMLCALL
		xmlListFront		(xmlListPtr l);
XMLPUBFUN xmlLinkPtr XMLCALL
		xmlListEnd		(xmlListPtr l);
XMLPUBFUN int XMLCALL
		xmlListSize		(xmlListPtr l);

XMLPUBFUN void XMLCALL
		xmlListPopFront		(xmlListPtr l);
XMLPUBFUN void XMLCALL
		xmlListPopBack		(xmlListPtr l);
XMLPUBFUN int XMLCALL
		xmlListPushFront	(xmlListPtr l,
					 void *data);
XMLPUBFUN int XMLCALL
		xmlListPushBack		(xmlListPtr l,
					 void *data);

/* Advanced Operators */
XMLPUBFUN void XMLCALL
		xmlListReverse		(xmlListPtr l);
XMLPUBFUN void XMLCALL
		xmlListSort		(xmlListPtr l);
XMLPUBFUN void XMLCALL
		xmlListWalk		(xmlListPtr l,
					 xmlListWalker walker,
					 const void *user);
XMLPUBFUN void XMLCALL
		xmlListReverseWalk	(xmlListPtr l,
					 xmlListWalker walker,
					 const void *user);
XMLPUBFUN void XMLCALL
		xmlListMerge		(xmlListPtr l1,
					 xmlListPtr l2);
XMLPUBFUN xmlListPtr XMLCALL
		xmlListDup		(const xmlListPtr old);
XMLPUBFUN int XMLCALL
		xmlListCopy		(xmlListPtr cur,
					 const xmlListPtr old);
/* Link operators */
XMLPUBFUN void * XMLCALL
		xmlLinkGetData          (xmlLinkPtr lk);

/* xmlListUnique() */
/* xmlListSwap */

#ifdef __cplusplus
}
#endif

#endif /* __XML_LINK_INCLUDE__ */
Name
Size
Permissions
Options
DOCBparser.h
3.083 KB
-rw-r--r--
HTMLparser.h
9.189 KB
-rw-r--r--
HTMLtree.h
3.561 KB
-rw-r--r--
SAX.h
4.239 KB
-rw-r--r--
SAX2.h
4.833 KB
-rw-r--r--
c14n.h
3.036 KB
-rw-r--r--
catalog.h
4.79 KB
-rw-r--r--
chvalid.h
5.038 KB
-rw-r--r--
debugXML.h
5.031 KB
-rw-r--r--
dict.h
1.909 KB
-rw-r--r--
encoding.h
8.106 KB
-rw-r--r--
entities.h
4.782 KB
-rw-r--r--
globals.h
14.35 KB
-rw-r--r--
hash.h
6.34 KB
-rw-r--r--
list.h
3.287 KB
-rw-r--r--
nanoftp.h
3.67 KB
-rw-r--r--
nanohttp.h
1.958 KB
-rw-r--r--
parser.h
38.786 KB
-rw-r--r--
parserInternals.h
17.01 KB
-rw-r--r--
pattern.h
2.525 KB
-rw-r--r--
relaxng.h
5.855 KB
-rw-r--r--
schemasInternals.h
25.628 KB
-rw-r--r--
schematron.h
4.269 KB
-rw-r--r--
threads.h
1.912 KB
-rw-r--r--
tree.h
38.107 KB
-rw-r--r--
uri.h
2.602 KB
-rw-r--r--
valid.h
13.303 KB
-rw-r--r--
xinclude.h
2.897 KB
-rw-r--r--
xlink.h
4.922 KB
-rw-r--r--
xmlIO.h
10.362 KB
-rw-r--r--
xmlautomata.h
3.863 KB
-rw-r--r--
xmlerror.h
35.945 KB
-rw-r--r--
xmlexports.h
3.828 KB
-rw-r--r--
xmlmemory.h
5.806 KB
-rw-r--r--
xmlmodule.h
1.143 KB
-rw-r--r--
xmlreader.h
12.312 KB
-rw-r--r--
xmlregexp.h
5.33 KB
-rw-r--r--
xmlsave.h
2.282 KB
-rw-r--r--
xmlschemas.h
6.903 KB
-rw-r--r--
xmlschemastypes.h
4.728 KB
-rw-r--r--
xmlstring.h
5.382 KB
-rw-r--r--
xmlunicode.h
9.759 KB
-rw-r--r--
xmlversion.h
7.953 KB
-rw-r--r--
xmlwriter.h
20.767 KB
-rw-r--r--
xpath.h
16.014 KB
-rw-r--r--
xpathInternals.h
18.899 KB
-rw-r--r--
xpointer.h
3.28 KB
-rw-r--r--