comparison stream/http.c @ 25211:c1d17bd6683c

Mark all stream_info_t as const
author reimar
date Sun, 02 Dec 2007 13:22:53 +0000
parents 66f628d13442
children f42b8e689416
comparison
equal deleted inserted replaced
25210:92204ff32b27 25211:c1d17bd6683c
952 952
953 return fixup_open(stream, seekable); 953 return fixup_open(stream, seekable);
954 } 954 }
955 955
956 956
957 stream_info_t stream_info_http1 = { 957 const stream_info_t stream_info_http1 = {
958 "http streaming", 958 "http streaming",
959 "null", 959 "null",
960 "Bertrand, Albeau, Reimar Doeffinger, Arpi?", 960 "Bertrand, Albeau, Reimar Doeffinger, Arpi?",
961 "plain http", 961 "plain http",
962 open_s1, 962 open_s1,
963 {"http", "http_proxy", "unsv", NULL}, 963 {"http", "http_proxy", "unsv", NULL},
964 NULL, 964 NULL,
965 0 // Urls are an option string 965 0 // Urls are an option string
966 }; 966 };
967 967
968 stream_info_t stream_info_http2 = { 968 const stream_info_t stream_info_http2 = {
969 "http streaming", 969 "http streaming",
970 "null", 970 "null",
971 "Bertrand, Albeu, Arpi? who?", 971 "Bertrand, Albeu, Arpi? who?",
972 "plain http, also used as fallback for many other protocols", 972 "plain http, also used as fallback for many other protocols",
973 open_s2, 973 open_s2,