1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Update: Added protocol value for gopher

This commit is contained in:
Philipp Schafft 2018-03-01 10:19:01 +00:00
parent 526ecdaa8b
commit 924d0e00ec
2 changed files with 5 additions and 1 deletions

View File

@ -695,6 +695,9 @@ static inline xmlNodePtr __add_listener(client_t *client,
case ICECAST_PROTOCOL_SHOUTCAST:
xmlNewTextChild(node, NULL, XMLSTR("protocol"), XMLSTR("icy"));
break;
case ICECAST_PROTOCOL_GOPHER:
xmlNewTextChild(node, NULL, XMLSTR("protocol"), XMLSTR("gopher"));
break;
}
return node;

View File

@ -31,7 +31,8 @@
typedef enum _protocol_tag {
ICECAST_PROTOCOL_HTTP = 0,
ICECAST_PROTOCOL_SHOUTCAST
ICECAST_PROTOCOL_SHOUTCAST,
ICECAST_PROTOCOL_GOPHER,
} protocol_t;
typedef enum _reuse_tag {