fix msm-plugin.c svace issue: make sure dupPath is not NULL before strchr()
[platform/upstream/rpm.git] / python / rpmtd-py.h
1 #ifndef H_RPMTD_PY
2 #define H_RPMTD_PY
3
4 typedef struct rpmtdObject_s rpmtdObject;
5
6 extern PyTypeObject rpmtd_Type;
7
8 #define rpmtdObject_Check(v)    ((v)->ob_type == &rpmtd_Type)
9
10 PyObject * rpmtd_ItemAsPyobj(rpmtd td, rpmTagClass tclass);
11 PyObject * rpmtd_AsPyobj(rpmtd td);
12
13 int rpmtdFromPyObject(PyObject *obj, rpmtd *td);
14
15 #endif