/
niceSOFT
/
createrepo_c
Обзор
Документация
Войти
/
niceSOFT
/
createrepo_c
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/python/xml_parser-py.h
84 строки
3 KB
Aleš Matěj
Rename filelists_ext.xml metadata to filelists-ext.xml
16 фев 2023, 12:13
16 фев 2023, 12:13
64ba402
Код
Авторство
О чём код?
/* createrepo_c - Library of routines for manipulation with repodata * Copyright (C) 2013 Tomas Mlcoch * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, * USA. */ #ifndef CR_XML_PARSER_PY_H #define CR_XML_PARSER_PY_H #include "src/createrepo_c.h" PyDoc_STRVAR(xml_parse_primary__doc__, "xml_parse_primary(filename, newpkgcb, pkgcb, warningcb, do_files) -> None\n\n" "Parse primary.xml"); PyDoc_STRVAR(xml_parse_primary_snippet__doc__, "xml_parse_primary_snippet(snippet, newpkgcb, pkgcb, warningcb, do_files) -> None\n\n" "Parse primary xml snippet"); PyObject *py_xml_parse_primary(PyObject *self, PyObject *args); PyObject *py_xml_parse_primary_snippet(PyObject *self, PyObject *args); PyDoc_STRVAR(xml_parse_filelists__doc__, "xml_parse_filelists(filename, newpkgcb, pkgcb, warningcb) -> None\n\n" "Parse filelists.xml"); PyDoc_STRVAR(xml_parse_filelists_snippet__doc__, "xml_parse_filelists_snippet(snippet, newpkgcb, pkgcb, warningcb) -> None\n\n" "Parse filelists xml snippet"); PyObject *py_xml_parse_filelists(PyObject *self, PyObject *args); PyObject *py_xml_parse_filelists_snippet(PyObject *self, PyObject *args); PyDoc_STRVAR(xml_parse_filelists_ext__doc__, "xml_parse_filelists_ext(filename, newpkgcb, pkgcb, warningcb) -> None\n\n" "Parse filelists-ext.xml"); PyDoc_STRVAR(xml_parse_filelists_ext_snippet__doc__, "xml_parse_filelists_ext_snippet(snippet, newpkgcb, pkgcb, warningcb) -> None\n\n" "Parse filelists-ext xml snippet"); PyObject *py_xml_parse_filelists_ext(PyObject *self, PyObject *args); PyObject *py_xml_parse_filelists_ext_snippet(PyObject *self, PyObject *args); PyDoc_STRVAR(xml_parse_other__doc__, "xml_parse_other(filename, newpkgcb, pkgcb, warningcb) -> None\n\n" "Parse other.xml"); PyDoc_STRVAR(xml_parse_other_snippet__doc__, "xml_parse_other_snippet(snippet, newpkgcb, pkgcb, warningcb) -> None\n\n" "Parse other xml snippet"); PyObject *py_xml_parse_other(PyObject *self, PyObject *args); PyObject *py_xml_parse_other_snippet(PyObject *self, PyObject *args); PyDoc_STRVAR(xml_parse_repomd__doc__, "xml_parse_repomd(filename, repomd_object, warningcb) -> None\n\n" "Parse repomd.xml"); PyObject *py_xml_parse_repomd(PyObject *self, PyObject *args); PyDoc_STRVAR(xml_parse_updateinfo__doc__, "xml_parse_updateinfo(filename, updateinfo_object, warningcb) -> None\n\n" "Parse updateinfo.xml"); PyObject *py_xml_parse_updateinfo(PyObject *self, PyObject *args); extern PyTypeObject PkgIterator_Type; #define PkgIteratorObject_Check(o) PyObject_TypeCheck(o, &PkgIterator_Type) PyObject *Object_FromPkgIterator(cr_PkgIterator *iter); cr_PkgIterator *PkgIterator_FromPyObject(PyObject *o); #endif