mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Cleanup: Make use of "icecasttypes.h" in connection.[ch]
This commit is contained in:
parent
7893fc7560
commit
65f5eb9771
@ -144,7 +144,7 @@ void connection_shutdown(void)
|
||||
_initialized = 0;
|
||||
}
|
||||
|
||||
void connection_reread_config(struct ice_config_tag *config)
|
||||
void connection_reread_config(ice_config_t *config)
|
||||
{
|
||||
get_tls_certificate(config);
|
||||
}
|
||||
|
@ -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_tag *config);
|
||||
void connection_reread_config(ice_config_t *config);
|
||||
void connection_accept_loop(void);
|
||||
int connection_setup_sockets(struct ice_config_tag *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_tag *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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user