summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2002-07-10 17:37:08 +0000
committerSteve Huston <shuston@riverace.com>2002-07-10 17:37:08 +0000
commit867afe4284680facf42917e774406fb6fb854afb (patch)
tree55d637c9a7671771ba00c67e205be41ddbe036eb
parentd83514d953c4d39e3aab7958ba5a13eeea4bf1bf (diff)
downloadATCD-867afe4284680facf42917e774406fb6fb854afb.tar.gz
ChangeLogTag:Wed Jul 10 13:31:49 2002 Steve Huston <shuston@riverace.com>
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLogs/ChangeLog-03a8
-rw-r--r--examples/C++NPv2/CLD.dsp137
-rw-r--r--examples/C++NPv2/Client_Logging_Daemon.cpp3
-rw-r--r--examples/C++NPv2/examples.dsw12
5 files changed, 168 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cc59bd5304..a92b88a6761 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Wed Jul 10 13:31:49 2002 Steve Huston <shuston@riverace.com>
+
+ * examples/C++NPv2/CLD.dsp:
+ * examples/C++NPv2/examples.dsw: Added CLD project.
+
+ * examples/Client_Logging_Daemon.cpp: Disable the info, suspend, and
+ resume methods - these are left as an exercise for the reader.
+
Wed Jul 10 11:24:39 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/AIO_CLD.dsp:
diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a
index 2cc59bd5304..a92b88a6761 100644
--- a/ChangeLogs/ChangeLog-03a
+++ b/ChangeLogs/ChangeLog-03a
@@ -1,3 +1,11 @@
+Wed Jul 10 13:31:49 2002 Steve Huston <shuston@riverace.com>
+
+ * examples/C++NPv2/CLD.dsp:
+ * examples/C++NPv2/examples.dsw: Added CLD project.
+
+ * examples/Client_Logging_Daemon.cpp: Disable the info, suspend, and
+ resume methods - these are left as an exercise for the reader.
+
Wed Jul 10 11:24:39 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/AIO_CLD.dsp:
diff --git a/examples/C++NPv2/CLD.dsp b/examples/C++NPv2/CLD.dsp
new file mode 100644
index 00000000000..926278a956a
--- /dev/null
+++ b/examples/C++NPv2/CLD.dsp
@@ -0,0 +1,137 @@
+# Microsoft Developer Studio Project File - Name="CLD" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=CLD - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "CLD.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "CLD.mak" CFG="CLD - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "CLD - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "CLD - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "CLD - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "CLD___Win32_Release"
+# PROP BASE Intermediate_Dir "CLD___Win32_Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CLD_EXPORTS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\.." /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CLD_EXPORTS" /D "CLD_BUILD_DLL" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+# ADD LINK32 ace.lib libeay32.lib ssleay32.lib /nologo /dll /machine:I386 /libpath:"..\..\ace"
+
+!ELSEIF "$(CFG)" == "CLD - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "CLD___Win32_Debug"
+# PROP BASE Intermediate_Dir "CLD___Win32_Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CLD_EXPORTS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\.." /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CLD_EXPORTS" /D "CLD_BUILD_DLL" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 aced.lib libeay32.lib ssleay32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace"
+
+!ENDIF
+
+# Begin Target
+
+# Name "CLD - Win32 Release"
+# Name "CLD - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\Client_Logging_Daemon.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\Logging_Acceptor.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\Logging_Event_Handler.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\Logging_Handler.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\CLD_export.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\Logging_Acceptor.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\Logging_Event_Handler.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\Logging_Handler.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# End Target
+# End Project
diff --git a/examples/C++NPv2/Client_Logging_Daemon.cpp b/examples/C++NPv2/Client_Logging_Daemon.cpp
index 4e0ce41cfaa..e37c2bbff9a 100644
--- a/examples/C++NPv2/Client_Logging_Daemon.cpp
+++ b/examples/C++NPv2/Client_Logging_Daemon.cpp
@@ -309,9 +309,12 @@ public:
// Service Configurator hook methods.
virtual int init (int argc, ACE_TCHAR *argv[]);
virtual int fini ();
+#if 0
+ // Implementing these methods is left as an exercise for the reader.
virtual int info (ACE_TCHAR **bufferp, size_t length = 0) const;
virtual int suspend ();
virtual int resume ();
+#endif
protected:
// Receives, processes, and forwards log records.
diff --git a/examples/C++NPv2/examples.dsw b/examples/C++NPv2/examples.dsw
index 9a2c1d55526..4064e7a8916 100644
--- a/examples/C++NPv2/examples.dsw
+++ b/examples/C++NPv2/examples.dsw
@@ -27,6 +27,18 @@ Package=<4>
###############################################################################
+Project: "CLD"=".\CLD.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
Project: "Configurable_Logging_Server"=".\Configurable_Logging_Server.dsp" - Package Owner=<4>
Package=<5>