diff options
| author | 2003-01-20 21:05:52 +0000 | |
|---|---|---|
| committer | 2003-01-20 21:05:52 +0000 | |
| commit | c320b02e4e610e5cbe49f4b11b910bbc7b07da93 (patch) | |
| tree | 9e94e45b5e33fa5163250f651f2e529024d4c752 /usr.sbin/bind/lib/win32 | |
| parent | Add /var/empty/dev (diff) | |
| download | wireguard-openbsd-c320b02e4e610e5cbe49f4b11b910bbc7b07da93.tar.xz wireguard-openbsd-c320b02e4e610e5cbe49f4b11b910bbc7b07da93.zip | |
ISC BIND version 9.2.2rc1
Diffstat (limited to 'usr.sbin/bind/lib/win32')
| -rw-r--r-- | usr.sbin/bind/lib/win32/bindevt/bindevt.c | 31 | ||||
| -rw-r--r-- | usr.sbin/bind/lib/win32/bindevt/bindevt.dsp | 132 | ||||
| -rw-r--r-- | usr.sbin/bind/lib/win32/bindevt/bindevt.dsw | 29 | ||||
| -rw-r--r-- | usr.sbin/bind/lib/win32/bindevt/bindevt.mak | 213 | ||||
| -rw-r--r-- | usr.sbin/bind/lib/win32/bindevt/bindevt.mc | 47 |
5 files changed, 452 insertions, 0 deletions
diff --git a/usr.sbin/bind/lib/win32/bindevt/bindevt.c b/usr.sbin/bind/lib/win32/bindevt/bindevt.c new file mode 100644 index 00000000000..db4961dd428 --- /dev/null +++ b/usr.sbin/bind/lib/win32/bindevt/bindevt.c @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2000, 2001 Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM + * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL + * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING + * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION + * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +/* $ISC: bindevt.c,v 1.2 2001/07/19 17:13:54 gson Exp $ */ + +/* + * bindevt.c : Defines the entry point for event log viewer DLL. + */ + +#include <windows.h> + +BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, + LPVOID lpReserved) +{ + return (TRUE); +} + diff --git a/usr.sbin/bind/lib/win32/bindevt/bindevt.dsp b/usr.sbin/bind/lib/win32/bindevt/bindevt.dsp new file mode 100644 index 00000000000..4c9dc6b6aa8 --- /dev/null +++ b/usr.sbin/bind/lib/win32/bindevt/bindevt.dsp @@ -0,0 +1,132 @@ +# Microsoft Developer Studio Project File - Name="bindevt" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=bindevt - 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 "bindevt.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 "bindevt.mak" CFG="bindevt - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "bindevt - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "bindevt - 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)" == "bindevt - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "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 1 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BINDEVT_EXPORTS" /Yu"stdafx.h" /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BINDEVT_EXPORTS" /FD /c +# SUBTRACT CPP /YX /Yc /Yu +# 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 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 /pdb:none /machine:I386 /out:"..\..\..\Build\Release\bindevt.dll" + +!ELSEIF "$(CFG)" == "bindevt - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "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 1 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BINDEVT_EXPORTS" /Yu"stdafx.h" /FD /GZ /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\include" /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BINDEVT_EXPORTS" /FR /FD /GZ /c +# SUBTRACT CPP /YX /Yc /Yu +# 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 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 /pdb:none /debug /machine:I386 /out:"..\..\..\Build\Debug\bindevt.dll" + +!ENDIF + +# Begin Target + +# Name "bindevt - Win32 Release" +# Name "bindevt - Win32 Debug" +# Begin Source File + +SOURCE=.\bindevt.c +# End Source File +# Begin Source File + +SOURCE=.\bindevt.mc + +!IF "$(CFG)" == "bindevt - Win32 Release" + +# Begin Custom Build +TargetName=bindevt +InputPath=.\bindevt.mc +InputName=bindevt + +"$(TargetName).rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + mc $(InputName).mc + +# End Custom Build + +!ELSEIF "$(CFG)" == "bindevt - Win32 Debug" + +# Begin Custom Build +TargetName=bindevt +InputPath=.\bindevt.mc +InputName=bindevt + +"$(TargetName).rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + mc $(InputName).mc + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\bindevt.rc +# End Source File +# End Target +# End Project diff --git a/usr.sbin/bind/lib/win32/bindevt/bindevt.dsw b/usr.sbin/bind/lib/win32/bindevt/bindevt.dsw new file mode 100644 index 00000000000..c9e02a019d8 --- /dev/null +++ b/usr.sbin/bind/lib/win32/bindevt/bindevt.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "bindevt"=.\bindevt.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/usr.sbin/bind/lib/win32/bindevt/bindevt.mak b/usr.sbin/bind/lib/win32/bindevt/bindevt.mak new file mode 100644 index 00000000000..f639922761f --- /dev/null +++ b/usr.sbin/bind/lib/win32/bindevt/bindevt.mak @@ -0,0 +1,213 @@ +# Microsoft Developer Studio Generated NMAKE File, Based on bindevt.dsp +!IF "$(CFG)" == "" +CFG=bindevt - Win32 Debug +!MESSAGE No configuration specified. Defaulting to bindevt - Win32 Debug. +!ENDIF + +!IF "$(CFG)" != "bindevt - Win32 Release" && "$(CFG)" != "bindevt - Win32 Debug" +!MESSAGE Invalid configuration "$(CFG)" specified. +!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 "bindevt.mak" CFG="bindevt - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "bindevt - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "bindevt - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE +!ERROR An invalid configuration is specified. +!ENDIF + +!IF "$(OS)" == "Windows_NT" +NULL= +!ELSE +NULL=nul +!ENDIF + +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "bindevt - Win32 Release" + +OUTDIR=.\Release +INTDIR=.\Release + +ALL : "..\..\..\Build\Release\bindevt.dll" + + +CLEAN : + -@erase "$(INTDIR)\bindevt.obj" + -@erase "$(INTDIR)\bindevt.res" + -@erase "$(INTDIR)\vc60.idb" + -@erase "$(OUTDIR)\bindevt.exp" + -@erase "..\..\..\Build\Release\bindevt.dll" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +CPP_PROJ=/nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BINDEVT_EXPORTS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c +MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 +RSC_PROJ=/l 0x409 /fo"$(INTDIR)\bindevt.res" /d "NDEBUG" +BSC32=bscmake.exe +BSC32_FLAGS=/nologo /o"$(OUTDIR)\bindevt.bsc" +BSC32_SBRS= \ + +LINK32=link.exe +LINK32_FLAGS=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 /pdb:none /machine:I386 /out:"..\..\..\Build\Release\bindevt.dll" /implib:"$(OUTDIR)\bindevt.lib" +LINK32_OBJS= \ + "$(INTDIR)\bindevt.obj" \ + "$(INTDIR)\bindevt.res" + +"..\..\..\Build\Release\bindevt.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "bindevt - Win32 Debug" + +OUTDIR=.\Debug +INTDIR=.\Debug +# Begin Custom Macros +OutDir=.\Debug +# End Custom Macros + +ALL : "..\..\..\Build\Debug\bindevt.dll" "$(OUTDIR)\bindevt.bsc" + + +CLEAN : + -@erase "$(INTDIR)\bindevt.obj" + -@erase "$(INTDIR)\bindevt.res" + -@erase "$(INTDIR)\bindevt.sbr" + -@erase "$(INTDIR)\vc60.idb" + -@erase "$(INTDIR)\vc60.pdb" + -@erase "$(OUTDIR)\bindevt.bsc" + -@erase "$(OUTDIR)\bindevt.exp" + -@erase "..\..\..\Build\Debug\bindevt.dll" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\include" /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "BINDEVT_EXPORTS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c +MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 +RSC_PROJ=/l 0x409 /fo"$(INTDIR)\bindevt.res" /d "_DEBUG" +BSC32=bscmake.exe +BSC32_FLAGS=/nologo /o"$(OUTDIR)\bindevt.bsc" +BSC32_SBRS= \ + "$(INTDIR)\bindevt.sbr" + +"$(OUTDIR)\bindevt.bsc" : "$(OUTDIR)" $(BSC32_SBRS) + $(BSC32) @<< + $(BSC32_FLAGS) $(BSC32_SBRS) +<< + +LINK32=link.exe +LINK32_FLAGS=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 /pdb:none /debug /machine:I386 /out:"..\..\..\Build\Debug\bindevt.dll" /implib:"$(OUTDIR)\bindevt.lib" +LINK32_OBJS= \ + "$(INTDIR)\bindevt.obj" \ + "$(INTDIR)\bindevt.res" + +"..\..\..\Build\Debug\bindevt.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ENDIF + +.c{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + + +!IF "$(NO_EXTERNAL_DEPS)" != "1" +!IF EXISTS("bindevt.dep") +!INCLUDE "bindevt.dep" +!ELSE +!MESSAGE Warning: cannot find "bindevt.dep" +!ENDIF +!ENDIF + + +!IF "$(CFG)" == "bindevt - Win32 Release" || "$(CFG)" == "bindevt - Win32 Debug" +SOURCE=.\bindevt.c + +!IF "$(CFG)" == "bindevt - Win32 Release" + + +"$(INTDIR)\bindevt.obj" : $(SOURCE) "$(INTDIR)" + + +!ELSEIF "$(CFG)" == "bindevt - Win32 Debug" + + +"$(INTDIR)\bindevt.obj" "$(INTDIR)\bindevt.sbr" : $(SOURCE) "$(INTDIR)" + + +!ENDIF + +SOURCE=.\bindevt.mc + +!IF "$(CFG)" == "bindevt - Win32 Release" + +TargetName=bindevt +InputPath=.\bindevt.mc +InputName=bindevt + +".\bindevt.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + <<tempfile.bat + @echo off + mc $(InputName).mc +<< + + +!ELSEIF "$(CFG)" == "bindevt - Win32 Debug" + +TargetName=bindevt +InputPath=.\bindevt.mc +InputName=bindevt + +".\bindevt.rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + <<tempfile.bat + @echo off + mc $(InputName).mc +<< + + +!ENDIF + +SOURCE=.\bindevt.rc + +"$(INTDIR)\bindevt.res" : $(SOURCE) "$(INTDIR)" + $(RSC) $(RSC_PROJ) $(SOURCE) + + + +!ENDIF + diff --git a/usr.sbin/bind/lib/win32/bindevt/bindevt.mc b/usr.sbin/bind/lib/win32/bindevt/bindevt.mc new file mode 100644 index 00000000000..7943ab8324d --- /dev/null +++ b/usr.sbin/bind/lib/win32/bindevt/bindevt.mc @@ -0,0 +1,47 @@ +; +; Copyright (C) 2000, 2001 Internet Software Consortium. +; +; Permission to use, copy, modify, and distribute this software for any +; purpose with or without fee is hereby granted, provided that the above +; copyright notice and this permission notice appear in all copies. +; +; THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM +; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL +; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL +; INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, +; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING +; FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION +; WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +; + +MessageIdTypedef=DWORD + +LanguageNames = (English=0x409:MSG00409) + +OutputBase = 16 + + +MessageId=0x1 +Severity=Error +Facility=Application +SymbolicName=BIND_ERR_MSG +Language=English +%1 +. + +MessageId=0x2 +Severity=Warning +Facility=Application +SymbolicName=BIND_WARN_MSG +Language=English +%1 +. + +MessageId=0x3 +Severity=Informational +Facility=Application +SymbolicName=BIND_INFO_MSG +Language=English +%1 +. |
