[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/libbase network.h
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash/libbase network.h |
Date: |
Sat, 22 Mar 2008 21:56:22 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 08/03/22 21:56:22
Modified files:
libbase : network.h
Log message:
Added DSOEXPORT
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/network.h?cvsroot=gnash&r1=1.23&r2=1.24
Patches:
Index: network.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/network.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- network.h 18 Mar 2008 15:15:13 -0000 1.23
+++ network.h 22 Mar 2008 21:56:21 -0000 1.24
@@ -33,6 +33,7 @@
# include <io.h>
#endif
+#include "dsodefs.h" //For DSOEXPORT.
#include <boost/cstdint.hpp>
#include <cassert>
#include <string>
@@ -62,8 +63,8 @@
public:
typedef boost::uint8_t byte_t;
- Network();
- ~Network();
+ DSOEXPORT Network();
+ DSOEXPORT ~Network();
// Create a new server. After creating it, then you have to wait
// for an incoming connection.
@@ -81,7 +82,7 @@
bool createClient(void);
bool createClient(short port);
bool createClient(const std::string &hostname);
- bool createClient(const std::string &hostname, short port);
+ DSOEXPORT bool createClient(const std::string &hostname, short port);
// Read from the connection
int readNet(byte_t *buffer, int nbytes);
@@ -97,7 +98,7 @@
int writeNet(int fd, const byte_t *buffer, int nbytes, int timeout);
// Close the connection
- bool closeNet();
+ DSOEXPORT bool closeNet();
bool closeNet(int fd);
bool closeConnection();
bool closeConnection(int fd);
- [Gnash-commit] gnash/libbase network.h,
Markus Gothe <=