#include <cddb_conn.h>
Public Attributes | |
unsigned int | buf_size |
maximum line/buffer size, defaults to 1024 (see DEFAULT_BUF_SIZE) | |
char * | line |
last line read | |
int | is_connected |
are we already connected to the server? | |
sockaddr_in | sa |
the socket address structure for connecting to the CDDB server | |
int | socket |
the socket file descriptor | |
char * | server_name |
host name of the CDDB server, defaults to 'freedb.org' (see DEFAULT_SERVER) | |
int | server_port |
port of the CDDB server, defaults to 888 (see DEFAULT_PORT) | |
int | timeout |
time out interval (in seconds) used during network operations, defaults to 10 seconds (see DEFAULT_TIMEOUT) | |
char * | http_path_query |
URL for querying the server through HTTP, defaults to /~cddb/cddb.cgi' (see DEFAULT_PATH_QUERY). | |
char * | http_path_submit |
URL for submitting to the server through HTTP, defaults to /~cddb/submit.cgi' (see DEFAULT_PATH_SUBMIT). | |
int | is_http_enabled |
use HTTP, disabled by default | |
int | is_http_proxy_enabled |
use HTTP through a proxy server, disabled by default | |
char * | http_proxy_server |
host name of the HTTP proxy server | |
int | http_proxy_server_port |
port of the HTTP proxy server, defaults to 8080 (see DEFAULT_PROXY_PORT) | |
char * | http_proxy_username |
HTTP proxy user name. | |
char * | http_proxy_password |
HTTP proxy password. | |
char * | http_proxy_auth |
Base64 encoded username:password. | |
FILE * | cache_fp |
a file pointer to a cached CDDB entry or NULL if no cached version is available | |
int | use_cache |
field to specify local CDDB cache behaviour, enabled by default (CACHE_ON) | |
char * | cache_dir |
CDDB slave cache, defaults to '~/.cddbslave' (see DEFAULT_CACHE). | |
int | cache_read |
read data from cached file instead of from the network | |
char * | cname |
name of the client program, 'libcddb' by default | |
char * | cversion |
version of the client program, current libcddb version by default | |
char * | user |
user name supplied to CDDB server, defaults to the value of the 'USER' environment variable or 'anonymous' if undefined | |
char * | hostname |
host name of the local machine, defaults to the value of the 'HOSTNAME' environment variable or 'localhost' if undefined | |
cddb_error_t | errnum |
error number of last CDDB command | |
cddb_disc_t ** | query_data |
data structure to keep CDDB query results | |
int | query_idx |
iterator index for query result set | |
int | query_cnt |
number of entries in query result set | |
cddb_iconv_t | charset |
character set conversion settings |
|
maximum line/buffer size, defaults to 1024 (see DEFAULT_BUF_SIZE)
|
|
CDDB slave cache, defaults to '~/.cddbslave' (see DEFAULT_CACHE).
|
|
a file pointer to a cached CDDB entry or NULL if no cached version is available
|
|
read data from cached file instead of from the network
|
|
character set conversion settings
|
|
name of the client program, 'libcddb' by default
|
|
version of the client program, current libcddb version by default
|
|
error number of last CDDB command
|
|
host name of the local machine, defaults to the value of the 'HOSTNAME' environment variable or 'localhost' if undefined
|
|
URL for querying the server through HTTP, defaults to /~cddb/cddb.cgi' (see DEFAULT_PATH_QUERY).
|
|
URL for submitting to the server through HTTP, defaults to /~cddb/submit.cgi' (see DEFAULT_PATH_SUBMIT).
|
|
Base64 encoded username:password.
|
|
HTTP proxy password.
|
|
host name of the HTTP proxy server
|
|
port of the HTTP proxy server, defaults to 8080 (see DEFAULT_PROXY_PORT)
|
|
HTTP proxy user name.
|
|
are we already connected to the server?
|
|
use HTTP, disabled by default
|
|
use HTTP through a proxy server, disabled by default
|
|
last line read
|
|
number of entries in query result set
|
|
data structure to keep CDDB query results
|
|
iterator index for query result set
|
|
the socket address structure for connecting to the CDDB server
|
|
host name of the CDDB server, defaults to 'freedb.org' (see DEFAULT_SERVER)
|
|
port of the CDDB server, defaults to 888 (see DEFAULT_PORT)
|
|
the socket file descriptor
|
|
time out interval (in seconds) used during network operations, defaults to 10 seconds (see DEFAULT_TIMEOUT)
|
|
field to specify local CDDB cache behaviour, enabled by default (CACHE_ON)
|
|
user name supplied to CDDB server, defaults to the value of the 'USER' environment variable or 'anonymous' if undefined
|