Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d8dbd29c
Commit
d8dbd29c
authored
Jun 20, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add http proxy config options (no http proxy code yet)
git-svn-id:
https://svn.musicpd.org/mpd/trunk@1584
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
4821d9a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
conf.c
src/conf.c
+6
-3
conf.h
src/conf.h
+4
-1
No files found.
src/conf.c
View file @
d8dbd29c
...
...
@@ -37,7 +37,7 @@
#define CONF_COMMENT '#'
#define CONF_NUMBER_OF_PARAMS
29
#define CONF_NUMBER_OF_PARAMS
33
#define CONF_NUMBER_OF_PATHS 6
#define CONF_NUMBER_OF_REQUIRED 5
#define CONF_NUMBER_OF_ALLOW_CATS 1
...
...
@@ -125,7 +125,11 @@ char ** readConf(char * file) {
"default_permissions"
,
"audio_buffer_size"
,
"replaygain"
,
"audio_output_format"
"audio_output_format"
,
"http_proxy_host"
,
"http_proxy_port"
,
"http_proxy_user"
,
"http_proxy_password"
};
int
conf_absolutePaths
[
CONF_NUMBER_OF_PATHS
]
=
{
...
...
@@ -270,4 +274,3 @@ char ** readConf(char * file) {
char
**
getConf
()
{
return
conf_params
;
}
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
src/conf.h
View file @
d8dbd29c
...
...
@@ -50,6 +50,10 @@
#define CONF_BUFFER_SIZE 26
#define CONF_REPLAYGAIN 27
#define CONF_AUDIO_OUTPUT_FORMAT 28
#define CONF_HTTP_PROXY_HOST 29
#define CONF_HTTP_PROXY_PORT 30
#define CONF_HTTP_PROXY_USER 31
#define CONF_HTTP_PROXY_PASSWORD 32
#define CONF_CAT_CHAR "\n"
...
...
@@ -63,4 +67,3 @@ void initConf();
void
writeConf
(
char
*
file
);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment