Changeset 4742:14aa2c42403d in roaraudio
- Timestamp:
- 01/31/11 11:05:06 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/roard/protocol-gopher.c
r4716 r4742 51 51 }; 52 52 53 // need a true constant string. 54 #define info_text \ 55 "This server is RoarAudio server (roard) with a small status gopher server\n" \ 56 "integrated. (For version and stuff see /status.txt.)\n" \ 57 "RoarAudio is a modern, multi OS, networed sound system.\n" \ 58 "For more information see http://roaraudio.keep-cool.org/\n" 59 53 60 static struct item { 54 61 const char * selector; … … 69 76 .cb = NULL 70 77 }, 71 {.selector = "/info.txt", .type = _FILE, .text = "Some\nText.", .cb = NULL},78 {.selector = "/info.txt", .type = _FILE, .text = info_text, .cb = NULL}, 72 79 {.selector = "/status.txt", .type = _FILE, .cb = scb_status_txt}, 73 80 {.selector = "/test/*", .type = _FILE, .cb = scb_test}, … … 109 116 "Server description: %s\r\n" 110 117 "\r\n" 111 "Counters current: %llu clients, %llu streams\r\n", 118 "Counters current: %llu clients, %llu streams\r\n" 119 "Counters sum: %llu clients, %llu streams\r\n", 112 120 server_version, 113 121 g_config->location, 114 122 g_config->description, 115 123 (long long unsigned int)g_counters.cur.clients, 116 (long long unsigned int)g_counters.cur.streams 124 (long long unsigned int)g_counters.cur.streams, 125 (long long unsigned int)g_counters.sum.clients, 126 (long long unsigned int)g_counters.sum.streams 117 127 ); 118 128
Note: See TracChangeset
for help on using the changeset viewer.