Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > dab33252f2d9012f115918f6f241e8d4 > files > 69

lib64cddb2-devel-1.3.0-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libcddb: cddb_conn_s Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>cddb_conn_s Struct Reference</h1>An opaque structure for keeping state about the connection to a CDDB server.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="cddb__conn_8h-source.html">cddb_conn.h</a>&gt;</code>
<p>
<a href="structcddb__conn__s-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o0">buf_size</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">maximum line/buffer size, defaults to 1024 (see DEFAULT_BUF_SIZE)  <a href="#o0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o1">line</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">last line read  <a href="#o1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o2">is_connected</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">are we already connected to the server?  <a href="#o2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">sockaddr_in&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o3">sa</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the socket address structure for connecting to the CDDB server  <a href="#o3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o4">socket</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the socket file descriptor  <a href="#o4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o5">server_name</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">host name of the CDDB server, defaults to 'freedb.org' (see DEFAULT_SERVER)  <a href="#o5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o6">server_port</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">port of the CDDB server, defaults to 888 (see DEFAULT_PORT)  <a href="#o6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o7">timeout</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">time out interval (in seconds) used during network operations, defaults to 10 seconds (see DEFAULT_TIMEOUT)  <a href="#o7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o8">http_path_query</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">URL for querying the server through HTTP, defaults to /~cddb/cddb.cgi' (see DEFAULT_PATH_QUERY).  <a href="#o8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o9">http_path_submit</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">URL for submitting to the server through HTTP, defaults to /~cddb/submit.cgi' (see DEFAULT_PATH_SUBMIT).  <a href="#o9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o10">is_http_enabled</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">use HTTP, disabled by default  <a href="#o10"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o11">is_http_proxy_enabled</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">use HTTP through a proxy server, disabled by default  <a href="#o11"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o12">http_proxy_server</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">host name of the HTTP proxy server  <a href="#o12"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o13">http_proxy_server_port</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">port of the HTTP proxy server, defaults to 8080 (see DEFAULT_PROXY_PORT)  <a href="#o13"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o14">http_proxy_username</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">HTTP proxy user name.  <a href="#o14"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o15">http_proxy_password</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">HTTP proxy password.  <a href="#o15"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o16">http_proxy_auth</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Base64 encoded username:password.  <a href="#o16"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">FILE *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o17">cache_fp</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">a file pointer to a cached CDDB entry or NULL if no cached version is available  <a href="#o17"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o18">use_cache</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">field to specify local CDDB cache behaviour, enabled by default (CACHE_ON)  <a href="#o18"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o19">cache_dir</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">CDDB slave cache, defaults to '~/.cddbslave' (see DEFAULT_CACHE).  <a href="#o19"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o20">cache_read</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">read data from cached file instead of from the network  <a href="#o20"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o21">cname</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">name of the client program, 'libcddb' by default  <a href="#o21"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o22">cversion</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">version of the client program, current libcddb version by default  <a href="#o22"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o23">user</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">user name supplied to CDDB server, defaults to the value of the 'USER' environment variable or 'anonymous' if undefined  <a href="#o23"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o24">hostname</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">host name of the local machine, defaults to the value of the 'HOSTNAME' environment variable or 'localhost' if undefined  <a href="#o24"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="cddb__error_8h.html#a26">cddb_error_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o25">errnum</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">error number of last CDDB command  <a href="#o25"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ll_8h.html#a2">list_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o26">query_data</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">list to keep CDDB query results  <a href="#o26"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ll_8h.html#a2">list_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o27">sites_data</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">list to keep FreeDB mirror sites  <a href="#o27"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="cddb__conn_8h.html#a22">cddb_iconv_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcddb__conn__s.html#o28">charset</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">character set conversion settings  <a href="#o28"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An opaque structure for keeping state about the connection to a CDDB server. 
<p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="o0" doxytag="cddb_conn_s::buf_size"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">unsigned int <a class="el" href="structcddb__conn__s.html#o0">cddb_conn_s::buf_size</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
maximum line/buffer size, defaults to 1024 (see DEFAULT_BUF_SIZE) 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o19" doxytag="cddb_conn_s::cache_dir"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o19">cddb_conn_s::cache_dir</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
CDDB slave cache, defaults to '~/.cddbslave' (see DEFAULT_CACHE). 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o17" doxytag="cddb_conn_s::cache_fp"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">FILE* <a class="el" href="structcddb__conn__s.html#o17">cddb_conn_s::cache_fp</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
a file pointer to a cached CDDB entry or NULL if no cached version is available 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o20" doxytag="cddb_conn_s::cache_read"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o20">cddb_conn_s::cache_read</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
read data from cached file instead of from the network 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o28" doxytag="cddb_conn_s::charset"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="cddb__conn_8h.html#a22">cddb_iconv_t</a> <a class="el" href="structcddb__conn__s.html#o28">cddb_conn_s::charset</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
character set conversion settings 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o21" doxytag="cddb_conn_s::cname"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o21">cddb_conn_s::cname</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
name of the client program, 'libcddb' by default 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o22" doxytag="cddb_conn_s::cversion"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o22">cddb_conn_s::cversion</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
version of the client program, current libcddb version by default 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o25" doxytag="cddb_conn_s::errnum"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="cddb__error_8h.html#a26">cddb_error_t</a> <a class="el" href="structcddb__conn__s.html#o25">cddb_conn_s::errnum</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
error number of last CDDB command 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o24" doxytag="cddb_conn_s::hostname"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o24">cddb_conn_s::hostname</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
host name of the local machine, defaults to the value of the 'HOSTNAME' environment variable or 'localhost' if undefined 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o8" doxytag="cddb_conn_s::http_path_query"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o8">cddb_conn_s::http_path_query</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
URL for querying the server through HTTP, defaults to /~cddb/cddb.cgi' (see DEFAULT_PATH_QUERY). 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o9" doxytag="cddb_conn_s::http_path_submit"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o9">cddb_conn_s::http_path_submit</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
URL for submitting to the server through HTTP, defaults to /~cddb/submit.cgi' (see DEFAULT_PATH_SUBMIT). 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o16" doxytag="cddb_conn_s::http_proxy_auth"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o16">cddb_conn_s::http_proxy_auth</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Base64 encoded username:password. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o15" doxytag="cddb_conn_s::http_proxy_password"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o15">cddb_conn_s::http_proxy_password</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
HTTP proxy password. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o12" doxytag="cddb_conn_s::http_proxy_server"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o12">cddb_conn_s::http_proxy_server</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
host name of the HTTP proxy server 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o13" doxytag="cddb_conn_s::http_proxy_server_port"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o13">cddb_conn_s::http_proxy_server_port</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
port of the HTTP proxy server, defaults to 8080 (see DEFAULT_PROXY_PORT) 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o14" doxytag="cddb_conn_s::http_proxy_username"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o14">cddb_conn_s::http_proxy_username</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
HTTP proxy user name. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o2" doxytag="cddb_conn_s::is_connected"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o2">cddb_conn_s::is_connected</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
are we already connected to the server? 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o10" doxytag="cddb_conn_s::is_http_enabled"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o10">cddb_conn_s::is_http_enabled</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
use HTTP, disabled by default 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o11" doxytag="cddb_conn_s::is_http_proxy_enabled"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o11">cddb_conn_s::is_http_proxy_enabled</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
use HTTP through a proxy server, disabled by default 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o1" doxytag="cddb_conn_s::line"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o1">cddb_conn_s::line</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
last line read 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o26" doxytag="cddb_conn_s::query_data"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="ll_8h.html#a2">list_t</a>* <a class="el" href="structcddb__conn__s.html#o26">cddb_conn_s::query_data</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
list to keep CDDB query results 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o3" doxytag="cddb_conn_s::sa"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">struct sockaddr_in <a class="el" href="structcddb__conn__s.html#o3">cddb_conn_s::sa</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
the socket address structure for connecting to the CDDB server 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o5" doxytag="cddb_conn_s::server_name"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o5">cddb_conn_s::server_name</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
host name of the CDDB server, defaults to 'freedb.org' (see DEFAULT_SERVER) 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o6" doxytag="cddb_conn_s::server_port"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o6">cddb_conn_s::server_port</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
port of the CDDB server, defaults to 888 (see DEFAULT_PORT) 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o27" doxytag="cddb_conn_s::sites_data"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"><a class="el" href="ll_8h.html#a2">list_t</a>* <a class="el" href="structcddb__conn__s.html#o27">cddb_conn_s::sites_data</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
list to keep FreeDB mirror sites 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o4" doxytag="cddb_conn_s::socket"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o4">cddb_conn_s::socket</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
the socket file descriptor 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o7" doxytag="cddb_conn_s::timeout"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o7">cddb_conn_s::timeout</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
time out interval (in seconds) used during network operations, defaults to 10 seconds (see DEFAULT_TIMEOUT) 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o18" doxytag="cddb_conn_s::use_cache"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">int <a class="el" href="structcddb__conn__s.html#o18">cddb_conn_s::use_cache</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
field to specify local CDDB cache behaviour, enabled by default (CACHE_ON) 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="o23" doxytag="cddb_conn_s::user"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">char* <a class="el" href="structcddb__conn__s.html#o23">cddb_conn_s::user</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
user name supplied to CDDB server, defaults to the value of the 'USER' environment variable or 'anonymous' if undefined 
<p>
    </td>
  </tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="cddb__conn_8h-source.html">cddb_conn.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 9 00:35:03 2005 for libcddb by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>