mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
bdcf008b7c
<event> has been added and can be used within <kartoffelsalat> both in <icecast> and <mount>. <event> takes backend depending <option> child tags. Currently supported backends: - log: send message to error log. - exec: executes a program or script. - url: delivers the event via HTTP. within <mount> <on-connect> and <on-disconnect> has been replaced by <event>. Config parser can on-the-fly convert old tags. Also <authentication type="url"> within <mount> has been fixed for those cases with <option name="mount_add" .../> and <option name="mount_remove" .../> which are now on-the-fly converted by the parser to corresponding <event> tags. Please also see TAGs added as per #2098. Some include hints for documentation updates needed after this change. Those updates should take place before 2.4.2.
15 lines
370 B
C
15 lines
370 B
C
/* 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
|