mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Update: Make listensocket_container_get_by_id() public
This commit is contained in:
parent
f898da63b8
commit
dcdd96c000
@ -53,7 +53,6 @@ struct listensocket_tag {
|
||||
sock_t sock;
|
||||
};
|
||||
|
||||
static listensocket_t * listensocket_container_get_by_id(listensocket_container_t *self, const char *id);
|
||||
static int listensocket_container_configure__unlocked(listensocket_container_t *self, const ice_config_t *config);
|
||||
static int listensocket_container_setup__unlocked(listensocket_container_t *self);
|
||||
static ssize_t listensocket_container_sockcount__unlocked(listensocket_container_t *self);
|
||||
@ -484,7 +483,7 @@ static ssize_t listensocket_container_sockcount__unlocked(listensocket_container
|
||||
return count;
|
||||
}
|
||||
|
||||
static listensocket_t * listensocket_container_get_by_id(listensocket_container_t *self, const char *id)
|
||||
listensocket_t * listensocket_container_get_by_id(listensocket_container_t *self, const char *id)
|
||||
{
|
||||
size_t i;
|
||||
const listener_t *listener;
|
||||
|
@ -22,6 +22,7 @@ int listensocket_container_setup(listensocket_container_
|
||||
connection_t * listensocket_container_accept(listensocket_container_t *self, int timeout);
|
||||
int listensocket_container_set_sockcount_cb(listensocket_container_t *self, void (*cb)(size_t count, void *userdata), void *userdata);
|
||||
ssize_t listensocket_container_sockcount(listensocket_container_t *self);
|
||||
listensocket_t * listensocket_container_get_by_id(listensocket_container_t *self, const char *id);
|
||||
|
||||
REFOBJECT_FORWARD_TYPE(listensocket_t);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user