+static PyObject* doc_getInfo(PyObject* _self, PyObject* args, PyObject* kwargs)
+{
+ DocObject* self = (DocObject*)_self;
+
+ static char *kwlist[] = {"key", NULL};
+ char*key = 0;
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s", kwlist, &key))
+ return NULL;
+
+ char*s = self->doc->getinfo(self->doc, key);
+ return PyString_FromString(s);
+}
+
+static PyObject* doc_setParameter(PyObject* _self, PyObject* args, PyObject* kwargs)
+{
+ DocObject* self = (DocObject*)_self;
+
+ static char *kwlist[] = {"key", "value", NULL};
+ char*key = 0, *value=0;
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ss", kwlist, &key,&value))
+ return NULL;
+
+ self->doc->set_parameter(self->doc, key, value);
+ return PY_NONE;
+}
+