Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
65f5eb97
Commit
65f5eb97
authored
Jun 17, 2018
by
Philipp Schafft
🦁
Browse files
Cleanup: Make use of "icecasttypes.h" in connection.[ch]
parent
7893fc75
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
65f5eb97
...
...
@@ -144,7 +144,7 @@ void connection_shutdown(void)
_initialized
=
0
;
}
void
connection_reread_config
(
struct
ice_config_t
ag
*
config
)
void
connection_reread_config
(
ice_config_t
*
config
)
{
get_tls_certificate
(
config
);
}
...
...
src/connection.h
View file @
65f5eb97
...
...
@@ -19,14 +19,12 @@
#include
"tls.h"
#include
"icecasttypes.h"
#include
"compat.h"
#include
"common/httpp/httpp.h"
#include
"common/thread/thread.h"
#include
"common/net/sock.h"
struct
source_tag
;
struct
ice_config_tag
;
typedef
enum
_tlsmode_tag
{
/* no TLS is used at all */
ICECAST_TLSMODE_DISABLED
=
0
,
...
...
@@ -62,12 +60,12 @@ typedef struct connection_tag
void
connection_initialize
(
void
);
void
connection_shutdown
(
void
);
void
connection_reread_config
(
struct
ice_config_t
ag
*
config
);
void
connection_reread_config
(
ice_config_t
*
config
);
void
connection_accept_loop
(
void
);
int
connection_setup_sockets
(
struct
ice_config_t
ag
*
config
);
int
connection_setup_sockets
(
ice_config_t
*
config
);
void
connection_close
(
connection_t
*
con
);
connection_t
*
connection_create
(
sock_t
sock
,
sock_t
serversock
,
char
*
ip
);
int
connection_complete_source
(
struct
source_t
ag
*
source
,
int
response
);
int
connection_complete_source
(
source_t
*
source
,
int
response
);
void
connection_queue
(
connection_t
*
con
);
void
connection_uses_tls
(
connection_t
*
con
);
...
...
Write
Preview
Supports
Markdown
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