Lines Matching defs:cgi
25 CGI *cgi;
56 if (ho->cgi)
58 cgi_destroy (&(ho->cgi));
63 PyObject * p_cgi_to_object (CGI *data)
76 ho->cgi = data;
86 CGI *cgi = NULL;
89 err = cgi_init (&cgi, NULL);
91 return p_cgi_to_object (cgi);
96 CGI *cgi = ((CGIObject *) self)->cgi;
103 err = cgi_parse (cgi);
117 static int python_upload_cb (CGI *cgi, int nread, int expected)
119 CGIObject *self = (CGIObject *)(cgi->data);
153 CGI *cgi = ((CGIObject *) self)->cgi;
160 cgi->data = self;
161 cgi->upload_cb = python_upload_cb;
174 CGI *cgi = ((CGIObject *) self)->cgi;
181 cgi_error (cgi, s);
189 CGI *cgi = ((CGIObject *) self)->cgi;
197 err = cgi_display (cgi, file);
206 CGI *cgi = ((CGIObject *) self)->cgi;
213 cgi_redirect (cgi, "%s", s);
221 CGI *cgi = ((CGIObject *) self)->cgi;
228 cgi_redirect_uri (cgi, "%s", s);
236 CGI *cgi = ((CGIObject *) self)->cgi;
243 s = cgi_cookie_authority (cgi, host);
259 CGI *cgi = ((CGIObject *) self)->cgi;
269 err = cgi_cookie_set (cgi, name, value, path, domain, time_str, persist, secure);
277 CGI *cgi = ((CGIObject *) self)->cgi;
284 err = cgi_cookie_clear (cgi, name, domain, path);
292 CGI *cgi = ((CGIObject *) self)->cgi;
299 fp = cgi_filehandle (cgi, name);
310 CGI *cgi = ((CGIObject *) self)->cgi;
317 err = cgi_cs_init(cgi, &cs);
903 {"CGI", p_cgi_init, METH_VARARGS, NULL},