Lines Matching refs:wpaspy_error
21 static PyObject *wpaspy_error; variable
65 PyErr_SetString(wpaspy_error, "Request timed out"); in wpaspy_request()
69 PyErr_SetString(wpaspy_error, "Request failed"); in wpaspy_request()
87 PyErr_SetString(wpaspy_error, "Attach failed"); in wpaspy_attach()
103 PyErr_SetString(wpaspy_error, "Detach failed"); in wpaspy_detach()
118 PyErr_SetString(wpaspy_error, "wpa_ctrl_pending failed"); in wpaspy_pending()
138 PyErr_SetString(wpaspy_error, "wpa_ctrl_recv failed"); in wpaspy_recv()
207 wpaspy_error = PyErr_NewException("wpaspy.error", NULL, NULL); in initwpaspy()
210 Py_INCREF(wpaspy_error); in initwpaspy()
213 PyModule_AddObject(mod, "error", wpaspy_error); in initwpaspy()
230 wpaspy_error = PyErr_NewException("wpaspy.error", NULL, NULL); in initwpaspy()
233 Py_INCREF(wpaspy_error); in initwpaspy()
236 PyModule_AddObject(mod, "error", wpaspy_error) < 0) { in initwpaspy()
238 Py_DECREF(wpaspy_error); in initwpaspy()