mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
Cleanup: Merged event_*.h into event.h
This commit is contained in:
parent
490cb54fb5
commit
a1c2f04453
@ -43,9 +43,6 @@ noinst_HEADERS = \
|
|||||||
fastevent.h \
|
fastevent.h \
|
||||||
navigation.h \
|
navigation.h \
|
||||||
event.h \
|
event.h \
|
||||||
event_log.h \
|
|
||||||
event_exec.h \
|
|
||||||
event_url.h \
|
|
||||||
acl.h auth.h \
|
acl.h auth.h \
|
||||||
metadata_xiph.h \
|
metadata_xiph.h \
|
||||||
format.h \
|
format.h \
|
||||||
|
@ -16,9 +16,6 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "event.h"
|
#include "event.h"
|
||||||
#include "event_log.h"
|
|
||||||
#include "event_exec.h"
|
|
||||||
#include "event_url.h"
|
|
||||||
#include "fastevent.h"
|
#include "fastevent.h"
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
#include "admin.h"
|
#include "admin.h"
|
||||||
|
@ -100,4 +100,9 @@ void event_registration_push(event_registration_t **er, event_registration_t *ta
|
|||||||
void event_emit_clientevent(const char *trigger, client_t *client, const char *uri);
|
void event_emit_clientevent(const char *trigger, client_t *client, const char *uri);
|
||||||
#define event_emit_global(x) event_emit_clientevent((x), NULL, NULL)
|
#define event_emit_global(x) event_emit_clientevent((x), NULL, NULL)
|
||||||
|
|
||||||
|
/* Implementations */
|
||||||
|
int event_get_exec(event_registration_t *er, config_options_t *options);
|
||||||
|
int event_get_url(event_registration_t *er, config_options_t *options);
|
||||||
|
int event_get_log(event_registration_t *er, config_options_t *options);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
/* Icecast
|
|
||||||
*
|
|
||||||
* This program is distributed under the GNU General Public License, version 2.
|
|
||||||
* A copy of this license is included with this source.
|
|
||||||
*
|
|
||||||
* Copyright 2014, Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>,
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __EVENT_EXEC_H__
|
|
||||||
#define __EVENT_EXEC_H__
|
|
||||||
|
|
||||||
int event_get_exec(event_registration_t *er, config_options_t *options);
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,14 +0,0 @@
|
|||||||
/* Icecast
|
|
||||||
*
|
|
||||||
* This program is distributed under the GNU General Public License, version 2.
|
|
||||||
* A copy of this license is included with this source.
|
|
||||||
*
|
|
||||||
* Copyright 2014, Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>,
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __EVENT_LOG_H__
|
|
||||||
#define __EVENT_LOG_H__
|
|
||||||
|
|
||||||
int event_get_log(event_registration_t *er, config_options_t *options);
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,14 +0,0 @@
|
|||||||
/* Icecast
|
|
||||||
*
|
|
||||||
* This program is distributed under the GNU General Public License, version 2.
|
|
||||||
* A copy of this license is included with this source.
|
|
||||||
*
|
|
||||||
* Copyright 2014, Philipp "ph3-der-loewe" Schafft <lion@lion.leolix.org>,
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __EVENT_URL_H__
|
|
||||||
#define __EVENT_URL_H__
|
|
||||||
|
|
||||||
int event_get_url(event_registration_t *er, config_options_t *options);
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue
Block a user