#include "gwlib/gwlib.h"
#include "wap/wsp.h"
#include "wap-error.h"
Go to the source code of this file.
◆ error_converting()
Definition at line 109 of file wap-error.c.
References gw_assert(), octstr_format(), octstr_get_cstr, type, and url.
Referenced by return_reply().
116 "<?xml version=\"1.0\"?>" \
117 "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD 1.1//EN\" " \
118 "\"http://www.wapforum.org/DTD/wml_1.1.xml\">" \
119 "<wml><card title=\"Error\">" \
120 "<p>Error: could not convert or compile content-type `%s' " \
122 "<p>Either there was no supported converting routine " \
123 "or converter failed while processing.</p>" \
124 "<p>--<br/>" GW_NAME
"/%s</p></card></wml>",
gw_assert(wtls_machine->packet_to_send !=NULL)
#define octstr_get_cstr(ostr)
Octstr * octstr_format(const char *fmt,...)
◆ error_requesting()
Definition at line 89 of file wap-error.c.
References gw_assert(), octstr_format(), octstr_get_cstr, and url.
Referenced by return_reply().
96 "<?xml version=\"1.0\"?>" \
97 "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD 1.1//EN\" " \
98 "\"http://www.wapforum.org/DTD/wml_1.1.xml\">" \
99 "<wml><card title=\"Error\">" \
100 "<p>Error: could not request URL `%s'.</p>" \
101 "<p>Either the HTTP server is down or the request timed out.</p>" \
102 "<p>--<br/>" GW_NAME
"/%s</p></card></wml>",
gw_assert(wtls_machine->packet_to_send !=NULL)
#define octstr_get_cstr(ostr)
Octstr * octstr_format(const char *fmt,...)
◆ error_requesting_back()
Definition at line 67 of file wap-error.c.
References gw_assert(), octstr_format(), octstr_get_cstr, and url.
Referenced by return_reply().
75 "<?xml version=\"1.0\"?>" \
76 "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD 1.1//EN\" " \
77 "\"http://www.wapforum.org/DTD/wml_1.1.xml\">" \
78 "<wml><card title=\"Error\" ontimer=\"%s\">" \
79 "<timer value=\"20\"/><p>Error: could not request URL `%s'.</p>" \
80 "<p>Either the HTTP server is down or the request timed out. " \
81 "Returning to previous page</p> "\
82 "<p>--<br/>" GW_NAME
"/%s</p></card></wml>",
gw_assert(wtls_machine->packet_to_send !=NULL)
#define octstr_get_cstr(ostr)
Octstr * octstr_format(const char *fmt,...)