Current Dir: /usr/include/python3.9/

[DIR]  cpython [ delete | rename ]
[DIR]  internal [ delete | rename ]
[FILE] abstract.h [ edit | delete | rename ]
[FILE] asdl.h [ edit | delete | rename ]
[FILE] ast.h [ edit | delete | rename ]
[FILE] bitset.h [ edit | delete | rename ]
[FILE] bltinmodule.h [ edit | delete | rename ]
[FILE] boolobject.h [ edit | delete | rename ]
[FILE] bytearrayobject.h [ edit | delete | rename ]
[FILE] bytesobject.h [ edit | delete | rename ]
[FILE] cellobject.h [ edit | delete | rename ]
[FILE] ceval.h [ edit | delete | rename ]
[FILE] classobject.h [ edit | delete | rename ]
[FILE] code.h [ edit | delete | rename ]
[FILE] codecs.h [ edit | delete | rename ]
[FILE] compile.h [ edit | delete | rename ]
[FILE] complexobject.h [ edit | delete | rename ]
[FILE] context.h [ edit | delete | rename ]
[FILE] datetime.h [ edit | delete | rename ]
[FILE] descrobject.h [ edit | delete | rename ]
[FILE] dictobject.h [ edit | delete | rename ]
[FILE] dynamic_annotations.h [ edit | delete | rename ]
[FILE] enumobject.h [ edit | delete | rename ]
[FILE] errcode.h [ edit | delete | rename ]
[FILE] eval.h [ edit | delete | rename ]
[FILE] exports.h [ edit | delete | rename ]
[FILE] fileobject.h [ edit | delete | rename ]
[FILE] fileutils.h [ edit | delete | rename ]
[FILE] floatobject.h [ edit | delete | rename ]
[FILE] frameobject.h [ edit | delete | rename ]
[FILE] funcobject.h [ edit | delete | rename ]
[FILE] genericaliasobject.h [ edit | delete | rename ]
[FILE] genobject.h [ edit | delete | rename ]
[FILE] graminit.h [ edit | delete | rename ]
[FILE] grammar.h [ edit | delete | rename ]
[FILE] import.h [ edit | delete | rename ]
[FILE] interpreteridobject.h [ edit | delete | rename ]
[FILE] intrcheck.h [ edit | delete | rename ]
[FILE] iterobject.h [ edit | delete | rename ]
[FILE] listobject.h [ edit | delete | rename ]
[FILE] longintrepr.h [ edit | delete | rename ]
[FILE] longobject.h [ edit | delete | rename ]
[FILE] marshal.h [ edit | delete | rename ]
[FILE] memoryobject.h [ edit | delete | rename ]
[FILE] methodobject.h [ edit | delete | rename ]
[FILE] modsupport.h [ edit | delete | rename ]
[FILE] moduleobject.h [ edit | delete | rename ]
[FILE] namespaceobject.h [ edit | delete | rename ]
[FILE] node.h [ edit | delete | rename ]
[FILE] object.h [ edit | delete | rename ]
[FILE] objimpl.h [ edit | delete | rename ]
[FILE] odictobject.h [ edit | delete | rename ]
[FILE] opcode.h [ edit | delete | rename ]
[FILE] osdefs.h [ edit | delete | rename ]
[FILE] osmodule.h [ edit | delete | rename ]
[FILE] parsetok.h [ edit | delete | rename ]
[FILE] patchlevel.h [ edit | delete | rename ]
[FILE] picklebufobject.h [ edit | delete | rename ]
[FILE] pyarena.h [ edit | delete | rename ]
[FILE] pycapsule.h [ edit | delete | rename ]
[FILE] pyconfig-64.h [ edit | delete | rename ]
[FILE] pyconfig.h [ edit | delete | rename ]
[FILE] pyctype.h [ edit | delete | rename ]
[FILE] pydebug.h [ edit | delete | rename ]
[FILE] pydtrace.h [ edit | delete | rename ]
[FILE] pyerrors.h [ edit | delete | rename ]
[FILE] pyexpat.h [ edit | delete | rename ]
[FILE] pyfpe.h [ edit | delete | rename ]
[FILE] pyframe.h [ edit | delete | rename ]
[FILE] pyhash.h [ edit | delete | rename ]
[FILE] pylifecycle.h [ edit | delete | rename ]
[FILE] pymacconfig.h [ edit | delete | rename ]
[FILE] pymacro.h [ edit | delete | rename ]
[FILE] pymath.h [ edit | delete | rename ]
[FILE] pymem.h [ edit | delete | rename ]
[FILE] pyport.h [ edit | delete | rename ]
[FILE] pystate.h [ edit | delete | rename ]
[FILE] pystrcmp.h [ edit | delete | rename ]
[FILE] pystrhex.h [ edit | delete | rename ]
[FILE] pystrtod.h [ edit | delete | rename ]
[FILE] Python-ast.h [ edit | delete | rename ]
[FILE] Python.h [ edit | delete | rename ]
[FILE] pythonrun.h [ edit | delete | rename ]
[FILE] pythread.h [ edit | delete | rename ]
[FILE] pytime.h [ edit | delete | rename ]
[FILE] py_curses.h [ edit | delete | rename ]
[FILE] rangeobject.h [ edit | delete | rename ]
[FILE] setobject.h [ edit | delete | rename ]
[FILE] sliceobject.h [ edit | delete | rename ]
[FILE] structmember.h [ edit | delete | rename ]
[FILE] structseq.h [ edit | delete | rename ]
[FILE] symtable.h [ edit | delete | rename ]
[FILE] sysmodule.h [ edit | delete | rename ]
[FILE] token.h [ edit | delete | rename ]
[FILE] traceback.h [ edit | delete | rename ]
[FILE] tracemalloc.h [ edit | delete | rename ]
[FILE] tupleobject.h [ edit | delete | rename ]
[FILE] typeslots.h [ edit | delete | rename ]
[FILE] ucnhash.h [ edit | delete | rename ]
[FILE] unicodeobject.h [ edit | delete | rename ]
[FILE] warnings.h [ edit | delete | rename ]
[FILE] weakrefobject.h [ edit | delete | rename ]

