summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Service_Configurator')
-rw-r--r--examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp5
-rw-r--r--examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp4
-rw-r--r--examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp1
-rw-r--r--examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp2
-rw-r--r--examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp1
-rw-r--r--examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp2
-rw-r--r--examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp1
-rw-r--r--examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp2
-rw-r--r--examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp2
-rw-r--r--examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp2
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.i1
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.i1
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.i1
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i1
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.i1
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.i1
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.i2
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.i1
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i2
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp2
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i1
-rw-r--r--examples/Service_Configurator/Misc/main.cpp1
22 files changed, 33 insertions, 4 deletions
diff --git a/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp
index 7cb5b719a1b..9918ecfdc28 100644
--- a/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp
@@ -3,10 +3,13 @@
// Tests out the broadcast service of the
// Internet domain IPC-SAP dgram abstraction.
+#include "ace/OS_main.h"
#include "ace/INET_Addr.h"
#include "ace/SOCK_Dgram_Bcast.h"
#include "ace/Get_Opt.h"
#include "ace/Log_Msg.h"
+#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_string.h"
ACE_RCSID(client, broadcast_client_test, "$Id$")
@@ -51,7 +54,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
static char buf[] = "testing socket broadcast service";
- if (sd.send (buf, strlen (buf), broadcast_port_number) == -1)
+ if (sd.send (buf, ACE_OS::strlen (buf), broadcast_port_number) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "can't send broadcast"), -1);
return 0;
diff --git a/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp
index fb9769dd458..08b5524c947 100644
--- a/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/local_dgram_client_test.cpp
@@ -2,11 +2,13 @@
// Tests out the UNIX domain IPC-SAP abstraction.
-#include "ace/OS.h"
+#include "ace/OS_main.h"
#include "ace/LSOCK_CODgram.h"
#include "ace/LSOCK_Dgram.h"
#include "ace/UNIX_Addr.h"
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_string.h"
+#include "ace/OS_NS_stdio.h"
ACE_RCSID(client, local_dgram_client_test, "$Id$")
diff --git a/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp
index 51b566c24e9..eaf416c9dbf 100644
--- a/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp
@@ -3,6 +3,7 @@
// Send a file through ACE_FIFO communication channel by
// breaking it (the file) into pieces.
+#include "ace/OS_main.h"
#include "ace/Mem_Map.h"
#include "ace/FIFO_Send_Msg.h"
#include "ace/Get_Opt.h"
diff --git a/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp
index 08d00e325eb..5671bd73224 100644
--- a/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/local_pipe_client_test.cpp
@@ -4,7 +4,7 @@
// pipes and then ships certain ends over to the server to act as a
// filter!
-#include "ace/OS.h"
+#include "ace/OS_main.h"
#include "ace/LSOCK_Connector.h"
#include "ace/UNIX_Addr.h"
#include "ace/Get_Opt.h"
diff --git a/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp
index a565c8b4f15..77406f9bada 100644
--- a/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp
@@ -3,6 +3,7 @@
// Send a file through ACE_SPIPE communication channel by
// breaking it (the file) into pieces.
+#include "ace/OS_main.h"
#include "ace/Mem_Map.h"
#include "ace/SPIPE_Connector.h"
#include "ace/Get_Opt.h"
diff --git a/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp
index 9bb8dbf128d..a26d988bd05 100644
--- a/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/local_stream_client_test.cpp
@@ -2,7 +2,7 @@
// Tests out the UNIX domain IPC-SAP abstraction.
-#include "ace/OS.h"
+#include "ace/OS_main.h"
#include "ace/LSOCK_Connector.h"
#include "ace/UNIX_Addr.h"
#include "ace/Get_Opt.h"
diff --git a/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp
index 7640824a36e..400865ad7bb 100644
--- a/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp
@@ -2,6 +2,7 @@
// Tests out the Internet domain IPC-SAP dgram abstraction.
+#include "ace/OS_main.h"
#include "ace/Mem_Map.h"
#include "ace/SOCK_Dgram.h"
#include "ace/INET_Addr.h"
diff --git a/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp
index 9b3327e07e0..efefebbed9e 100644
--- a/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp
@@ -2,6 +2,8 @@
// Test program for the INET IPC-SAPs...
+#include "ace/OS_main.h"
+#include "ace/OS_NS_string.h"
#include "ace/SOCK_Connector.h"
#include "ace/INET_Addr.h"
#include "ace/Get_Opt.h"
diff --git a/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp
index 636223e2349..9fd5b3c00b6 100644
--- a/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp
@@ -2,6 +2,8 @@
// Test program for the INET IPC-SAPs...
+#include "ace/OS_main.h"
+#include "ace/OS_NS_string.h"
#include "ace/Mem_Map.h"
#include "ace/SOCK_Connector.h"
#include "ace/SOCK_CODgram.h"
diff --git a/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp b/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp
index 6c0c3fb9d1d..1ca5edea908 100644
--- a/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp
+++ b/examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp
@@ -2,11 +2,13 @@
// Test program for the INET ACE_TLI-SAPs...
+#include "ace/OS_main.h"
#include "ace/Mem_Map.h"
#include "ace/TLI_Connector.h"
#include "ace/INET_Addr.h"
#include "ace/Get_Opt.h"
#include "ace/Log_Msg.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(client, remote_thr_stream_client_test, "$Id$")
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.i b/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.i
index 2d960f3e9dd..d27f612bc8a 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.i
@@ -2,6 +2,7 @@
// $Id$
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
ACE_INLINE
Handle_Broadcast::~Handle_Broadcast (void)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.i b/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.i
index 4865b5eaa36..df441aff0ee 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.i
@@ -2,6 +2,7 @@
// $Id$
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
ACE_INLINE
Handle_L_CODgram::Handle_L_CODgram (void)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.i b/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.i
index 295bdd7d76d..325acada54a 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.i
@@ -2,6 +2,7 @@
// $Id$
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
ACE_INLINE
Handle_L_Dgram::Handle_L_Dgram (void)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i b/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i
index 930b4390fd8..e1a47df19fc 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.i
@@ -3,6 +3,7 @@
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
ACE_INLINE
Handle_L_FIFO::Handle_L_FIFO (void)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.i b/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.i
index a48081058e1..35c27f7c9cd 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.i
@@ -2,6 +2,7 @@
// $Id$
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
ACE_INLINE
Handle_L_Pipe::~Handle_L_Pipe (void)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.i b/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.i
index 209acc871de..1f88a676743 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.i
@@ -4,6 +4,7 @@
#include "ace/SPIPE_Stream.h"
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
#if defined (ACE_HAS_STREAM_PIPES)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.i b/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.i
index 465eb3e2fbe..7c59a4b61ff 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.i
@@ -2,6 +2,8 @@
// $Id$
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_time.h"
ACE_INLINE
Handle_L_Stream::~Handle_L_Stream (void)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.i b/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.i
index 505735ba3ed..02408f58a64 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.i
@@ -2,6 +2,7 @@
// $Id$
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
ACE_INLINE
Handle_R_Dgram::Handle_R_Dgram (void)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i b/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i
index f6599713678..476521b8c27 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i
@@ -3,6 +3,8 @@
#include "ace/Get_Opt.h"
#include "ace/WFMO_Reactor.h"
+#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_time.h"
ACE_INLINE
Handle_R_Stream::Handle_R_Stream (void)
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp b/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp
index c5c1cf3e166..58f6ef15e1c 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp
@@ -16,6 +16,8 @@ ACE_RCSID(server, Handle_Thr_Stream, "$Id$")
#include "Handle_Thr_Stream.i"
#endif /* __ACE_INLINE__ */
+#include "ace/OS_NS_time.h"
+
// Shorthand names.
#define SVH SVC_HANDLER
#define PR_AC_1 ACE_PEER_ACCEPTOR_1
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i b/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i
index 29f4be5d7d1..94aaf48f74f 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.i
@@ -3,6 +3,7 @@
#include "ace/Service_Config.h"
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
ACE_INLINE
Handle_Timeout::Handle_Timeout (void): count (0)
diff --git a/examples/Service_Configurator/Misc/main.cpp b/examples/Service_Configurator/Misc/main.cpp
index 3bb4abd62a6..ab679d47930 100644
--- a/examples/Service_Configurator/Misc/main.cpp
+++ b/examples/Service_Configurator/Misc/main.cpp
@@ -18,6 +18,7 @@
//
// ============================================================================
+#include "ace/OS_main.h"
#include "ace/Service_Config.h"
#include "ace/ARGV.h"
#include "ace/Log_Msg.h"