📄 ebrespond.html
字号:
void * ebfp,
const char * fmt, /* format string to write */
... /* optional arguments to format string */
)
</pre>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine is to output HTTP header. if data has been flushed before,
it will not output this header and will return ERROR.
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebrespond.html#top">ebrespond</a></b>
<hr>
<a name="ebSetCookie"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib : Routines</i></a></p>
</blockquote><h1>ebSetCookie( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebSetCookie( )</strong> - send cookie with HTTP header</p>
</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>int ebSetCookie
(
void * ebfp,
char * name,
char * value,
... /* time_t expire, char * path, char * */
/* domain, int secure */
)
</pre>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
SEE setcookie
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebrespond.html#top">ebrespond</a></b>
<hr>
<a name="ebRedirect"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib : Routines</i></a></p>
</blockquote><h1>ebRedirect( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebRedirect( )</strong> - redirect to an url</p>
</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>int ebRedirect
(
void * ebfp,
char * p_url,
...
)
</pre>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine is to redirect to an url. if data has been flushed before,
it will not redirect to the url and return will ERROR.
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebrespond.html#top">ebrespond</a></b>
<hr>
<a name="unEscapeUrl"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib : Routines</i></a></p>
</blockquote><h1>unEscapeUrl( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>unEscapeUrl( )</strong> - decode url</p>
</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * unEscapeUrl
(
char * url
)
</pre>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
Reduce any %xx escape sequences to the characters they represent,
character <b>+</b> to space (<b>\x20</b>).
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
NONE
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebrespond.html#top">ebrespond</a></b>
<hr>
<a name="ebUrlEncode"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib : Routines</i></a></p>
</blockquote><h1>ebUrlEncode( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebUrlEncode( )</strong> - encode the URL and store in a global buffer</p>
</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * ebUrlEncode
(
char * to, /* dest buffer */
char * from, /* src url */
int maxlen /* buffer max length */
)
</pre>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine is to encode the URL and store in a global buffer.
The value will be covered when next time call <b><a href="./ebrespond.html#ebUrlEncode">ebUrlEncode</a>( )</b> or <b><a href="./ebrespond.html#ebUrlDecode">ebUrlDecode</a>( )</b>.
<p>
</blockquote><h4>HREF</h4><blockquote><p>
RFC 2396
</blockquote><h4>NOTE</h4><blockquote><p>
if "to" is NULL, it will be stored into global temporary buffer.
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebrespond.html#top">ebrespond</a></b>
<hr>
<a name="ebUrlDecode"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib : Routines</i></a></p>
</blockquote><h1>ebUrlDecode( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebUrlDecode( )</strong> - decode the URL and store in a global buffer</p>
</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * ebUrlDecode
(
char * to, /* src url */
char * from /* src url */
)
</pre>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine is to decode the URL and store in a global buffer.
The value will be covered when next time call <b><a href="./ebrespond.html#ebUrlEncode">ebUrlEncode</a>( )</b>
or <b><a href="./ebrespond.html#ebUrlDecode">ebUrlDecode</a>( )</b>.
<p>
</blockquote><h4>NOTE</h4><blockquote><p>
if "to" is NULL, it will be stored into global temporary buffer.
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebrespond.html#top">ebrespond</a></b>
<hr>
<a name="ebHtmlEncode"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib : Routines</i></a></p>
</blockquote><h1>ebHtmlEncode( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebHtmlEncode( )</strong> - convert plain text into html format text</p>
</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * ebHtmlEncode
(
char * to, /* dest buffer */
char * from, /* src url */
int maxlen /* buffer max length */
)
</pre>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine convert the <b>\x20</b>, <b>html codes.
<p>
</blockquote><h4>NOTE</h4><blockquote><p>
if "to" is NULL, it will be stored into global temporary buffer.
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
pointer to dest buffer.
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebrespond.html#top">ebrespond</a></b>
<hr>
<a name="ebHtmlDecode"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib : Routines</i></a></p>
</blockquote><h1>ebHtmlDecode( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebHtmlDecode( )</strong> - convert html format text into plain text </p>
</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * ebHtmlDecode
(
char * to, /* src url */
char * from /* src url */
)
</pre>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine convert the html codes <b> </b>, <b>"</b>, <b><</b>,
<b>></b>, <b>&</b> into <b>\x20</b>, <b><p>
</blockquote><h4>NOTE</h4><blockquote><p>
if "to" is NULL, it will be stored into global temporary buffer.
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
pointer to dest buffer.
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./ebrespond.html#top">ebrespond</a></b>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -