1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Update: Moved ice_config_t into "icecasttypes.h"

This commit is contained in:
Philipp Schafft 2018-06-17 10:15:32 +00:00
parent 6ffc893b6a
commit 0adab82a71
2 changed files with 6 additions and 2 deletions

View File

@ -27,6 +27,7 @@ struct _mount_proxy;
#include <libxml/tree.h> #include <libxml/tree.h>
#include "common/thread/thread.h" #include "common/thread/thread.h"
#include "common/avl/avl.h" #include "common/avl/avl.h"
#include "icecasttypes.h"
#include "slave.h" #include "slave.h"
#include "connection.h" #include "connection.h"
@ -184,7 +185,7 @@ typedef struct _config_tls_context {
char *cipher_list; char *cipher_list;
} config_tls_context_t; } config_tls_context_t;
typedef struct ice_config_tag { struct ice_config_tag {
char *config_filename; char *config_filename;
char *location; char *location;
@ -260,7 +261,7 @@ typedef struct ice_config_tag {
int yp_url_timeout[MAX_YP_DIRECTORIES]; int yp_url_timeout[MAX_YP_DIRECTORIES];
int yp_touch_interval[MAX_YP_DIRECTORIES]; int yp_touch_interval[MAX_YP_DIRECTORIES];
int num_yp_directories; int num_yp_directories;
} ice_config_t; };
typedef struct { typedef struct {
rwlock_t config_lock; rwlock_t config_lock;

View File

@ -40,5 +40,8 @@ typedef struct acl_tag acl_t;
typedef struct auth_tag auth_t; typedef struct auth_tag auth_t;
/* ---[ cfgfile.[ch] ]--- */
typedef struct ice_config_tag ice_config_t;
#endif #endif