diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-01 11:15:26 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-01 11:15:26 +0000 |
commit | 746f4ee6169d6cd8d8e5f8d6b3b368d3ac128ac6 (patch) | |
tree | 9a2cd7fff6f9e796968703bf3bb2cb7ca5c5bf82 /examples/Service_Configurator | |
parent | a288d4fc55907205181362fee9979dc5cd9b9d07 (diff) | |
download | ATCD-746f4ee6169d6cd8d8e5f8d6b3b368d3ac128ac6.tar.gz |
ChangeLogTag:Sat Nov 1 05:40:21 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'examples/Service_Configurator')
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" |