mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
Released 1.8.6, Daniel.
This commit is contained in:
@@ -14,13 +14,28 @@ extern "C" {
|
||||
|
||||
/**
|
||||
* ftpListCallback:
|
||||
* @userData: user provided data for the callback
|
||||
* @filename: the file name (including "->" when links are shown)
|
||||
* @attrib: the attribute string
|
||||
* @owner: the owner string
|
||||
* @group: the group string
|
||||
* @size: the file size
|
||||
* @links: the link count
|
||||
* @year: the year
|
||||
* @month: the month
|
||||
* @day: the day
|
||||
* @hour: the hour
|
||||
* @minute: the minute
|
||||
*
|
||||
* A callback for the xmlNanoFTPList command
|
||||
* Note that only one of year and day:minute are specified
|
||||
*/
|
||||
typedef void (*ftpListCallback) (void *userData,
|
||||
const char *filename, const char* attrib,
|
||||
const char *owner, const char *group,
|
||||
unsigned long size, int links, int year,
|
||||
const char *month, int day, int minute);
|
||||
const char *month, int day, int hour,
|
||||
int minute);
|
||||
/**
|
||||
* ftpDataCallback:
|
||||
* A callback for the xmlNanoFTPGet command
|
||||
@@ -31,6 +46,7 @@ typedef void (*ftpDataCallback) (void *userData, const char *data, int len);
|
||||
* Init
|
||||
*/
|
||||
void xmlNanoFTPInit (void);
|
||||
void xmlNanoFTPCleanup (void);
|
||||
|
||||
/*
|
||||
* Creating/freeing contexts
|
||||
@@ -46,7 +62,14 @@ void * xmlNanoFTPOpen (const char *URL);
|
||||
int xmlNanoFTPConnect (void *ctx);
|
||||
int xmlNanoFTPClose (void *ctx);
|
||||
int xmlNanoFTPQuit (void *ctx);
|
||||
|
||||
void xmlNanoFTPScanProxy (const char *URL);
|
||||
void xmlNanoFTPProxy (const char *host,
|
||||
int port,
|
||||
const char *user,
|
||||
const char *passwd,
|
||||
int type);
|
||||
int xmlNanoFTPUpdateURL (void *ctx,
|
||||
const char *URL);
|
||||
|
||||
/*
|
||||
* Rathern internal commands
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void xmlNanoHTTPInit (void);
|
||||
void xmlNanoHTTPCleanup (void);
|
||||
void xmlNanoHTTPScanProxy (const char *URL);
|
||||
int xmlNanoHTTPFetch (const char *URL,
|
||||
const char *filename,
|
||||
char **contentType);
|
||||
|
||||
@@ -317,6 +317,7 @@ extern xmlNsPtr baseDTD;
|
||||
extern int oldXMLWDcompatibility;/* maintain compatibility with old WD */
|
||||
extern int xmlIndentTreeOutput; /* try to indent the tree dumps */
|
||||
extern xmlBufferAllocationScheme xmlBufferAllocScheme; /* alloc scheme to use */
|
||||
extern int xmlSaveNoEmptyTags; /* save empty tags as <empty></empty> */
|
||||
|
||||
/*
|
||||
* Handling Buffers.
|
||||
|
||||
Reference in New Issue
Block a user