2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Added support for Win32

This commit is contained in:
Danny Mayer
2001-07-16 05:10:30 +00:00
parent 5deaff6621
commit f621719829
17 changed files with 1741 additions and 68 deletions

View File

@@ -48,7 +48,7 @@
* SUCH DAMAGE.
*/
/* $Id: gen-win32.h,v 1.10 2001/07/09 21:27:45 gson Exp $ */
/* $Id: gen-win32.h,v 1.11 2001/07/16 05:10:19 mayer Exp $ */
/*
* Principal Authors: Computer Systems Research Group at UC Berkeley
@@ -84,15 +84,11 @@
#include <isc/boolean.h>
#include <isc/commandline.h>
#include <isc/lang.h>
#include <isc/platform.h>
LIBISC_EXTERNAL_DATA int isc_commandline_index; /* Index into parent argv vector. */
LIBISC_EXTERNAL_DATA int isc_commandline_option; /* Character checked for validity. */
LIBISC_EXTERNAL_DATA char *isc_commandline_argument; /* Argument associated with option. */
LIBISC_EXTERNAL_DATA char *isc_commandline_progname; /* For printing error messages. */
LIBISC_EXTERNAL_DATA isc_boolean_t isc_commandline_errprint; /* Print error messages. */
LIBISC_EXTERNAL_DATA isc_boolean_t isc_commandline_reset; /* Reset processing. */
/* Index into parent argv vector. */
/* Argument associated with option. */
LIBISC_EXTERNAL_DATA char *isc_commandline_argument;
#define BADOPT '?'
#define BADARG ':'

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: gen.c,v 1.63 2001/07/16 03:05:56 marka Exp $ */
/* $Id: gen.c,v 1.64 2001/07/16 05:10:20 mayer Exp $ */
#include <config.h>
@@ -621,11 +621,11 @@ main(int argc, char **argv) {
insert_into_typenames(254, "maila", METAQUESTIONONLY);
insert_into_typenames(255, "any", METAQUESTIONONLY);
fprintf(stdout,"\ntypedef struct {\n");
fprintf(stdout,"\tconst char *name;\n");
fprintf(stdout,"\tunsigned int flags;\n");
fprintf(stdout,"} typeattr_t;\n");
fprintf(stdout,"static typeattr_t typeattr[] = {\n");
fprintf(stdout, "\ntypedef struct {\n");
fprintf(stdout, "\tconst char *name;\n");
fprintf(stdout, "\tunsigned int flags;\n");
fprintf(stdout, "} typeattr_t;\n");
fprintf(stdout, "static typeattr_t typeattr[] = {\n");
for (i = 0 ; i <= 255 ; i++) {
ttn = &typenames[i];
if (ttn->typename[0] == 0) {
@@ -635,16 +635,16 @@ main(int argc, char **argv) {
"DNS_RDATATYPEATTR_META";
else
attrs = "DNS_RDATATYPEATTR_UNKNOWN";
fprintf(stdout,"\t{ \"TYPE%d\", %s}%s\n",
fprintf(stdout, "\t{ \"TYPE%d\", %s}%s\n",
i, attrs, PRINT_COMMA(i));
} else {
fprintf(stdout,"\t{ \"%s\", %s }%s\n",
fprintf(stdout, "\t{ \"%s\", %s }%s\n",
upper(ttn->typename),
upper(ttn->attr),
PRINT_COMMA(i));
}
}
fprintf(stdout,"};\n");
fprintf(stdout, "};\n");
/*
* Run through the list of types and pre-mark the unused
@@ -666,20 +666,20 @@ main(int argc, char **argv) {
* Here, walk the list from top to bottom, calculating
* the hash (mod 256) for each name.
*/
fprintf(stdout,"#define RDATATYPE_COMPARE(_s, _d, _tn, _tp) \\\n");
fprintf(stdout,"\tdo { \\\n");
fprintf(stdout,"\t\tif (strcasecmp(_s,(_tn)) == 0) { \\\n");
fprintf(stdout,"\t\t\tif ((typeattr[_d].flags & "
fprintf(stdout, "#define RDATATYPE_COMPARE(_s, _d, _tn, _tp) \\\n");
fprintf(stdout, "\tdo { \\\n");
fprintf(stdout, "\t\tif (strcasecmp(_s,(_tn)) == 0) { \\\n");
fprintf(stdout, "\t\t\tif ((typeattr[_d].flags & "
"DNS_RDATATYPEATTR_RESERVED) != 0) \\\n");
fprintf(stdout,"\t\t\t\treturn (ISC_R_NOTIMPLEMENTED); \\\n");
fprintf(stdout,"\t\t\t*(_tp) = _d; \\\n");
fprintf(stdout,"\t\t\treturn (ISC_R_SUCCESS); \\\n");
fprintf(stdout,"\t\t} \\\n");
fprintf(stdout,"\t} while (0)\n\n");
fprintf(stdout, "\t\t\t\treturn (ISC_R_NOTIMPLEMENTED); \\\n");
fprintf(stdout, "\t\t\t*(_tp) = _d; \\\n");
fprintf(stdout, "\t\t\treturn (ISC_R_SUCCESS); \\\n");
fprintf(stdout, "\t\t} \\\n");
fprintf(stdout, "\t} while (0)\n\n");
fprintf(stdout,"#define RDATATYPE_FROMTEXT_SW(_hash,_typename,_typep) "
fprintf(stdout, "#define RDATATYPE_FROMTEXT_SW(_hash,_typename,_typep) "
"\\\n");
fprintf(stdout,"\tswitch (_hash) { \\\n");
fprintf(stdout, "\tswitch (_hash) { \\\n");
for (i = 0 ; i <= 255 ; i++) {
ttn = &typenames[i];
@@ -690,7 +690,7 @@ main(int argc, char **argv) {
continue;
hash = HASH(ttn->typename);
fprintf(stdout,"\t\tcase %u: \\\n", hash);
fprintf(stdout, "\t\tcase %u: \\\n", hash);
/*
* Find all other entries that happen to match
@@ -701,16 +701,16 @@ main(int argc, char **argv) {
if (ttn2->sorted != 0)
continue;
if (hash == HASH(ttn2->typename)) {
fprintf(stdout,"\t\t\tRDATATYPE_COMPARE"
fprintf(stdout, "\t\t\tRDATATYPE_COMPARE"
"(\"%s\", %u, "
"_typename, _typep); \\\n",
ttn2->typename, j);
ttn2->sorted = 1;
}
}
fprintf(stdout,"\t\t\tbreak; \\\n");
fprintf(stdout, "\t\t\tbreak; \\\n");
}
fprintf(stdout,"\t}\n");
fprintf(stdout, "\t}\n");
fputs("#endif /* DNS_CODE_H */\n", stdout);
} else if (type_enum) {
@@ -769,22 +769,22 @@ main(int argc, char **argv) {
char *s;
int classnum;
fprintf(stdout,"#ifndef DNS_ENUMCLASS_H\n");
fprintf(stdout,"#define DNS_ENUMCLASS_H 1\n\n");
fprintf(stdout, "#ifndef DNS_ENUMCLASS_H\n");
fprintf(stdout, "#define DNS_ENUMCLASS_H 1\n\n");
fprintf(stdout,"enum {\n");
fprintf(stdout, "enum {\n");
fprintf(stdout,"\tdns_rdataclass_reserved0 = 0,\n");
fprintf(stdout,"#define dns_rdataclass_reserved0 \\\n\t\t\t\t"
fprintf(stdout, "\tdns_rdataclass_reserved0 = 0,\n");
fprintf(stdout, "#define dns_rdataclass_reserved0 \\\n\t\t\t\t"
"((dns_rdataclass_t)dns_rdataclass_reserved0)\n");
#define PRINTCLASS(name, num) \
do { \
s = funname(name, buf1); \
classnum = num; \
fprintf(stdout,"\tdns_rdataclass_%s = %d%s\n", s, classnum, \
fprintf(stdout, "\tdns_rdataclass_%s = %d%s\n", s, classnum, \
classnum != 255 ? "," : ""); \
fprintf(stdout,"#define dns_rdataclass_%s\t" \
fprintf(stdout, "#define dns_rdataclass_%s\t" \
"((dns_rdataclass_t)dns_rdataclass_%s)\n", s, s); \
} while (0)
@@ -801,8 +801,8 @@ main(int argc, char **argv) {
#undef PRINTCLASS
fprintf(stdout,"};\n\n");
fprintf(stdout,"#endif /* DNS_ENUMCLASS_H */\n");
fprintf(stdout, "};\n\n");
fprintf(stdout, "#endif /* DNS_ENUMCLASS_H */\n");
} else if (structs) {
if (prefix != NULL) {
if ((fd = fopen(prefix,"r")) != NULL) {

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.h,v 1.28 2001/01/11 19:38:11 gson Exp $ */
/* $Id: log.h,v 1.29 2001/07/16 05:10:24 mayer Exp $ */
/* Principal Authors: DCL */
@@ -25,9 +25,9 @@
#include <isc/lang.h>
#include <isc/log.h>
extern isc_log_t *dns_lctx;
extern isc_logcategory_t dns_categories[];
extern isc_logmodule_t dns_modules[];
LIBDNS_EXTERNAL_DATA extern isc_log_t *dns_lctx;
LIBDNS_EXTERNAL_DATA extern isc_logcategory_t dns_categories[];
LIBDNS_EXTERNAL_DATA extern isc_logmodule_t dns_modules[];
#define DNS_LOGCATEGORY_NOTIFY (&dns_categories[0])
#define DNS_LOGCATEGORY_DATABASE (&dns_categories[1])

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.h,v 1.21 2001/03/28 00:58:15 gson Exp $ */
/* $Id: masterdump.h,v 1.22 2001/07/16 05:10:25 mayer Exp $ */
#ifndef DNS_MASTERDUMP_H
#define DNS_MASTERDUMP_H 1
@@ -56,14 +56,15 @@ ISC_LANG_BEGINDECLS
* tab stop for the TTL. The class is only printed for the first
* rrset in the file and shares a tab stop with the RR type.
*/
extern const dns_master_style_t dns_master_style_default;
LIBDNS_EXTERNAL_DATA extern const dns_master_style_t dns_master_style_default;
/*
* A master file style that prints explicit TTL values on each
* record line, never using $TTL statements. The TTL has a tab
* stop of its own, but the class and type share one.
*/
extern const dns_master_style_t dns_master_style_explicitttl;
LIBDNS_EXTERNAL_DATA extern const dns_master_style_t
dns_master_style_explicitttl;
/*
* A master style format designed for cache files. It prints explicit TTL
@@ -82,7 +83,7 @@ extern const dns_master_style_t dns_master_style_simple;
/*
* The style used for debugging, "dig" output, etc.
*/
extern const dns_master_style_t dns_master_style_debug;
LIBDNS_EXTERNAL_DATA extern const dns_master_style_t dns_master_style_debug;
/***
*** Functions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: name.h,v 1.93 2001/03/27 23:43:10 bwelling Exp $ */
/* $Id: name.h,v 1.94 2001/07/16 05:10:26 mayer Exp $ */
#ifndef DNS_NAME_H
#define DNS_NAME_H 1
@@ -209,7 +209,7 @@ struct dns_name {
#define DNS_NAMEATTR_NCACHE 0x0400 /* Used by resolver. */
#define DNS_NAMEATTR_CHAINING 0x0800 /* Used by resolver. */
extern dns_name_t *dns_rootname;
LIBDNS_EXTERNAL_DATA extern dns_name_t *dns_rootname;
extern dns_name_t *dns_wildcardname;
/*

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: stats.h,v 1.3 2001/01/23 01:50:29 bwelling Exp $ */
/* $Id: stats.h,v 1.4 2001/07/16 05:10:27 mayer Exp $ */
#ifndef DNS_STATS_H
#define DNS_STATS_H 1
@@ -36,7 +36,7 @@ typedef enum {
#define DNS_STATS_NCOUNTERS 6
extern const char *dns_statscounter_names[];
LIBDNS_EXTERNAL_DATA extern const char *dns_statscounter_names[];
isc_result_t
dns_stats_alloccounters(isc_mem_t *mctx, isc_uint64_t **ctrp);

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: tsig.h,v 1.39 2001/03/07 20:53:32 bwelling Exp $ */
/* $Id: tsig.h,v 1.40 2001/07/16 05:10:28 mayer Exp $ */
#ifndef DNS_TSIG_H
#define DNS_TSIG_H 1
@@ -33,7 +33,7 @@
/*
* Algorithms.
*/
extern dns_name_t *dns_tsig_hmacmd5_name;
LIBDNS_EXTERNAL_DATA extern dns_name_t *dns_tsig_hmacmd5_name;
#define DNS_TSIG_HMACMD5_NAME dns_tsig_hmacmd5_name
extern dns_name_t *dns_tsig_gssapi_name;
#define DNS_TSIG_GSSAPI_NAME dns_tsig_gssapi_name

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.31 2001/01/11 19:38:08 gson Exp $ */
/* $Id: log.c,v 1.32 2001/07/16 05:10:21 mayer Exp $ */
/* Principal Authors: DCL */
@@ -29,7 +29,7 @@
* When adding a new category, be sure to add the appropriate
* #define to <dns/log.h>.
*/
isc_logcategory_t dns_categories[] = {
LIBDNS_EXTERNAL_DATA isc_logcategory_t dns_categories[] = {
{ "notify", 0 },
{ "database", 0 },
{ "security", 0 },
@@ -47,7 +47,7 @@ isc_logcategory_t dns_categories[] = {
* When adding a new module, be sure to add the appropriate
* #define to <dns/log.h>.
*/
isc_logmodule_t dns_modules[] = {
LIBDNS_EXTERNAL_DATA isc_logmodule_t dns_modules[] = {
{ "dns/db", 0 },
{ "dns/rbtdb", 0 },
{ "dns/rbtdb64", 0 },
@@ -75,7 +75,7 @@ isc_logmodule_t dns_modules[] = {
{ NULL, 0 }
};
isc_log_t *dns_lctx = NULL;
LIBDNS_EXTERNAL_DATA isc_log_t *dns_lctx = NULL;
void
dns_log_init(isc_log_t *lctx) {

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.c,v 1.52 2001/07/06 22:53:48 gson Exp $ */
/* $Id: masterdump.c,v 1.53 2001/07/16 05:10:22 mayer Exp $ */
#include <config.h>
@@ -129,7 +129,7 @@ typedef struct dns_totext_ctx {
isc_boolean_t current_ttl_valid;
} dns_totext_ctx_t;
const dns_master_style_t
LIBDNS_EXTERNAL_DATA const dns_master_style_t
dns_master_style_default = {
DNS_STYLEFLAG_OMIT_OWNER |
DNS_STYLEFLAG_OMIT_CLASS |
@@ -142,7 +142,7 @@ dns_master_style_default = {
24, 24, 24, 32, 80, 8
};
const dns_master_style_t
LIBDNS_EXTERNAL_DATA const dns_master_style_t
dns_master_style_explicitttl = {
DNS_STYLEFLAG_OMIT_OWNER |
DNS_STYLEFLAG_OMIT_CLASS |
@@ -173,7 +173,7 @@ dns_master_style_simple = {
/*
* A style suitable for dns_rdataset_totext().
*/
const dns_master_style_t
LIBDNS_EXTERNAL_DATA const dns_master_style_t
dns_master_style_debug = {
DNS_STYLEFLAG_REL_OWNER,
24, 32, 40, 48, 80, 8
@@ -813,12 +813,13 @@ dump_rdatasets(isc_mem_t *mctx, dns_name_t *name, dns_rdatasetiter_t *rdsiter,
fprintf(f, "; %s\n", trustnames[trust]);
}
if (rds->type == 0 &&
(ctx->style.flags & DNS_STYLEFLAG_NCACHE) == 0) {
/* Omit negative cache entries */
} else {
isc_result_t result =
dump_rdataset(mctx, name, rds, ctx,
buffer, f);
buffer, f);
if (result != ISC_R_SUCCESS)
dumpresult = result;
if ((ctx->style.flags & DNS_STYLEFLAG_OMIT_OWNER) != 0)

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: stats.c,v 1.4 2001/01/23 01:50:28 bwelling Exp $ */
/* $Id: stats.c,v 1.5 2001/07/16 05:10:23 mayer Exp $ */
#include <config.h>
@@ -23,14 +23,15 @@
#include <dns/stats.h>
const char *dns_statscounter_names[DNS_STATS_NCOUNTERS] = {
LIBDNS_EXTERNAL_DATA const char *dns_statscounter_names[DNS_STATS_NCOUNTERS] =
{
"success",
"referral",
"nxrrset",
"nxdomain",
"recursion",
"failure"
};
};
isc_result_t
dns_stats_alloccounters(isc_mem_t *mctx, isc_uint64_t **ctrp) {

60
lib/dns/win32/DLLMain.c Normal file
View File

@@ -0,0 +1,60 @@
/*
* Copyright (C) 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.
*/
/* $Id: DLLMain.c,v 1.1 2001/07/16 05:10:29 mayer Exp $ */
#include <windows.h>
#include <signal.h>
BOOL InitSockets(void);
/*
* Called when we enter the DLL
*/
__declspec(dllexport) BOOL WINAPI DllMain(HINSTANCE hinstDLL,
DWORD fdwReason, LPVOID lpvReserved)
{
switch (fdwReason) {
/*
* The DLL is loading due to process
* initialization or a call to LoadLibrary.
*/
case DLL_PROCESS_ATTACH:
break;
/* The attached process creates a new thread. */
case DLL_THREAD_ATTACH:
break;
/* The thread of the attached process terminates. */
case DLL_THREAD_DETACH:
break;
/*
* The DLL is unloading from a process due to
* process termination or a call to FreeLibrary.
*/
case DLL_PROCESS_DETACH:
break;
default:
break;
}
return (TRUE);
}

107
lib/dns/win32/gen.dsp Normal file
View File

@@ -0,0 +1,107 @@
# Microsoft Developer Studio Project File - Name="gen" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=gen - 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 "gen.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 "gen.mak" CFG="gen - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "gen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "gen - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "gen - 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 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# 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 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 /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ../../../lib/isc/win32/Release/libisc.lib /nologo /subsystem:console /machine:I386
!ELSEIF "$(CFG)" == "gen - 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 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# 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 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 /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ../../../lib/isc/win32/Debug/libisc.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/gen.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "gen - Win32 Release"
# Name "gen - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=..\gen.c
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE="..\gen-win32.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

29
lib/dns/win32/gen.dsw Normal file
View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "gen"=".\gen.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

717
lib/dns/win32/libdns.def Normal file
View File

@@ -0,0 +1,717 @@
LIBRARY libdns
; Exported Functions
EXPORTS
dns_a6_init
dns_a6_reset
dns_a6_invalidate
dns_a6_copy
dns_a6_foreach
dns_acl_create
dns_acl_appendelement
dns_acl_any
dns_acl_none
dns_acl_attach
dns_acl_detach
dns_aclelement_equal
dns_acl_equal
dns_acl_isinsecure
dns_aclenv_init
dns_aclenv_copy
dns_aclenv_destroy
dns_acl_match
dns_aclelement_match
dns_adb_create
dns_adb_attach
dns_adb_detach
dns_adb_whenshutdown
dns_adb_shutdown
dns_adb_createfind
dns_adb_cancelfind
dns_adb_destroyfind
dns_adb_dump
dns_adb_dumpfind
dns_adb_marklame
dns_adb_adjustsrtt
dns_adb_changeflags
dns_adb_findaddrinfo
dns_adb_freeaddrinfo
dns_adb_flush
dns_byaddr_create
dns_byaddr_cancel
dns_byaddr_destroy
dns_byaddr_createptrname
dns_cache_create
dns_cache_attach
dns_cache_detach
dns_cache_attachdb
dns_cache_setfilename
dns_cache_load
dns_cache_dump
dns_cache_clean
dns_cache_setcleaninginterval
dns_cache_setcachesize
dns_cache_flush
dns_rdatacallbacks_init
dns_rdatacallbacks_init_stdio
dns_cert_fromtext
dns_cert_totext
dns_compress_init
dns_compress_invalidate
dns_compress_setmethods
dns_compress_getmethods
dns_compress_getedns
dns_compress_findglobal
dns_compress_add
dns_compress_rollback
dns_decompress_init
dns_decompress_invalidate
dns_decompress_setmethods
dns_decompress_getmethods
dns_decompress_edns
dns_decompress_type
dns_db_create
dns_db_attach
dns_db_detach
dns_db_ondestroy
dns_db_iscache
dns_db_iszone
dns_db_isstub
dns_db_issecure
dns_db_origin
dns_db_class
dns_db_beginload
dns_db_endload
dns_db_load
dns_db_dump
dns_db_currentversion
dns_db_newversion
dns_db_attachversion
dns_db_closeversion
dns_db_findnode
dns_db_find
dns_db_findzonecut
dns_db_attachnode
dns_db_detachnode
dns_db_expirenode
dns_db_printnode
dns_db_createiterator
dns_db_findrdataset
dns_db_allrdatasets
dns_db_addrdataset
dns_db_subtractrdataset
dns_db_deleterdataset
dns_db_getsoaserial
dns_db_overmem
dns_db_nodecount
dns_db_ispersistent
dns_db_register
dns_db_unregister
dns_dbiterator_destroy
dns_dbiterator_first
dns_dbiterator_last
dns_dbiterator_seek
dns_dbiterator_prev
dns_dbiterator_next
dns_dbiterator_current
dns_dbiterator_pause
dns_dbiterator_origin
dns_dbiterator_setcleanmode
dns_dbtable_create
dns_dbtable_attach
dns_dbtable_detach
dns_dbtable_add
dns_dbtable_remove
dns_dbtable_adddefault
dns_dbtable_getdefault
dns_dbtable_removedefault
dns_dbtable_find
dns_difftuple_create
dns_difftuple_free
dns_difftuple_copy
dns_diff_init
dns_diff_clear
dns_diff_append
dns_diff_appendminimal
dns_diff_sort
dns_diff_apply
dns_diff_load
dns_diff_print
dns_dispatchmgr_create
dns_dispatchmgr_destroy
dns_dispatchmgr_setblackhole
dns_dispatchmgr_getblackhole
dns_dispatch_getudp
dns_dispatch_createtcp
dns_dispatch_attach
dns_dispatch_detach
dns_dispatch_starttcp
dns_dispatch_addresponse
dns_dispatch_removeresponse
dns_dispatch_getsocket
dns_dispatch_getlocaladdress
dns_dispatch_cancel
dns_dispatch_changeattributes
dns_dispatch_importrecv
dns_dnssec_keyfromrdata
dns_dnssec_sign
dns_dnssec_verify
dns_dnssec_findzonekeys
dns_dnssec_signmessage
dns_dnssec_verifymessage
dns_fwdtable_create
dns_fwdtable_add
dns_fwdtable_find
dns_fwdtable_destroy
dns_db_createsoatuple
dns_journal_open
dns_journal_destroy
dns_journal_begin_transaction
dns_journal_writediff
dns_journal_commit
dns_journal_writediff
dns_journal_write_transaction
dns_diff_sort
dns_journal_writediff
dns_journal_first_serial
dns_journal_last_serial
dns_journal_iter_init
dns_journal_first_rr
dns_journal_next_rr
dns_journal_iter_init
dns_journal_current_rr
dns_journal_rollforward
dns_journal_print
dns_db_diff
dns_keyflags_fromtext
dns_keytable_create
dns_keytable_attach
dns_keytable_detach
dns_keytable_add
dns_keytable_findkeynode
dns_keytable_findnextkeynode
dns_keytable_finddeepestmatch
dns_keytable_detachkeynode
dns_keytable_issecuredomain
dns_keynode_key
dns_lib_initmsgcat
dns_log_init
dns_log_setcontext
dns_lookup_create
dns_lookup_cancel
dns_lookup_destroy
dns_master_loadfile
dns_master_loadstream
dns_master_loadbuffer
dns_master_loadfileinc
dns_master_loadstreaminc
dns_master_loadbufferinc
dns_loadctx_detach
dns_loadctx_attach
dns_loadctx_cancel
dns_master_dumptostream
dns_master_dump
dns_master_rdatasettotext
dns_master_questiontotext
dns_rdataset_towire
dns_master_dumpnodetostream
dns_master_dumpnode
dns_message_gettempname
dns_message_create
dns_message_reset
dns_message_destroy
dns_message_sectiontotext
dns_message_pseudosectiontotext
dns_message_totext
dns_message_parse
dns_message_firstname
dns_message_renderbegin
dns_message_renderend
dns_message_renderchangebuffer
dns_message_renderend
dns_message_renderreserve
dns_message_renderrelease
dns_message_rendersection
dns_message_renderheader
dns_message_renderend
dns_message_renderend
dns_message_renderreset
dns_message_firstname
dns_message_nextname
dns_message_currentname
dns_message_findname
dns_message_findtype
dns_message_movename
dns_message_addname
dns_message_gettempname
dns_message_gettempoffsets
dns_message_gettemprdata
dns_message_gettemprdataset
dns_message_gettemprdatalist
dns_message_puttempname
dns_message_puttemprdata
dns_message_puttemprdataset
dns_message_puttemprdatalist
dns_message_peekheader
dns_message_reply
dns_message_getopt
dns_message_setopt
dns_message_gettsig
dns_message_settsigkey
dns_message_gettsigkey
dns_message_setquerytsig
dns_message_getquerytsig
dns_message_getsig0
dns_message_setsig0key
dns_message_getsig0key
dns_message_takebuffer
dns_message_signer
dns_message_checksig
dns_message_getrawmessage
dns_message_setsortorder
dns_message_rendersection
dns_message_settimeadjust
dns_message_gettimeadjust
dns_label_type
dns_label_countbits
dns_label_getbit
dns_name_init
dns_name_reset
dns_name_invalidate
dns_name_setbuffer
dns_name_hasbuffer
dns_name_isabsolute
dns_name_iswildcard
dns_name_requiresedns
dns_name_hash
dns_name_fullcompare
dns_name_compare
dns_name_equal
dns_name_rdatacompare
dns_name_issubdomain
dns_name_matcheswildcard
dns_name_depth
dns_name_countlabels
dns_name_getlabel
dns_name_getlabelsequence
dns_name_clone
dns_name_fromregion
dns_name_toregion
dns_name_fromwire
dns_name_towire
dns_name_fromtext
dns_name_totext
dns_name_tofilenametext
dns_name_downcase
dns_name_concatenate
dns_name_split
dns_name_splitatdepth
dns_name_dup
dns_name_dupwithoffsets
dns_name_free
dns_name_digest
dns_name_dynamic
dns_name_print
dns_name_format
dns_name_copy
dns_ncache_add
dns_ncache_towire
dns_nxt_buildrdata
dns_nxt_build
dns_nxt_typepresent
dns_soa_getserial
dns_soa_setserial
dns_soa_getminimum
dns_peerlist_new
dns_peerlist_attach
dns_peerlist_detach
dns_peerlist_addpeer
dns_peerlist_peerbyaddr
dns_peerlist_currpeer
dns_peer_new
dns_peer_attach
dns_peer_detach
dns_peer_setbogus
dns_peer_getbogus
dns_peer_setrequestixfr
dns_peer_getrequestixfr
dns_peer_setprovideixfr
dns_peer_getprovideixfr
dns_peer_setsupportedns
dns_peer_getsupportedns
dns_peer_settransfers
dns_peer_gettransfers
dns_peer_settransferformat
dns_peer_gettransferformat
dns_peer_setkeybycharp
dns_peer_getkey
dns_peer_setkey
dns_name_concatenate
dns_name_totext
dns_rbt_create
dns_rbt_addname
dns_rbt_addnode
dns_rbt_findname
dns_rbt_findnode
dns_rbt_deletename
dns_rbt_deletenode
dns_rbt_namefromnode
dns_rbt_fullnamefromnode
dns_rbt_formatnodename
dns_rbt_nodecount
dns_rbt_destroy
dns_rbt_printall
dns_rbtnodechain_init
dns_rbtnodechain_reset
dns_rbtnodechain_invalidate
dns_rbtnodechain_current
dns_rbtnodechain_first
dns_rbtnodechain_last
dns_rbtnodechain_prev
dns_rbtnodechain_next
dns_rcode_fromtext
dns_rcode_totext
dns_tsigrcode_fromtext
dns_tsigrcode_totext
dns_rdata_init
dns_rdata_reset
dns_rdata_clone
dns_rdata_compare
dns_rdata_fromregion
dns_rdata_toregion
dns_rdata_fromwire
dns_rdata_towire
dns_rdata_fromtext
dns_rdata_totext
dns_rdata_tofmttext
dns_rdata_fromstruct
dns_rdata_tostruct
dns_rdata_freestruct
dns_rdatatype_ismeta
dns_rdatatype_issingleton
dns_rdataclass_ismeta
dns_rdatatype_isdnssec
dns_rdatatype_iszonecutauth
dns_rdatatype_isknown
dns_rdata_additionaldata
dns_rdata_digest
dns_rdatatype_questiononly
dns_rdatatype_notquestion
dns_rdatatype_attributes
dns_rdata_covers
dns_rdataclass_fromtext
dns_rdataclass_totext
dns_rdataclass_format
dns_rdatalist_init
dns_rdatalist_tordataset
dns_rdataset_init
dns_rdataset_invalidate
dns_rdataset_disassociate
dns_rdataset_isassociated
dns_rdataset_makequestion
dns_rdataset_clone
dns_rdataset_count
dns_rdataset_first
dns_rdataset_next
dns_rdataset_current
dns_rdataset_totext
dns_rdataset_towire
dns_rdataset_towiresorted
dns_rdataset_additionaldata
dns_rdatasetiter_destroy
dns_rdatasetiter_first
dns_rdatasetiter_next
dns_rdatasetiter_current
dns_rdataslab_fromrdataset
dns_rdataslab_size
dns_rdataslab_merge
dns_rdataslab_subtract
dns_rdataslab_equal
dns_rdatatype_fromtext
dns_rdatatype_totext
dns_rdatatype_format
dns_requestmgr_create
dns_requestmgr_whenshutdown
dns_requestmgr_shutdown
dns_requestmgr_attach
dns_requestmgr_detach
dns_request_create
dns_request_createvia
dns_request_createraw
dns_request_cancel
dns_request_getresponse
dns_request_usedtcp
dns_request_destroy
dns_resolver_createfetch
dns_resolver_create
dns_resolver_freeze
dns_resolver_prime
dns_resolver_whenshutdown
dns_resolver_shutdown
dns_resolver_attach
dns_resolver_detach
dns_resolver_createfetch
dns_resolver_cancelfetch
dns_resolver_destroyfetch
dns_resolver_dispatchmgr
dns_resolver_dispatchv4
dns_resolver_dispatchv6
dns_resolver_socketmgr
dns_resolver_taskmgr
dns_resolver_getlamettl
dns_resolver_setlamettl
dns_result_totext
dns_result_register
dns_result_torcode
dns_rootns_create
dns_sdb_register
dns_sdb_unregister
dns_sdb_putrr
dns_sdb_putnamedrr
dns_sdb_putsoa
dns_secalg_fromtext
dns_secalg_totext
dns_secproto_fromtext
dns_secproto_totext
dns_ssutable_create
dns_ssutable_attach
dns_ssutable_detach
dns_ssutable_addrule
dns_ssutable_checkrules
dns_stats_alloccounters
dns_stats_freecounters
dns_tcpmsg_init
dns_tcpmsg_setmaxsize
dns_tcpmsg_readmessage
dns_tcpmsg_cancelread
dns_tcpmsg_keepbuffer
dns_tcpmsg_invalidate
dns_time64_fromtext
dns_time32_fromtext
dns_time64_totext
dns_time32_totext
dns_timer_setidle
dns_tkeyctx_create
dns_tkeyctx_destroy
dns_tkey_processquery
dns_tkey_builddhquery
dns_tkey_buildgssquery
dns_tkey_builddeletequery
dns_tkey_processdhresponse
dns_tkey_processgssresponse
dns_tkey_processdeleteresponse
dns_tsigkey_create
dns_tsigkey_createfromkey
dns_tsigkey_attach
dns_tsigkey_detach
dns_tsigkey_setdeleted
dns_tsig_sign
dns_tsig_verify
dns_tsigkey_find
dns_tsigkeyring_create
dns_tsigkeyring_destroy
dns_ttl_totext
dns_counter_fromtext
dns_ttl_fromtext
dns_validator_create
dns_validator_cancel
dns_validator_destroy
dns_view_create
dns_view_attach
dns_view_detach
dns_view_flushanddetach
dns_view_weakattach
dns_view_weakdetach
dns_view_createresolver
dns_view_setcache
dns_view_sethints
dns_view_setkeyring
dns_view_setdstport
dns_view_addzone
dns_view_freeze
dns_view_find
dns_view_simplefind
dns_view_findzonecut
dns_viewlist_find
dns_view_findzone
dns_view_load
dns_view_loadnew
dns_view_gettsig
dns_view_getpeertsig
dns_view_checksig
dns_view_dialup
dns_view_dumpdbtostream
dns_view_flushcache
dns_xfrin_create
dns_xfrin_shutdown
dns_xfrin_detach
dns_xfrin_attach
dns_zone_create
dns_zone_setclass
dns_zone_getclass
dns_zone_settype
dns_zone_setview
dns_zone_getview
dns_zone_setorigin
dns_zone_getorigin
dns_zone_setfile
dns_zone_getfile
dns_zone_load
dns_zone_attach
dns_zone_detach
dns_zone_iattach
dns_zone_idetach
dns_zone_setflag
dns_zone_getdb
dns_zone_setdbtype
dns_zone_markdirty
dns_zone_expire
dns_zone_refresh
dns_zone_flush
dns_zone_dump
dns_zone_dumptostream
dns_zone_maintenance
dns_zone_setmasters
dns_zone_setmasterswithkeys
dns_zone_setmasters
dns_zone_setalsonotify
dns_zone_unload
dns_zone_setoption
dns_zone_getoptions
dns_zone_setminrefreshtime
dns_zone_setmaxrefreshtime
dns_zone_setminretrytime
dns_zone_setmaxretrytime
dns_zone_setxfrsource4
dns_zone_getxfrsource4
dns_zone_setxfrsource6
dns_zone_getxfrsource6
dns_zone_setnotifysrc4
dns_zone_getnotifysrc4
dns_zone_setnotifysrc6
dns_zone_getnotifysrc6
dns_zone_setnotifyacl
dns_zone_setqueryacl
dns_zone_setupdateacl
dns_zone_setforwardacl
dns_zone_setxfracl
dns_zone_getnotifyacl
dns_zone_getqueryacl
dns_zone_getupdateacl
dns_zone_getforwardacl
dns_zone_getxfracl
dns_zone_clearupdateacl
dns_zone_clearforwardacl
dns_zone_clearnotifyacl
dns_zone_clearqueryacl
dns_zone_clearxfracl
dns_zone_setchecknames
dns_zone_getchecknames
dns_zone_setjournalsize
dns_zone_getjournalsize
dns_zone_notifyreceive
dns_zone_setmaxxfrin
dns_zone_getmaxxfrin
dns_zone_setmaxxfrout
dns_zone_getmaxxfrout
dns_zone_setjournal
dns_zone_getjournal
dns_zone_gettype
dns_zone_settask
dns_zone_gettask
dns_zone_notify
dns_zone_replacedb
dns_zone_getidlein
dns_zone_setidlein
dns_zone_getidleout
dns_zone_setidleout
dns_zone_getssutable
dns_zone_setssutable
dns_zone_getmctx
dns_zone_getmgr
dns_zone_setsigvalidityinterval
dns_zone_getsigvalidityinterval
dns_zone_setnotifytype
dns_zone_forwardupdate
dns_zone_next
dns_zone_first
dns_zonemgr_create
dns_zonemgr_managezone
dns_zonemgr_forcemaint
dns_zonemgr_shutdown
dns_zonemgr_attach
dns_zonemgr_detach
dns_zonemgr_releasezone
dns_zonemgr_settransfersin
dns_zonemgr_getttransfersin
dns_zonemgr_settransfersperns
dns_zonemgr_getttransfersperns
dns_zonemgr_setiolimit
dns_zonemgr_getiolimit
dns_zonemgr_setserialqueryrate
dns_zonemgr_getserialqueryrate
dns_zonemgr_getcount
dns_zone_forcereload
dns_zone_isforced
dns_zone_setstatistics
dns_zone_getstatscounters
dns_zone_dialup
dns_zone_setdialup
dns_zone_log
dns_zonekey_iszonekey
dns_zt_create
dns_zt_mount
dns_zt_unmount
dns_zt_find
dns_zt_detach
dns_zt_flushanddetach
dns_zt_attach
dns_zt_load
dns_zt_apply
dst_lib_init
dst_lib_destroy
dst_algorithm_supported
dst_context_create
dst_context_destroy
dst_context_adddata
dst_context_sign
dst_context_verify
dst_key_computesecret
dst_key_fromfile
dst_key_fromnamedfile
dst_key_tofile
dst_key_fromdns
dst_key_todns
dst_key_frombuffer
dst_key_tobuffer
dst_key_fromgssapi
dst_key_generate
dst_key_compare
dst_key_paramcompare
dst_key_free
dst_key_name
dst_key_size
dst_key_proto
dst_key_alg
dst_key_flags
dst_key_id
dst_key_class
dst_key_isprivate
dst_key_iszonekey
dst_key_isnullkey
dst_key_buildfilename
dst_key_sigsize
dst_key_secretsize
dst_region_computeid
dst_gssapi_acquirecred
dst_gssapi_initctx
dst_gssapi_acceptctx
dst_lib_initmsgcat
dst_result_totext
dst_result_register

706
lib/dns/win32/libdns.dsp Normal file
View File

@@ -0,0 +1,706 @@
# Microsoft Developer Studio Project File - Name="libdns" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=libdns - 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 "libdns.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 "libdns.mak" CFG="libdns - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "libdns - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "libdns - 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)" == "libdns - 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 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "libdns_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "include" /I "../include" /I "../../isc/win32" /I "../../isc/win32/include" /I "../../isc/include" /I "../../dns/sec/openssl/include" /I "../../dns/sec/dst/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "USE_MD5" /D "OPENSSL" /D "DST_USE_PRIVATE_OPENSSL" /D "LIBDNS_EXPORTS" /YX /FD /c
# SUBTRACT CPP /X
# 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 user32.lib advapi32.lib ws2_32.lib ../../isc/win32/Release/libisc.lib /nologo /dll /machine:I386 /out:"../../../Build/Release/libdns.dll"
!ELSEIF "$(CFG)" == "libdns - 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 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 "libdns_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "include" /I "../include" /I "../../isc/win32" /I "../../isc/win32/include" /I "../../isc/include" /I "../../dns/sec/openssl/include" /I "../../dns/sec/dst/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /D "_USRDLL" /D "USE_MD5" /D "OPENSSL" /D "DST_USE_PRIVATE_OPENSSL" /D "LIBDNS_EXPORTS" /FR /YX /FD /GZ /c
# SUBTRACT CPP /X
# 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 user32.lib advapi32.lib ws2_32.lib ../../isc/win32/debug/libisc.lib /nologo /dll /map /debug /machine:I386 /out:"../../../Build/Debug/libdns.dll" /pdbtype:sept
!ENDIF
# Begin Target
# Name "libdns - Win32 Release"
# Name "libdns - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# Begin Group "Main Dns Lib"
# PROP Default_Filter "c"
# Begin Source File
SOURCE=..\a6.c
# End Source File
# Begin Source File
SOURCE=..\acl.c
# End Source File
# Begin Source File
SOURCE=..\adb.c
# End Source File
# Begin Source File
SOURCE=..\byaddr.c
# End Source File
# Begin Source File
SOURCE=..\cache.c
# End Source File
# Begin Source File
SOURCE=..\callbacks.c
# End Source File
# Begin Source File
SOURCE=..\compress.c
# End Source File
# Begin Source File
SOURCE=..\db.c
# End Source File
# Begin Source File
SOURCE=..\dbiterator.c
# End Source File
# Begin Source File
SOURCE=..\dbtable.c
# End Source File
# Begin Source File
SOURCE=..\diff.c
# End Source File
# Begin Source File
SOURCE=..\dispatch.c
!IF "$(CFG)" == "libdns - Win32 Release"
!ELSEIF "$(CFG)" == "libdns - Win32 Debug"
# ADD CPP /I "../sec/dst/include"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\DLLMain.c
# End Source File
# Begin Source File
SOURCE=..\dnssec.c
# End Source File
# Begin Source File
SOURCE=..\forward.c
# End Source File
# Begin Source File
SOURCE=..\journal.c
# End Source File
# Begin Source File
SOURCE=..\keytable.c
# End Source File
# Begin Source File
SOURCE=..\lib.c
# End Source File
# Begin Source File
SOURCE=..\log.c
# End Source File
# Begin Source File
SOURCE=..\lookup.c
# End Source File
# Begin Source File
SOURCE=..\master.c
# End Source File
# Begin Source File
SOURCE=..\masterdump.c
# End Source File
# Begin Source File
SOURCE=..\message.c
# End Source File
# Begin Source File
SOURCE=..\name.c
# End Source File
# Begin Source File
SOURCE=..\ncache.c
# End Source File
# Begin Source File
SOURCE=..\nxt.c
# End Source File
# Begin Source File
SOURCE=..\peer.c
# End Source File
# Begin Source File
SOURCE=..\rbt.c
# End Source File
# Begin Source File
SOURCE=..\rbtdb.c
# End Source File
# Begin Source File
SOURCE=..\rbtdb64.c
# End Source File
# Begin Source File
SOURCE=..\rdata.c
# End Source File
# Begin Source File
SOURCE=..\rdatalist.c
# End Source File
# Begin Source File
SOURCE=..\rdataset.c
# End Source File
# Begin Source File
SOURCE=..\rdatasetiter.c
# End Source File
# Begin Source File
SOURCE=..\rdataslab.c
# End Source File
# Begin Source File
SOURCE=..\request.c
# End Source File
# Begin Source File
SOURCE=..\resolver.c
# End Source File
# Begin Source File
SOURCE=..\result.c
# End Source File
# Begin Source File
SOURCE=..\rootns.c
# End Source File
# Begin Source File
SOURCE=..\sdb.c
# End Source File
# Begin Source File
SOURCE=..\soa.c
# End Source File
# Begin Source File
SOURCE=..\ssu.c
# End Source File
# Begin Source File
SOURCE=..\stats.c
# End Source File
# Begin Source File
SOURCE=..\tcpmsg.c
# End Source File
# Begin Source File
SOURCE=..\time.c
# End Source File
# Begin Source File
SOURCE=..\timer.c
# End Source File
# Begin Source File
SOURCE=..\tkey.c
# End Source File
# Begin Source File
SOURCE=..\tsig.c
# End Source File
# Begin Source File
SOURCE=..\ttl.c
# End Source File
# Begin Source File
SOURCE=..\validator.c
# End Source File
# Begin Source File
SOURCE=.\version.c
# End Source File
# Begin Source File
SOURCE=..\view.c
# End Source File
# Begin Source File
SOURCE=..\xfrin.c
# End Source File
# Begin Source File
SOURCE=..\zone.c
# End Source File
# Begin Source File
SOURCE=..\zonekey.c
# End Source File
# Begin Source File
SOURCE=..\zt.c
# End Source File
# End Group
# Begin Group "dst"
# PROP Default_Filter "c"
# Begin Source File
SOURCE=..\sec\dst\dst_api.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\dst_lib.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\dst_parse.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\dst_result.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\gssapi_link.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\gssapictx.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\hmac_link.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\key.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\openssl_link.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\openssldh_link.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\openssldsa_link.c
# End Source File
# Begin Source File
SOURCE=..\sec\dst\opensslrsa_link.c
# End Source File
# End Group
# Begin Group "openssl"
# PROP Default_Filter "c"
# Begin Source File
SOURCE=..\sec\openssl\a_bitstr.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_bytes.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_enum.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_gentm.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_int.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_object.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_octet.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_print.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_set.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_type.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_utctm.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_utf8.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\a_vis.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\asn1_lib.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_add.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_asm.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_blind.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_ctx.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_div.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_err.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_exp.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_exp2.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_gcd.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_lcl.h
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_lib.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_mont.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_mul.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_prime.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_prime.h
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_print.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_rand.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_recp.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_shift.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_sqr.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\bn_word.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\buffer.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\cryptlib.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\cryptlib.h
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dh_err.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dh_gen.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dh_key.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dh_lib.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dsa_asn1.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dsa_err.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dsa_gen.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dsa_key.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dsa_lib.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dsa_ossl.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dsa_sign.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\dsa_vrf.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\err.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\ex_data.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\lhash.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\md32_common.h
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\md5_locl.h
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\mem.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\mem_dbg.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\obj_dat.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\obj_dat.h
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\obj_lib.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rand_lib.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_chk.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_eay.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_gen.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_lib.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_none.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_oaep.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_pk1.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_sign.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\rsa_ssl.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\sha1_one.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\sha1dgst.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\sha_locl.h
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\stack.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\x_algor.c
# End Source File
# Begin Source File
SOURCE=..\sec\openssl\x_sig.c
# End Source File
# End Group
# Begin Source File
SOURCE=.\libdns.def
# End Source File
# End Target
# End Project

29
lib/dns/win32/libdns.dsw Normal file
View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "libdns"=".\libdns.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

26
lib/dns/win32/version.c Normal file
View File

@@ -0,0 +1,26 @@
/*
* Copyright (C) 1998-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.
*/
/* $Id: version.c,v 1.1 2001/07/16 05:10:30 mayer Exp $ */
#include <versions.h>
char dns_version[] = VERSION;
unsigned int dns_libinterface = LIBINTERFACE;
unsigned int dns_librevision = LIBREVISION;
unsigned int dns_libage = LIBAGE;