annotate src/cdaudio-ng/configure.h @ 2384:0824c92b6132

- fixed a bug which writes TRUE as the default port number. - fixed a bug that a discid had been stored in signed int. (should be uint.) - fixed a potential memory leak. - cddb cache has been enabled. - code for processing config values has been cleaned up. - removed unnecessary create_tuple_from_trackinfo().
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 13 Feb 2008 01:29:20 +0900
parents dc92a550179e
children fb2856249629
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2046
040827f0b083 Primary cleanup pass.
Matti Hamalainen <ccr@tnsp.org>
parents: 1958
diff changeset
1 #ifndef _CDNG_CONFIGURE_H
040827f0b083 Primary cleanup pass.
Matti Hamalainen <ccr@tnsp.org>
parents: 1958
diff changeset
2 #define _CDNG_CONFIGURE_H
040827f0b083 Primary cleanup pass.
Matti Hamalainen <ccr@tnsp.org>
parents: 1958
diff changeset
3 #include <glib.h>
1189
af5bd4592100 Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff changeset
4
2384
0824c92b6132 - fixed a bug which writes TRUE as the default port number.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2256
diff changeset
5 typedef struct cdng_cfg_t {
2256
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
6
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
7 gboolean use_dae;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
8 gboolean use_cdtext;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
9 gboolean use_cddb;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
10 gboolean debug;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
11 gchar *device;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
12 gchar *cddb_server;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
13 gint cddb_port;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
14 gboolean cddb_http;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
15 gint limitspeed;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
16 gboolean use_proxy;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
17 gchar *proxy_host;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
18 gint proxy_port;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
19 gchar *proxy_username;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
20 gchar *proxy_password;
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
21
2384
0824c92b6132 - fixed a bug which writes TRUE as the default port number.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents: 2256
diff changeset
22 } cdng_cfg_t;
1189
af5bd4592100 Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff changeset
23
af5bd4592100 Added cdaudio-ng.h; added a configure dialog
zither@litestep.network
parents:
diff changeset
24
2046
040827f0b083 Primary cleanup pass.
Matti Hamalainen <ccr@tnsp.org>
parents: 1958
diff changeset
25 void configure_create_gui(void);
040827f0b083 Primary cleanup pass.
Matti Hamalainen <ccr@tnsp.org>
parents: 1958
diff changeset
26 void configure_show_gui(void);
040827f0b083 Primary cleanup pass.
Matti Hamalainen <ccr@tnsp.org>
parents: 1958
diff changeset
27 gint pstrcpy(gchar **, const gchar *);
1193
483b8d900d5e Added enable/disable debug option
calin.crisan@ldev-006
parents: 1189
diff changeset
28
2046
040827f0b083 Primary cleanup pass.
Matti Hamalainen <ccr@tnsp.org>
parents: 1958
diff changeset
29 #endif // _CDNG_CONFIGURE_H
2256
dc92a550179e cddb may use http instead of cddbp now; the global proxy settings are used if enabled
Calin Crisan ccrisan@gmail.com
parents: 2046
diff changeset
30