summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-08-07 19:43:51 +0000
committerErik Troan <ewt@redhat.com>1999-08-07 19:43:51 +0000
commitd85bf1c5a3d4eea0eb897033d11915517a1b86e6 (patch)
tree8c5651d9cc6944138d51f0b33cccc8584634f602 /isys
parentcb113c584477770cf8e1e8485144ec8e3a92c3b1 (diff)
downloadanaconda-d85bf1c5a3d4eea0eb897033d11915517a1b86e6.tar.gz
anaconda-d85bf1c5a3d4eea0eb897033d11915517a1b86e6.tar.xz
anaconda-d85bf1c5a3d4eea0eb897033d11915517a1b86e6.zip
we don't need to do network stuff in python
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/isys/isys.c b/isys/isys.c
index 7cce1b406..73454f55b 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -7,7 +7,6 @@
#include "Python.h"
#include "imount.h"
-#include "../pump/pump.h"
#include "isys.h"
#include "pci/pciprobe.h"
#include "probe.h"
@@ -26,7 +25,9 @@ static PyObject * getModuleList(PyObject * s, PyObject * args);
static PyObject * makeDevInode(PyObject * s, PyObject * args);
static PyObject * doPciProbe(PyObject * s, PyObject * args);
static PyObject * smpAvailable(PyObject * s, PyObject * args);
+#if 0
static PyObject * doConfigNetDevice(PyObject * s, PyObject * args);
+#endif
static PyObject * createProbedList(PyObject * s, PyObject * args);
static PyMethodDef isysModuleMethods[] = {
@@ -41,7 +42,9 @@ static PyMethodDef isysModuleMethods[] = {
{ "mount", (PyCFunction) doMount, METH_VARARGS, NULL },
{ "smpavailable", (PyCFunction) smpAvailable, METH_VARARGS, NULL },
{ "umount", (PyCFunction) doUMount, METH_VARARGS, NULL },
+#if 0
{ "confignetdevice", (PyCFunction) doConfigNetDevice, METH_VARARGS, NULL },
+#endif
{ NULL }
} ;
@@ -338,10 +341,10 @@ void init_isys(void) {
static void emptyDestructor(PyObject * s) {
}
+#if 0
static PyObject * doConfigNetDevice(PyObject * s, PyObject * args) {
char * dev, * ip, * netmask, * broadcast, * network;
int * isPtp, rc;
- struct pumpNetIntf device;
if (!PyArg_ParseTuple(args, "sssssd", &dev, &ip, &netmask, &broadcast,
&network, &isPtp)) return NULL;
@@ -362,6 +365,7 @@ static PyObject * doConfigNetDevice(PyObject * s, PyObject * args) {
Py_INCREF(Py_None);
return Py_None;
}
+#endif
static PyObject * probedListGetAttr(probedListObject * o, char * name) {
return Py_FindMethod(probedListObjectMethods, (PyObject * ) o, name);