Viewing: /usr/include/python3.9/pyexpat.h

/* Stuff to export relevant 'expat' entry points from pyexpat to other
 * parser modules, such as cElementTree. */

/* note: you must import expat.h before importing this module! */

#define PyExpat_CAPI_MAGIC  "pyexpat.expat_CAPI 1.1"
#define PyExpat_CAPSULE_NAME "pyexpat.expat_CAPI"

struct PyExpat_CAPI
{
    char* magic; /* set to PyExpat_CAPI_MAGIC */
    int size; /* set to sizeof(struct PyExpat_CAPI) */
    int MAJOR_VERSION;
    int MINOR_VERSION;
    int MICRO_VERSION;
    /* pointers to selected expat functions.  add new functions at
       the end, if needed */
    const XML_LChar * (*ErrorString)(enum XML_Error code);
    enum XML_Error (*GetErrorCode)(XML_Parser parser);
    XML_Size (*GetErrorColumnNumber)(XML_Parser parser);
    XML_Size (*GetErrorLineNumber)(XML_Parser parser);
    enum XML_Status (*Parse)(
        XML_Parser parser, const char *s, int len, int isFinal);
    XML_Parser (*ParserCreate_MM)(
        const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite,
        const XML_Char *namespaceSeparator);
    void (*ParserFree)(XML_Parser parser);
    void (*SetCharacterDataHandler)(
        XML_Parser parser, XML_CharacterDataHandler handler);
    void (*SetCommentHandler)(
        XML_Parser parser, XML_CommentHandler handler);
    void (*SetDefaultHandlerExpand)(
        XML_Parser parser, XML_DefaultHandler handler);
    void (*SetElementHandler)(
        XML_Parser parser, XML_StartElementHandler start,
        XML_EndElementHandler end);
    void (*SetNamespaceDeclHandler)(
        XML_Parser parser, XML_StartNamespaceDeclHandler start,
        XML_EndNamespaceDeclHandler end);
    void (*SetProcessingInstructionHandler)(
        XML_Parser parser, XML_ProcessingInstructionHandler handler);
    void (*SetUnknownEncodingHandler)(
        XML_Parser parser, XML_UnknownEncodingHandler handler,
        void *encodingHandlerData);
    void (*SetUserData)(XML_Parser parser, void *userData);
    void (*SetStartDoctypeDeclHandler)(XML_Parser parser,
                                       XML_StartDoctypeDeclHandler start);
    enum XML_Status (*SetEncoding)(XML_Parser parser, const XML_Char *encoding);
    int (*DefaultUnknownEncodingHandler)(
        void *encodingHandlerData, const XML_Char *name, XML_Encoding *info);
    /* might be NULL for expat < 2.1.0 */
    int (*SetHashSalt)(XML_Parser parser, unsigned long hash_salt);
    /* might be NULL for expat < 2.6.0 */
    XML_Bool (*SetReparseDeferralEnabled)(XML_Parser parser, XML_Bool enabled);
    /* always add new stuff to the end! */
};


Upload File: