Since we don't have a keystore any more, there is no need to implement
this.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Py_RETURN_NONE;
}
-static PyObject* Key_delete(KeyObject* self) {
- int r = pakfire_key_delete(self->key);
- if (r == 0)
- Py_RETURN_TRUE;
-
- return NULL;
-}
-
static struct PyMethodDef Key_methods[] = {
- {
- "delete",
- (PyCFunction)Key_delete,
- METH_NOARGS,
- NULL
- },
{
"export",
(PyCFunction)Key_export,
struct pakfire_key* pakfire_key_ref(struct pakfire_key* key);
void pakfire_key_unref(struct pakfire_key* key);
-int pakfire_key_delete(struct pakfire_key* key);
-
// Access key properties
const char* pakfire_key_get_id(struct pakfire_key* key);
const char* pakfire_key_get_algo(struct pakfire_key* key);
pakfire_filelist_unref;
# key
- pakfire_key_delete;
pakfire_key_dump;
pakfire_key_export;
pakfire_key_generate;