Add to git.
[pthrlib.git] / doc / http_get_servername.3.html
1 <html>
2 <head>
3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>http_get_servername</title>
6 </head>
7 <body>
8
9 <h1 align=center>http_get_servername</h1>
10 <a href="#NAME">NAME</a><br>
11 <a href="#SYNOPSIS">SYNOPSIS</a><br>
12 <a href="#DESCRIPTION">DESCRIPTION</a><br>
13 <a href="#AUTHOR">AUTHOR</a><br>
14 <a href="#LICENSE">LICENSE</a><br>
15 <a href="#VERSION">VERSION</a><br>
16 <a href="#SEE ALSO">SEE ALSO</a><br>
17
18 <hr>
19 <!-- Creator     : groff version 1.17.2 -->
20 <!-- CreationDate: Fri Aug 30 16:16:20 2002 -->
21 <a name="NAME"></a>
22 <h2>NAME</h2>
23 <table width="100%" border=0 rules="none" frame="void"
24        cols="2" cellspacing="0" cellpadding="0">
25 <tr valign="top" align="left">
26 <td width="10%"></td><td width="90%">
27 http_get_servername, http_set_servername - get and set the server name string</td></table>
28 <a name="SYNOPSIS"></a>
29 <h2>SYNOPSIS</h2>
30
31 <table width="100%" border=0 rules="none" frame="void"
32        cols="2" cellspacing="0" cellpadding="0">
33 <tr valign="top" align="left">
34 <td width="10%"></td><td width="90%">
35 <pre><b>#include &lt;pthr_http.h&gt;
36
37 const char *http_get_servername (void);
38 const char *http_set_servername (const char *new_server_name);
39 </b></pre></td></table>
40 <a name="DESCRIPTION"></a>
41 <h2>DESCRIPTION</h2>
42
43 <table width="100%" border=0 rules="none" frame="void"
44        cols="2" cellspacing="0" cellpadding="0">
45 <tr valign="top" align="left">
46 <td width="10%"></td><td width="90%">
47 Get and set the server name (which is sent in the
48 <b>Server</b>) header by the server when it responds to
49 requests.</td></table>
50
51 <table width="100%" border=0 rules="none" frame="void"
52        cols="2" cellspacing="0" cellpadding="0">
53 <tr valign="top" align="left">
54 <td width="10%"></td><td width="90%">
55 The default string is
56 <b>pthrlib-httpd/version</b>.</td></table>
57 <a name="AUTHOR"></a>
58 <h2>AUTHOR</h2>
59
60 <table width="100%" border=0 rules="none" frame="void"
61        cols="2" cellspacing="0" cellpadding="0">
62 <tr valign="top" align="left">
63 <td width="10%"></td><td width="90%">
64 Richard Jones &lt;rich@annexia.org&gt;</td></table>
65 <a name="LICENSE"></a>
66 <h2>LICENSE</h2>
67
68 <table width="100%" border=0 rules="none" frame="void"
69        cols="2" cellspacing="0" cellpadding="0">
70 <tr valign="top" align="left">
71 <td width="10%"></td><td width="90%">
72 GNU LGPL (see http://www.gnu.org/)</td></table>
73 <a name="VERSION"></a>
74 <h2>VERSION</h2>
75
76 <table width="100%" border=0 rules="none" frame="void"
77        cols="2" cellspacing="0" cellpadding="0">
78 <tr valign="top" align="left">
79 <td width="10%"></td><td width="90%">
80 pthrlib-3.0.3</td></table>
81 <a name="SEE ALSO"></a>
82 <h2>SEE ALSO</h2>
83
84 <table width="100%" border=0 rules="none" frame="void"
85        cols="2" cellspacing="0" cellpadding="0">
86 <tr valign="top" align="left">
87 <td width="10%"></td><td width="90%">
88 <b>new_http_request(3)</b>, <b>new_http_response(3)</b>,
89 <b>new_cgi(3)</b>.</td></table>
90 <hr>
91 </body>
92 </html>