gnash-commit
[Top][All Lists]
Advanced

[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 23:31:46 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  08/03/22 23:31:46

Modified files:
        libbase        : network.h 

Log message:
        DSOEXPORTS for cygnal

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/network.h?cvsroot=gnash&r1=1.24&r2=1.25

Patches:
Index: network.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/network.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- network.h   22 Mar 2008 21:56:21 -0000      1.24
+++ network.h   22 Mar 2008 23:31:46 -0000      1.25
@@ -69,11 +69,11 @@
     // Create a new server. After creating it, then you have to wait
     // for an incoming connection.
     bool createServer(void);
-    bool createServer(short port);
+    DSOEXPORT bool createServer(short port);
     
     // Accept a client connection for the current server.
     bool newConnection(void);
-    bool newConnection(bool block);
+    DSOEXPORT bool newConnection(bool block);
 
     // Connect to a named pipe
     bool connectSocket(const std::string &sock);
@@ -86,13 +86,13 @@
 
     // Read from the connection
     int readNet(byte_t *buffer, int nbytes);
-    int readNet(byte_t *buffer, int nbytes, int timeout);
+    DSOEXPORT int readNet(byte_t *buffer, int nbytes, int timeout);
     int readNet(int fd, byte_t *buffer, int nbytes);
     int readNet(int fd, byte_t *buffer, int nbytes, int timeout);
     
     // Write to the connection
     int writeNet(const std::string &buffer);
-    int writeNet(const byte_t *buffer, int nbytes);
+    DSOEXPORT int writeNet(const byte_t *buffer, int nbytes);
 //    int writeNet(int fd, const byte_t *buffer);
     int writeNet(int fd, const byte_t *buffer, int nbytes);
     int writeNet(int fd, const byte_t *buffer, int nbytes, int timeout);
@@ -100,7 +100,7 @@
     // Close the connection
     DSOEXPORT bool closeNet();
     bool closeNet(int fd);
-    bool closeConnection();
+    DSOEXPORT bool closeConnection();
     bool closeConnection(int fd);
 
     // Change the debug flag




reply via email to

[Prev in Thread] Current Thread [Next in Thread]