[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r10018: fix visibility attribute for
From: |
Markus Gothe |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r10018: fix visibility attribute for RTMP branch / Cygnal |
Date: |
Sun, 22 Feb 2009 02:41:59 +0100 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10018
committer: Markus Gothe <address@hidden>
branch nick: rtmp
timestamp: Sun 2009-02-22 02:41:59 +0100
message:
fix visibility attribute for RTMP branch / Cygnal
modified:
cygnal/cygnal.h
cygnal/http_server.cpp
cygnal/http_server.h
cygnal/rtmp_server.h
libnet/cache.h
libnet/cque.h
libnet/diskstream.h
libnet/http.h
=== modified file 'cygnal/cygnal.h'
--- a/cygnal/cygnal.h 2008-12-18 00:05:49 +0000
+++ b/cygnal/cygnal.h 2009-02-22 01:41:59 +0000
@@ -1,5 +1,5 @@
//
-// Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
=== modified file 'cygnal/http_server.cpp'
--- a/cygnal/http_server.cpp 2009-02-22 00:43:24 +0000
+++ b/cygnal/http_server.cpp 2009-02-22 01:41:59 +0000
@@ -1,6 +1,6 @@
// http.cpp: HyperText Transport Protocol handler for Cygnal, for Gnash.
//
-// Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
=== modified file 'cygnal/http_server.h'
--- a/cygnal/http_server.h 2009-02-21 18:55:04 +0000
+++ b/cygnal/http_server.h 2009-02-22 01:41:59 +0000
@@ -1,5 +1,5 @@
//
-// Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -35,11 +35,12 @@
#include "network.h"
#include "buffer.h"
#include "diskstream.h"
+#include "dsodefs.h"
namespace cygnal
{
-class HTTPServer : public gnash::HTTP
+class DSOEXPORT HTTPServer : public gnash::HTTP
{
public:
HTTPServer();
@@ -101,7 +102,7 @@
// This is the thread for all incoming HTTP connections
extern "C" {
- bool http_handler(gnash::Network::thread_params_t *args);
+ bool DSOEXPORT http_handler(gnash::Network::thread_params_t *args);
}
} // end of gnash namespace
=== modified file 'cygnal/rtmp_server.h'
--- a/cygnal/rtmp_server.h 2009-02-14 22:42:54 +0000
+++ b/cygnal/rtmp_server.h 2009-02-22 01:41:59 +0000
@@ -1,5 +1,5 @@
//
-// Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+// Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifndef _RTMP_SERVER_H_
-#define _RTMP_SERVER_H_ 1
+#define _RTMP_SERVER_H_
#include <boost/cstdint.hpp>
#include <boost/shared_ptr.hpp>
@@ -30,6 +30,7 @@
#include "buffer.h"
#include "diskstream.h"
#include "rtmp_msg.h"
+#include "dsodefs.h"
namespace cygnal
{
@@ -85,7 +86,7 @@
};
// This is the thread for all incoming RTMP connections
-bool rtmp_handler(gnash::Network::thread_params_t *args);
+bool DSOEXPORT rtmp_handler(gnash::Network::thread_params_t *args);
} // end of gnash namespace
// end of _RTMP_SERVER_H_
=== modified file 'libnet/cache.h'
--- a/libnet/cache.h 2009-02-14 22:42:54 +0000
+++ b/libnet/cache.h 2009-02-22 01:41:59 +0000
@@ -1,5 +1,5 @@
//
-// Copyright (C) 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -31,6 +31,7 @@
#include "statistics.h"
#include "diskstream.h"
#include "getclocktime.hpp"
+#include "dsodefs.h"
/// \namespace gnash
/// This is the main namespace for Gnash and it's libraries.
@@ -48,9 +49,9 @@
public:
Cache();
~Cache();
- static Cache& getDefaultInstance();
+ DSOEXPORT static Cache& getDefaultInstance();
- void addPath(const std::string &name, const std::string &fullpath);
+ void DSOEXPORT addPath(const std::string &name, const std::string
&fullpath);
std::string &findPath(const std::string &name);
void removePath(const std::string &name);
@@ -59,7 +60,7 @@
void removeResponse(const std::string &name);
void addFile(const std::string &name, boost::shared_ptr<DiskStream >
&file);
- boost::shared_ptr<DiskStream> findFile(const std::string &name);
+ boost::shared_ptr<DiskStream> DSOEXPORT findFile(const std::string &name);
void removeFile(const std::string &name);
/// \brief Dump the internal data of this class in a human readable form.
@@ -69,7 +70,7 @@
void dump(std::ostream& os) const;
#ifdef USE_STATS_CACHE
- std::string stats(bool xml) const;
+ std::string DSOEXPORT stats(bool xml) const;
#endif
private:
/// \var Cache::_pathnames
=== modified file 'libnet/cque.h'
--- a/libnet/cque.h 2009-01-26 09:03:34 +0000
+++ b/libnet/cque.h 2009-02-22 01:41:59 +0000
@@ -1,5 +1,5 @@
//
-// Copyright (C) 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
//
#ifndef __CQUE_H__
-#define __CQUE_H__ 1
+#define __CQUE_H__
#include <boost/cstdint.hpp>
#include <boost/thread/mutex.hpp>
@@ -53,7 +53,7 @@
// Pop the first date element off the que
boost::shared_ptr<amf::Buffer> DSOEXPORT pop();
// Peek at the first date element witjhout removing it from the que
- boost::shared_ptr<amf::Buffer> peek();
+ boost::shared_ptr<amf::Buffer> DSOEXPORT peek();
// Get the number of elements in the que
size_t DSOEXPORT size();
// Wait for a condition variable to trigger
=== modified file 'libnet/diskstream.h'
--- a/libnet/diskstream.h 2008-12-01 15:43:33 +0000
+++ b/libnet/diskstream.h 2009-02-22 01:41:59 +0000
@@ -1,5 +1,5 @@
//
-// Copyright (C) 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -31,6 +31,7 @@
#include "cque.h"
#include "statistics.h"
#include "getclocktime.hpp"
+#include "dsodefs.h"
#include <boost/scoped_ptr.hpp>
/// \namespace gnash
@@ -42,7 +43,7 @@
/// of using read() from the standard library, this uses mmap() to
/// map the file into memory in chunks of the memory pagesize,
/// which is much faster and less resource intensive.
-class DiskStream {
+class DSOEXPORT DiskStream {
public:
/// \enum DiskStream::state_e
/// This represents the state of the current stream.
=== modified file 'libnet/http.h'
--- a/libnet/http.h 2009-02-22 00:40:02 +0000
+++ b/libnet/http.h 2009-02-22 01:41:59 +0000
@@ -38,7 +38,7 @@
namespace gnash
{
-class HTTP : public gnash::Network
+class DSOEXPORT HTTP : public gnash::Network
{
public:
// as defined by the W3: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r10018: fix visibility attribute for RTMP branch / Cygnal,
Markus Gothe <=