]> git.ipfire.org Git - people/ms/pakfire.git/blob - src/step.h
b5a016da0ad45ac4dcdbfc21db820dea825e69c2
[people/ms/pakfire.git] / src / step.h
1
2 #ifndef PAKFIRE_STEP_H
3 #define PAKFIRE_STEP_H
4
5 #include <Python.h>
6
7 #include <satsolver/pool.h>
8 #include <satsolver/transaction.h>
9
10 // Sat Step object
11 typedef struct {
12 PyObject_HEAD
13 Transaction *_transaction;
14 Id _id;
15 } StepObject;
16
17 extern PyObject* Step_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
18 extern PyObject *Step_dealloc(StepObject *self);
19 extern PyObject *Step_get_type(StepObject *self, PyObject *args);
20 extern PyObject *Step_get_solvable(StepObject *self, PyObject *args);
21
22 extern PyTypeObject StepType;
23
24 #endif