From: Martin Mares Date: Sat, 10 May 2014 21:50:46 +0000 (+0200) Subject: XML: "PUSH" in comments should be "PULL" X-Git-Tag: v6.0~43^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7f289f2f0a941116e799e116eb8d7ef423a4e58f;p=libucw.git XML: "PUSH" in comments should be "PULL" --- diff --git a/xml/xml.h b/xml/xml.h index f17b1d79..319a011a 100644 --- a/xml/xml.h +++ b/xml/xml.h @@ -61,7 +61,7 @@ enum xml_pull { }; enum xml_flags { - /* Enable reporting of various events via SAX and/or PUSH interface */ + /* Enable reporting of various events via SAX and/or PULL interface */ XML_REPORT_COMMENTS = 0x00000001, /* Report comments */ XML_REPORT_PIS = 0x00000002, /* Report processing instructions */ XML_REPORT_CHARS = 0x00000004, /* Report characters */ @@ -228,10 +228,10 @@ void xml_reset(struct xml_context *ctx); /* Add XML source (fastbuf will be automatically closed) */ struct xml_source *xml_push_fastbuf(struct xml_context *ctx, struct fastbuf *fb); -/* Parse without the PUSH interface, return XML_ERR_x code (zero on success) */ +/* Parse without the PULL interface, return XML_ERR_x code (zero on success) */ uns xml_parse(struct xml_context *ctx); -/* Parse with the PUSH interface, return XML_STATE_x (zero on EOF or fatal error) */ +/* Parse with the PULL interface, return XML_STATE_x (zero on EOF or fatal error) */ uns xml_next(struct xml_context *ctx); /* Equivalent to xml_next, but with temporarily changed ctx->pull value */