summaryrefslogtreecommitdiff
path: root/python/spec-py.h
blob: 8004d1efd1cddec5e82583591167dace9b735ae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef RPMPYTHON_SPEC
#define RPMPYTHON_SPEC

#include <rpm/rpmbuild.h>

/** \ingroup py_c
 * \file python/spec-py.h
 */

typedef struct specObject_s {
    PyObject_HEAD
    /*type specific fields */
    rpmSpec spec;
} specObject;

extern PyTypeObject spec_Type;

/**
 */
rpmSpec specFromSpec(specObject * spec);

/**
 */
specObject * spec_Wrap(rpmSpec spec);

#endif /* RPMPYTHON_SPEC */