rpm  4.5
rpmrc-py.h
Go to the documentation of this file.
1 #ifndef H_RPMRC_PY
2 #define H_RPMRC_PY
3 
10 
13 typedef struct rpmrcObject_s rpmrcObject;
14 
17 struct rpmrcObject_s {
18 #if Py_TPFLAGS_HAVE_ITER /* XXX backport to python-1.5.2 */
19  PyDictObject dict;
20 #else
21  PyObject_HEAD
22 #endif
23  PyObject *md_dict;
24 } ;
25 
26 /*@unchecked@*/
27 extern PyTypeObject rpmrc_Type;
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
35 /*@null@*/
36 PyObject * rpmrc_AddMacro(PyObject * self, PyObject * args, PyObject * kwds)
37  /*@globals rpmGlobalMacroContext, _Py_NoneStruct @*/
38  /*@modifies rpmGlobalMacroContext, _Py_NoneStruct @*/;
39 
42 /*@null@*/
43 PyObject * rpmrc_DelMacro(PyObject * self, PyObject * args, PyObject * kwds)
44  /*@globals rpmGlobalMacroContext, _Py_NoneStruct @*/
45  /*@modifies rpmGlobalMacroContext, _Py_NoneStruct @*/;
46 
47 #if Py_TPFLAGS_HAVE_ITER /* XXX backport to python-1.5.2 */
48 
50 /*@null@*/
51 PyObject * rpmrc_Create(PyObject * self, PyObject * args, PyObject * kwds)
52  /*@*/;
53 #endif
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
61 #endif