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:
parent
526ecdaa8b
commit
924d0e00ec
@ -695,6 +695,9 @@ static inline xmlNodePtr __add_listener(client_t *client,
|
|||||||
case ICECAST_PROTOCOL_SHOUTCAST:
|
case ICECAST_PROTOCOL_SHOUTCAST:
|
||||||
xmlNewTextChild(node, NULL, XMLSTR("protocol"), XMLSTR("icy"));
|
xmlNewTextChild(node, NULL, XMLSTR("protocol"), XMLSTR("icy"));
|
||||||
break;
|
break;
|
||||||
|
case ICECAST_PROTOCOL_GOPHER:
|
||||||
|
xmlNewTextChild(node, NULL, XMLSTR("protocol"), XMLSTR("gopher"));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return node;
|
return node;
|
||||||
|
@ -31,7 +31,8 @@
|
|||||||
|
|
||||||
typedef enum _protocol_tag {
|
typedef enum _protocol_tag {
|
||||||
ICECAST_PROTOCOL_HTTP = 0,
|
ICECAST_PROTOCOL_HTTP = 0,
|
||||||
ICECAST_PROTOCOL_SHOUTCAST
|
ICECAST_PROTOCOL_SHOUTCAST,
|
||||||
|
ICECAST_PROTOCOL_GOPHER,
|
||||||
} protocol_t;
|
} protocol_t;
|
||||||
|
|
||||||
typedef enum _reuse_tag {
|
typedef enum _reuse_tag {
|
||||||
|
Loading…
Reference in New Issue
Block a user