Logo Search packages:      
Sourcecode: tclxml version File versions  Download package

tcllibxml2Decls.h

/*
 * tcllibxml2Decls.h --
 *
 *      Declarations of functions in the platform independent public TCLXML/libxml2 API.
 *
 */

#ifndef _TCLXMLLIBXML2DECLS
#define _TCLXMLLIBXML2DECLS

/*
 * WARNING: The contents of this file is automatically generated by the
 * genStubs.tcl script. Any modifications to the function declarations
 * below should be made in the tcllibxml2.decls script.
 */

#include "docObj.h"

/* !BEGIN!: Do not edit below this line. */

/*
 * Exported function declarations:
 */

/* 0 */
EXTERN int        Tclxml_libxml2_Init _ANSI_ARGS_((Tcl_Interp * interp));
/* Slot 1 is reserved */
/* 2 */
EXTERN int        TclXML_libxml2_InitDocObj _ANSI_ARGS_((
                        Tcl_Interp * interp));
/* 3 */
EXTERN Tcl_Obj *  TclXML_libxml2_NewDocObj _ANSI_ARGS_((
                        Tcl_Interp * interp));
/* 4 */
EXTERN Tcl_Obj *  TclXML_libxml2_CreateObjFromDoc _ANSI_ARGS_((
                        xmlDocPtr docPtr));
/* 5 */
EXTERN int        TclXML_libxml2_GetDocFromObj _ANSI_ARGS_((
                        Tcl_Interp * interp, Tcl_Obj * objPtr, 
                        xmlDocPtr * docPtr));
/* 6 */
EXTERN int        TclXML_libxml2_GetTclDocFromObj _ANSI_ARGS_((
                        Tcl_Interp * interp, Tcl_Obj * objPtr, 
                        TclXML_libxml2_Document ** tDocPtrPtr));
/* 7 */
EXTERN int        TclXML_libxml2_GetTclDocFromNode _ANSI_ARGS_((
                        Tcl_Interp * interp, xmlNodePtr nodePtr, 
                        TclXML_libxml2_Document ** tDocPtrPtr));
/* 8 */
EXTERN void       TclXML_libxml2_DestroyDocument _ANSI_ARGS_((
                        TclXML_libxml2_Document * tDocPtr));
/* 9 */
EXTERN void       TclXML_libxml2_DocKeep _ANSI_ARGS_((Tcl_Obj * objPtr, 
                        TclXML_libxml2_DocumentHandling keep));

typedef struct Tcllibxml2Stubs {
    int magic;
    struct Tcllibxml2StubHooks *hooks;

    int (*tclxml_libxml2_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */
    void *reserved1;
    int (*tclXML_libxml2_InitDocObj) _ANSI_ARGS_((Tcl_Interp * interp)); /* 2 */
    Tcl_Obj * (*tclXML_libxml2_NewDocObj) _ANSI_ARGS_((Tcl_Interp * interp)); /* 3 */
    Tcl_Obj * (*tclXML_libxml2_CreateObjFromDoc) _ANSI_ARGS_((xmlDocPtr docPtr)); /* 4 */
    int (*tclXML_libxml2_GetDocFromObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, xmlDocPtr * docPtr)); /* 5 */
    int (*tclXML_libxml2_GetTclDocFromObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, TclXML_libxml2_Document ** tDocPtrPtr)); /* 6 */
    int (*tclXML_libxml2_GetTclDocFromNode) _ANSI_ARGS_((Tcl_Interp * interp, xmlNodePtr nodePtr, TclXML_libxml2_Document ** tDocPtrPtr)); /* 7 */
    void (*tclXML_libxml2_DestroyDocument) _ANSI_ARGS_((TclXML_libxml2_Document * tDocPtr)); /* 8 */
    void (*tclXML_libxml2_DocKeep) _ANSI_ARGS_((Tcl_Obj * objPtr, TclXML_libxml2_DocumentHandling keep)); /* 9 */
} Tcllibxml2Stubs;

#ifdef __cplusplus
extern "C" {
#endif
extern Tcllibxml2Stubs *tcllibxml2StubsPtr;
#ifdef __cplusplus
}
#endif

#if defined(USE_TCLLIBXML2_STUBS) && !defined(USE_TCLLIBXML2_STUB_PROCS)

/*
 * Inline function declarations:
 */

#ifndef Tclxml_libxml2_Init
#define Tclxml_libxml2_Init \
      (tcllibxml2StubsPtr->tclxml_libxml2_Init) /* 0 */
#endif
/* Slot 1 is reserved */
#ifndef TclXML_libxml2_InitDocObj
#define TclXML_libxml2_InitDocObj \
      (tcllibxml2StubsPtr->tclXML_libxml2_InitDocObj) /* 2 */
#endif
#ifndef TclXML_libxml2_NewDocObj
#define TclXML_libxml2_NewDocObj \
      (tcllibxml2StubsPtr->tclXML_libxml2_NewDocObj) /* 3 */
#endif
#ifndef TclXML_libxml2_CreateObjFromDoc
#define TclXML_libxml2_CreateObjFromDoc \
      (tcllibxml2StubsPtr->tclXML_libxml2_CreateObjFromDoc) /* 4 */
#endif
#ifndef TclXML_libxml2_GetDocFromObj
#define TclXML_libxml2_GetDocFromObj \
      (tcllibxml2StubsPtr->tclXML_libxml2_GetDocFromObj) /* 5 */
#endif
#ifndef TclXML_libxml2_GetTclDocFromObj
#define TclXML_libxml2_GetTclDocFromObj \
      (tcllibxml2StubsPtr->tclXML_libxml2_GetTclDocFromObj) /* 6 */
#endif
#ifndef TclXML_libxml2_GetTclDocFromNode
#define TclXML_libxml2_GetTclDocFromNode \
      (tcllibxml2StubsPtr->tclXML_libxml2_GetTclDocFromNode) /* 7 */
#endif
#ifndef TclXML_libxml2_DestroyDocument
#define TclXML_libxml2_DestroyDocument \
      (tcllibxml2StubsPtr->tclXML_libxml2_DestroyDocument) /* 8 */
#endif
#ifndef TclXML_libxml2_DocKeep
#define TclXML_libxml2_DocKeep \
      (tcllibxml2StubsPtr->tclXML_libxml2_DocKeep) /* 9 */
#endif

#endif /* defined(USE_TCLLIBXML2_STUBS) && !defined(USE_TCLLIBXML2_STUB_PROCS) */

/* !END!: Do not edit above this line. */

#endif /* _TCLXMLLLIBXML2DECLS */


Generated by  Doxygen 1.6.0   Back to index