Displaying 9 results from an estimated 9 matches for "avl_nod".
Did you mean:
avl_node
2004 Aug 06
0
icecast2 on solaris ... (fwd)
...error before `*'
../thread/thread.h:123: parse error before `*'
In file included from avl.c:36:
avl.h:28: parse error before `rwlock_t'
avl.h:28: warning: no semicolon at end of struct or union
avl.h:29: warning: data definition has no type or storage class
avl.h:57: parse error before `avl_node'
avl.h:57: warning: no semicolon at end of struct or union
avl.h:63: parse error before `rwlock'
avl.h:63: warning: data definition has no type or storage class
avl.h:64: warning: data definition has no type or storage class
avl.h:66: parse error before `*'
avl.h:66: warning: data defi...
2004 Aug 06
2
My turn to have issues with compiling libshout
...ass
../config.h:120: syntax error before '*' token
In file included from avl.c:39:
avl.h:36: syntax error before "rwlock_t"
avl.h:36: warning: no semicolon at end of struct or union
avl.h:38: warning: data definition has no type or storage class
avl.h:66: syntax error before "avl_node"
avl.h:66: warning: no semicolon at end of struct or union
avl.h:72: syntax error before "rwlock"
avl.h:72: warning: data definition has no type or storage class
avl.h:74: warning: data definition has no type or storage class
avl.h:76: syntax error before '*' token
avl.h:76:...
2004 Aug 06
1
Compile errors
...ype or storage class
../thread/thread.h:147: parse error before `*'
In file included from avl.c:36:
avl.h:28: parse error before `rwlock_t'
avl.h:28: warning: no semicolon at end of struct or union
avl.h:29: warning: data definition has no type or storage class
avl.h:57: parse error before `avl_node'
avl.h:57: warning: no semicolon at end of struct or union
avl.h:63: parse error before `rwlock'
avl.h:63: warning: data definition has no type or storage class
avl.h:64: warning: data definition has no type or storage class
avl.h:66: parse error before `*'
avl.h:66: warning: data defi...
2008 Aug 25
2
patch for native iphone support
..._data;
metadata = httpp_getvar(client->parser, "icy-metadata");
Index: src/format.c
===================================================================
--- src/format.c (revision 15198)
+++ src/format.c (working copy)
@@ -279,13 +279,22 @@
int bitrate_filtered = 0;
avl_node *node;
ice_config_t *config;
+ char *range;
remaining = client->refbuf->len;
ptr = client->refbuf->data;
client->respcode = 200;
- bytes = snprintf (ptr, remaining, "HTTP/1.0 200 OK\r\n"
+ range = httpp_getvar (client->parser, "range&...
2009 Sep 26
0
patch to make media player classic works in stream mode instead of download play mode (shoutcastsource)
...================================================
--- src/format.c (revision 16570)
+++ src/format.c (working copy)
@@ -275,6 +275,8 @@
{
unsigned remaining;
char *ptr;
+ const char *useragent;
+ const char *protocol;
int bytes;
int bitrate_filtered = 0;
avl_node *node;
@@ -284,9 +286,19 @@
ptr = client->refbuf->data;
client->respcode = 200;
- bytes = snprintf (ptr, remaining, "HTTP/1.0 200 OK\r\n"
- "Content-Type: %s\r\n", source->format->contenttype);
+ useragent = httpp_getvar (client->pa...
2008 Nov 29
0
Icecast Streaming to an iPhone or iPod touch
...let me know how it works. I have been streaming a local weather radio on Icecast with the iPhone patch (attached) has been working great!
Thanks,
Christopher Zenzel
--- src/format.c 2008-04-19 23:24:30.000000000 -0400
+++ src/format.c 2008-11-29 15:50:59.000000000 -0500
@@ -280,12 +280,32 @@
avl_node *node;
ice_config_t *config;
+ /* Partial hack, check for range and user agent in this function */
+ const char *useragent;
+ useragent = httpp_getvar (client->parser, "user-agent");
+ int appledevicesupp = 0;
+
+ if (useragent && strstr(useragent, &q...
2004 Aug 06
2
icecast 2 compatibility with older clients
...-p -r1.20 format.c
--- src/format.c 15 Mar 2003 02:10:17 -0000 1.20
+++ src/format.c 2 Jul 2003 23:17:53 -0000
@@ -1,3 +1,4 @@
+/* -*- c-basic-offset: 4; -*- */
/* format.c
**
** format plugin implementation
@@ -101,7 +102,11 @@ void format_send_general_headers(format_
http_var_t *var;
avl_node *node;
int bytes;
+ char *client_is_icy;
+ /* if the client uses icy headers, we'll respond in kind */
+ client_is_icy = httpp_getvar(client->parser, "icy-metadata");
+
/* iterate through source http headers and send to client */
avl_tree_rlock(source...
2004 Aug 06
4
No Duplicate Users - Patch
.../auth.c
===================================================================
--- src/auth.c (revision 6619)
+++ src/auth.c (working copy)
@@ -34,6 +34,30 @@
#define CATMODULE "auth"
<p>+int auth_is_listener_connected(source_t *source, char *username)
+{
+ client_t *client;
+ avl_node *client_node;
+
+ avl_tree_rlock(source->client_tree);
+
+ client_node = avl_get_first(source->client_tree);
+ while(client_node) {
+ client = (client_t *)client_node->key;
+ if (client->username) {
+ if (!strcmp(client->username, username)) {
+...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello,
I work at SmarctJog.com, we have here some patches on IceCast for
performance and reliability, these are mostly client/connection/source
cleanups (a slave merge is underway, and some more good stuff (c)),
but we'd like this to be merged in before the list gets any longer.
Please find attached a list of our patches with a short desc:
This one is actually not from us/me, it was found