1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Cleanup: Merged event_*.h into event.h

This commit is contained in:
Philipp Schafft 2022-04-15 12:31:19 +00:00
parent 490cb54fb5
commit a1c2f04453
6 changed files with 5 additions and 48 deletions

View File

@ -43,9 +43,6 @@ noinst_HEADERS = \
fastevent.h \
navigation.h \
event.h \
event_log.h \
event_exec.h \
event_url.h \
acl.h auth.h \
metadata_xiph.h \
format.h \

View File

@ -16,9 +16,6 @@
#include <stdbool.h>
#include "event.h"
#include "event_log.h"
#include "event_exec.h"
#include "event_url.h"
#include "fastevent.h"
#include "logging.h"
#include "admin.h"

View File

@ -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);
#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

View File

@ -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

View File

@ -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

View File

@ -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