--- Shout-2.1/Shout.pm 2005-02-14 15:23:00.000000000 -0500 +++ Shout-2.1-fs/Shout.pm 2010-05-28 09:58:15.000000000 -0400 @@ -95,6 +95,7 @@ tag is given as an argument to the Cshout_send( $data, $len ) ? 0 : 1; } +sub send_raw ($$) { + my $self = shift or croak "send_data: Method called as function"; + my $data = shift or croak "send_data: No data specified"; + my $len = shift || length $data; + + return $self->shout_send_raw( $data, $len ); +} + ### METHOD: sync( undef ) ### Sleep until the connection is ready for more data. This function should be --- Shout-2.1/Shout.xs 2005-02-14 15:15:15.000000000 -0500 +++ Shout-2.1-fs/Shout.xs 2010-05-25 11:47:59.000000000 -0400 @@ -119,6 +119,11 @@ shout_set_host(self, str) const char *str void +shout_set_mime(self, str) + shout_t *self + const char *str + +void shout_set_port(self, num) shout_t *self int num @@ -177,6 +182,10 @@ const char * shout_get_host(self) shout_t *self +const char * +shout_get_mime(self) + shout_t *self + unsigned short shout_get_port(self) shout_t *self @@ -268,6 +277,12 @@ shout_send(self, buff, len) unsigned char *buff unsigned long len +int +shout_send_raw(self, buff, len) + shout_t *self + unsigned char *buff + unsigned long len + void shout_sync(self) shout_t *self