{"performance_index", (PyCFunction)performance_index, METH_VARARGS, NULL},
{"version_compare", (PyCFunction)version_compare, METH_VARARGS, NULL},
{"get_capabilities", (PyCFunction)get_capabilities, METH_VARARGS, NULL},
- {"sync", (PyCFunction)_sync, METH_NOARGS, NULL},
{"native_arch", (PyCFunction)_pakfire_native_arch, METH_NOARGS, NULL },
{"arch_supported_by_host", (PyCFunction)_pakfire_arch_supported_by_host, METH_VARARGS, NULL },
{"mount", (PyCFunction)_pakfire_mount, METH_VARARGS|METH_KEYWORDS, NULL },
#include "package.h"
#include "util.h"
-PyObject *_sync(PyObject *self, PyObject *args) {
- /* Just sync everything to disks. */
- sync();
-
- Py_RETURN_NONE;
-}
-
PyObject *version_compare(PyObject *self, PyObject *args) {
Pool *pool;
const char *evr1, *evr2;
#include "pakfire.h"
-extern PyObject *_sync(PyObject *self, PyObject *args);
extern PyObject *version_compare(PyObject *self, PyObject *args);
extern PyObject* performance_index(PyObject* self, PyObject* args);