view R/rdyncall/inst/dynports/expat.R @ 54:918dab7a6606

- added callback support (comes with some bigger refactoring) - allow CPython's Py{CObject,Capsule} to be used as 'p'ointers
author Tassilo Philipp
date Tue, 02 Feb 2021 20:42:02 +0100
parents 0cfcc391201f
children
line wrap: on
line source

dynbind( c("expat","expat.so.1"), "
XML_DefaultCurrent(*<XML_ParserStruct>)v;
XML_ErrorString(i)*c;
XML_ExpatVersion()*c;
XML_ExpatVersionInfo();
XML_ExternalEntityParserCreate(*<XML_ParserStruct>*c*c)*<XML_ParserStruct>;
XML_FreeContentModel(*<XML_ParserStruct>*<XML_cp>)v;
XML_GetBase(*<XML_ParserStruct>)*c;
XML_GetBuffer(*<XML_ParserStruct>i)*v;
XML_GetCurrentByteCount(*<XML_ParserStruct>)i;
XML_GetCurrentByteIndex(*<XML_ParserStruct>)j;
XML_GetCurrentColumnNumber(*<XML_ParserStruct>)J;
XML_GetCurrentLineNumber(*<XML_ParserStruct>)J;
XML_GetErrorCode(*<XML_ParserStruct>)i;
XML_GetFeatureList()*<XML_Feature>;
XML_GetIdAttributeIndex(*<XML_ParserStruct>)i;
XML_GetInputContext(*<XML_ParserStruct>*i*i)*c;
XML_GetParsingStatus(*<XML_ParserStruct>*<XML_ParsingStatus>)v;
XML_GetSpecifiedAttributeCount(*<XML_ParserStruct>)i;
XML_MemFree(*<XML_ParserStruct>*v)v;
XML_MemMalloc(*<XML_ParserStruct>J)*v;
XML_MemRealloc(*<XML_ParserStruct>*vJ)*v;
XML_Parse(*<XML_ParserStruct>*cii)i;
XML_ParseBuffer(*<XML_ParserStruct>ii)i;
XML_ParserCreate(*c)*<XML_ParserStruct>;
XML_ParserCreateNS(*cc)*<XML_ParserStruct>;
XML_ParserCreate_MM(*c*<XML_Memory_Handling_Suite>*c)*<XML_ParserStruct>;
XML_ParserFree(*<XML_ParserStruct>)v;
XML_ParserReset(*<XML_ParserStruct>*c)C;
XML_ResumeParser(*<XML_ParserStruct>)i;
XML_SetAttlistDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetBase(*<XML_ParserStruct>*c)i;
XML_SetCdataSectionHandler(*<XML_ParserStruct>*p*p)v;
XML_SetCharacterDataHandler(*<XML_ParserStruct>*p)v;
XML_SetCommentHandler(*<XML_ParserStruct>*p)v;
XML_SetDefaultHandler(*<XML_ParserStruct>*p)v;
XML_SetDefaultHandlerExpand(*<XML_ParserStruct>*p)v;
XML_SetDoctypeDeclHandler(*<XML_ParserStruct>*p*p)v;
XML_SetElementDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetElementHandler(*<XML_ParserStruct>*p*p)v;
XML_SetEncoding(*<XML_ParserStruct>*c)i;
XML_SetEndCdataSectionHandler(*<XML_ParserStruct>*p)v;
XML_SetEndDoctypeDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetEndElementHandler(*<XML_ParserStruct>*p)v;
XML_SetEndNamespaceDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetEntityDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetExternalEntityRefHandler(*<XML_ParserStruct>*p)v;
XML_SetExternalEntityRefHandlerArg(*<XML_ParserStruct>*v)v;
XML_SetNamespaceDeclHandler(*<XML_ParserStruct>*p*p)v;
XML_SetNotStandaloneHandler(*<XML_ParserStruct>*p)v;
XML_SetNotationDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetParamEntityParsing(*<XML_ParserStruct>i)i;
XML_SetProcessingInstructionHandler(*<XML_ParserStruct>*p)v;
XML_SetReturnNSTriplet(*<XML_ParserStruct>i)v;
XML_SetSkippedEntityHandler(*<XML_ParserStruct>*p)v;
XML_SetStartCdataSectionHandler(*<XML_ParserStruct>*p)v;
XML_SetStartDoctypeDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetStartElementHandler(*<XML_ParserStruct>*p)v;
XML_SetStartNamespaceDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetUnknownEncodingHandler(*<XML_ParserStruct>*p*v)v;
XML_SetUnparsedEntityDeclHandler(*<XML_ParserStruct>*p)v;
XML_SetUserData(*<XML_ParserStruct>*v)v;
XML_SetXmlDeclHandler(*<XML_ParserStruct>*p)v;
XML_StopParser(*<XML_ParserStruct>C)i;
XML_UseForeignDTD(*<XML_ParserStruct>C)i;
XML_UseParserAsHandlerArg(*<XML_ParserStruct>)v;
")
XML_FEATURE_END=0;
XML_FEATURE_UNICODE=1;
XML_FEATURE_UNICODE_WCHAR_T=2;
XML_FEATURE_DTD=3;
XML_FEATURE_CONTEXT_BYTES=4;
XML_FEATURE_MIN_SIZE=5;
XML_FEATURE_SIZEOF_XML_CHAR=6;
XML_FEATURE_SIZEOF_XML_LCHAR=7;
XML_FEATURE_NS=8;
XML_PARAM_ENTITY_PARSING_NEVER=0;
XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE=1;
XML_PARAM_ENTITY_PARSING_ALWAYS=2;
XML_INITIALIZED=0;
XML_PARSING=1;
XML_FINISHED=2;
XML_SUSPENDED=3;
XML_CQUANT_NONE=0;
XML_CQUANT_OPT=1;
XML_CQUANT_REP=2;
XML_CQUANT_PLUS=3;
XML_CTYPE_EMPTY=1;
XML_CTYPE_ANY=2;
XML_CTYPE_MIXED=3;
XML_CTYPE_NAME=4;
XML_CTYPE_CHOICE=5;
XML_CTYPE_SEQ=6;
XML_ERROR_NONE=0;
XML_ERROR_NO_MEMORY=1;
XML_ERROR_SYNTAX=2;
XML_ERROR_NO_ELEMENTS=3;
XML_ERROR_INVALID_TOKEN=4;
XML_ERROR_UNCLOSED_TOKEN=5;
XML_ERROR_PARTIAL_CHAR=6;
XML_ERROR_TAG_MISMATCH=7;
XML_ERROR_DUPLICATE_ATTRIBUTE=8;
XML_ERROR_JUNK_AFTER_DOC_ELEMENT=9;
XML_ERROR_PARAM_ENTITY_REF=10;
XML_ERROR_UNDEFINED_ENTITY=11;
XML_ERROR_RECURSIVE_ENTITY_REF=12;
XML_ERROR_ASYNC_ENTITY=13;
XML_ERROR_BAD_CHAR_REF=14;
XML_ERROR_BINARY_ENTITY_REF=15;
XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF=16;
XML_ERROR_MISPLACED_XML_PI=17;
XML_ERROR_UNKNOWN_ENCODING=18;
XML_ERROR_INCORRECT_ENCODING=19;
XML_ERROR_UNCLOSED_CDATA_SECTION=20;
XML_ERROR_EXTERNAL_ENTITY_HANDLING=21;
XML_ERROR_NOT_STANDALONE=22;
XML_ERROR_UNEXPECTED_STATE=23;
XML_ERROR_ENTITY_DECLARED_IN_PE=24;
XML_ERROR_FEATURE_REQUIRES_XML_DTD=25;
XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING=26;
XML_ERROR_UNBOUND_PREFIX=27;
XML_ERROR_UNDECLARING_PREFIX=28;
XML_ERROR_INCOMPLETE_PE=29;
XML_ERROR_XML_DECL=30;
XML_ERROR_TEXT_DECL=31;
XML_ERROR_PUBLICID=32;
XML_ERROR_SUSPENDED=33;
XML_ERROR_NOT_SUSPENDED=34;
XML_ERROR_ABORTED=35;
XML_ERROR_FINISHED=36;
XML_ERROR_SUSPEND_PE=37;
XML_ERROR_RESERVED_PREFIX_XML=38;
XML_ERROR_RESERVED_PREFIX_XMLNS=39;
XML_ERROR_RESERVED_NAMESPACE_URI=40;
XML_STATUS_ERROR=0;
XML_STATUS_OK=1;
XML_STATUS_SUSPENDED=2;