File: xml_dfn.h

package info (click to toggle)
styx 1.7-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 13,324 kB
  • ctags: 5,329
  • sloc: ansic: 96,480; sh: 7,972; cpp: 1,572; makefile: 227; xml: 107; pascal: 15
file content (36 lines) | stat: -rw-r--r-- 1,234 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* ------------------------------------------------------------------------- */
/*                                                                           */
/* [xml_dfn.h]              XML Base Library                                 */
/*                        - global definitions -                             */
/*                                                                           */
/* Copyright (c) 2003 by D\olle, Manns.                                      */
/* ------------------------------------------------------------------------- */

#ifndef XML_DFN_INCL
#define XML_DFN_INCL


#include "standard.h"
#include "gstream.h"


/*I-------------------------- Types and macros ------------------------------ */


AbstractType(UrlHdl_T); /* Abstract URL handle type */


/*! <p><b>External XML I/O handler</b><br>
*/
typedef void     (*XMLHDL_io_init)();
typedef void     (*XMLHDL_io_cleanup)();
typedef UrlHdl_T (*XMLHDL_io_create_handle)();
typedef void     (*XMLHDL_io_drop_handle)(UrlHdl_T hdl);
typedef c_bool   (*XMLHDL_io_download)
                 (
                   UrlHdl_T hdl, c_string url, c_string auth, 
                   GStream_T stream, void (*prMsg)(c_string msg)
                 );


#endif