/* ---------------------------------------------------------------------------

    This file controls the different build environments that we have
    to deal with in the split WanLinks driver. Include this header file
    to enable or disable certain adapters by conditional compilation.

    Share as much code as possible between the different driver sets!

--------------------------------------------------------------------------- */

//
// Driver Build Control
//

#define DATAFIRE_SYNC_BUILD


//
// OEM Build Control
//

#define DIGI_BUILD


//
// OEM Specific Strings
//

// Project name macros
#define WANLINKS_PROJECT_NAME_INF           DataFire_SYNC
#define WANLINKS_PROJECT_NAME_QUOT          "DataFire_SYNC"
#define WANLINKS_PROJECT_NAME_TEXT          TEXT("DataFire_SYNC")
#define WANLINKS_ORIGINAL_PROJECT_NAME_TEXT TEXT("WAN Links")

#define WANLINKS_DXB_DISPLAY_NAME_QUOT      "Digi DataFire SYNC DXB Driver"

// Files and services name prefix macros
// AccelePort RAS:  Dgar
// AccelePort Xp:   Dgxp
// DataFire Sync:   Dgds
#define WANLINKS_NAME_PREFIX_QUOT           "Dgds"
#define WANLINKS_NAME_PREFIX_TEXT           TEXT("Dgds")
#define WANLINKS_NAME_PREFIX_WIDE           L"Dgds"
#define WANLINKS_NAME_PREFIX_LC_QUOT        "dgds"
#define WANLINKS_NAME_PREFIX_LC_TEXT        TEXT("dgds")
// This is the old Wanlinks drivers' prefix:
#define WANLINKS_ORIGINAL_NAME_PREFIX_TEXT  TEXT("Digi")

//
// Inf file macros
//

#define WANLINKS_INF_CATALOG_FILE_INF       netdgds.cat
#define WANLINKS_INF_SERVICE_BINARY_INF     %12%\dgdsdxb.sys

// netdgdxb.inf
#define WANLINKS_NET_INF_NAME_INF           netdgds.inf
#define WANLINKS_NET_CAT_NAME_INF           netdgds.cat
#define WANLINKS_DXB_SERVICE_DESC           "Digi DataFire SYNC Adapter Driver"
#define WANLINKS_DXB_SERVICE_INF            DgdsDxb
#define WANLINKS_DXB_NAME_INF               "DgdsDxb"

// oemsetup.inf
#define WANLINKS_RAS_BOARD_NAME_QUOT        "DigiRAS"

//
// Registry key macros
//

#define WANLINKS_SOFTWARE_BASE_TEXT         TEXT("SOFTWARE\\Digi")
#define WANLINKS_CONFIG_REGKEY_INF          SOFTWARE\Digi\DataFire_SYNC\CurrentVersion\Config
#define WANLINKS_CONFIG_REGKEY_QUOT         "SOFTWARE\\Digi\\DataFire_SYNC\\CurrentVersion\\Config"

#define WANLINKS_SERVICE_GROUP_QUOT         "DGDSDS"
#define WANLINKS_SERVICE_GROUP_DEPEND       {"+DGDSDS"}
#define WANLINKS_SERVICE_GROUP_TEXT         TEXT("DGDSDS")

//
// Digi Port Assist Manager Agent macros
//

#define WANLINKS_PAMA_EXECUTABLE_NAME_QUOT  "dgdspama.exe"
#define WANLINKS_PAMA_SERVICE_NAME_TEXT     TEXT("DgdsPama")
#define WANLINKS_PAMA_SERVICE_NAME_QUOT     "DgdsPama"
#define WANLINKS_PAMA_BINARY_PATH_TEXT      TEXT("system32\\dgdspama.exe")
// The old WanLinks' digipama.exe
#define WANLINKS_ORIGINAL_PAMA_SERVICE_NAME_TEXT \
                                            TEXT("DigiPama")

#define WANLINKS_PAM_PORT                   2366
// WanLinks (old):  2362
// AccelePort RAS:  2363
// AccelePort Xp:   2364
// DataFire RAS:    2365
// DataFire Sync:   2366

//
// Service name, module name, and file name macros
//

// Macros that used to build device names at run-time (used by dxbmgt.dll)
#define WANLINKS_MPS_DEVICE_FORMAT_TEXT     TEXT("")
#define WANLINKS_DXB_DEVICE_FORMAT_TEXT     TEXT("DgdsDxb%s")
#define WANLINKS_ORIGINAL_PNPHWID_PREFIX_TEXT \
                                            TEXT("Dxb\\Digi")
#define WANLINKS_ORIGINAL_ASYN_PNPHWID_TEXT TEXT("Dxb\\DigiAsyn")

// digiasyn.sys
#define WANLINKS_DIAG_SYMBOLIC_NAME         L""
#define WANLINKS_DIAG_DEVICE_NAME           L""

// Driver device name prefix macros (unicode)
#define WANLINKS_ASYN_POSTFIX_TEXT          TEXT("Asyn")
#define WANLINKS_DXB_POSTFIX_TEXT           TEXT("Dxb")
#define WANLINKS_ISDN_POSTFIX_TEXT          TEXT("Isdn")
#define WANLINKS_LAN_POSTFIX_TEXT           TEXT("Lan")
#define WANLINKS_PCI_POSTFIX_TEXT           TEXT("Pci")
#define WANLINKS_PPP_POSTFIX_TEXT           TEXT("Ppp")
#define WANLINKS_SNA_POSTFIX_TEXT           TEXT("Sna")
#define WANLINKS_SOH_POSTFIX_TEXT           TEXT("Soh")
#define WANLINKS_WANX_POSTFIX_TEXT          TEXT("Wanx")

// Driver device name macros (literal unicode)
#define WANLINKS_DXB_NAME_WIDE              L"DgdsDxb"
#define WANLINKS_SOH_NAME_WIDE              L"DgdsSoh"
#define WANLINKS_SOH_DRIVER_NAME_WIDE       L"\\\\.\\DgdsSoh"

// Driver device name prefix macros (quoted text)
#define WANLINKS_ASYN_POSTFIX_QUOT          "Asyn"
#define WANLINKS_DXB_POSTFIX_QUOT           "Dxb"
#define WANLINKS_ISDN_POSTFIX_QUOT          "Isdn"
#define WANLINKS_LAN_POSTFIX_QUOT           "Lan"
#define WANLINKS_PCI_POSTFIX_QUOT           "Pci"
#define WANLINKS_PPP_POSTFIX_QUOT           "Ppp"
#define WANLINKS_SNA_POSTFIX_QUOT           "Sna"
#define WANLINKS_SOH_POSTFIX_QUOT           "Soh"
#define WANLINKS_WANX_POSTFIX_QUOT          "Wanx"

// Driver device name macros (unicode)
#define WANLINKS_570MP_NAME_TEXT            TEXT("Dg570mp")
#define WANLINKS_ASYN_NAME_TEXT             TEXT("DgdsAsyn")
#define WANLINKS_DXB_NAME_TEXT              TEXT("DgdsDxb")
#define WANLINKS_ISDN_NAME_TEXT             TEXT("DgdsIsdn")
#define WANLINKS_LAN_NAME_TEXT              TEXT("DgdsLan")
#define WANLINKS_PCI_NAME_TEXT              TEXT("DgdsPci")
#define WANLINKS_PPP_NAME_TEXT              TEXT("DgdsPpp")
#define WANLINKS_SNA_NAME_TEXT              TEXT("DgdsSna")
#define WANLINKS_SOH_NAME_TEXT              TEXT("DgdsSoh")
#define WANLINKS_SXB_NAME_TEXT              TEXT("DgdsSxb")
#define WANLINKS_WANX_NAME_TEXT             TEXT("DgdsWanx")
// Old Wanlinks driver device name macros (unicode)
#define WANLINKS_ORIGINAL_DXB_NAME_TEXT     TEXT("DigiDxb")

// Driver device name macros (raw text)
#define WANLINKS_570MP_NAME_QUOT            "Dg570mp"
#define WANLINKS_ASYN_NAME_QUOT             "DgdsAsyn"
#define WANLINKS_DXB_NAME_QUOT              "DgdsDxb"
#define WANLINKS_ISDN_NAME_QUOT             "DgdsIsdn"
#define WANLINKS_LAN_NAME_QUOT              "DgdsLan"
#define WANLINKS_PCI_NAME_QUOT              "DgdsPci"
#define WANLINKS_PPP_NAME_QUOT              "DgdsPpp"
#define WANLINKS_SDLC_NAME_QUOT             "DgdsSdlc"
#define WANLINKS_SNA_NAME_QUOT              "DgdsSna"
#define WANLINKS_SOH_NAME_QUOT              "DgdsSoh"
#define WANLINKS_WANX_NAME_QUOT             "DgdsWanx"
#define WANLINKS_X25_NAME_QUOT              "DgdsX25"

// Filename macros for drivers
#define WANLINKS_570MP_FILENAME_QUOT        "dg570mp.sys"
#define WANLINKS_ASYN_FILENAME_QUOT         "dgdsasyn.sys"
#define WANLINKS_DXB_FILENAME_QUOT          "dgdsdxb.sys"
#define WANLINKS_ISDN_FILENAME_QUOT         "dgdsisdn.sys"
#define WANLINKS_LAN_FILENAME_QUOT          "dgdslan.sys"
#define WANLINKS_PCI_FILENAME_QUOT          "dgdspci.sys"
#define WANLINKS_PPP_FILENAME_QUOT          "dgdsppp.sys"
#define WANLINKS_SNA_FILENAME_QUOT          "dgdssna.sys"
#define WANLINKS_SOH_FILENAME_QUOT          "dgdssoh.sys"
#define WANLINKS_WANX_FILENAME_QUOT         "dgdswanx.sys"
#define WANLINKS_X25_FILENAME_QUOT          "dgdsx25.sys"
// Filenames macro for libraries
#define WANLINKS_ASYN_DLL_FILENAME_QUOT     "dgdsasyn.dll"
#define WANLINKS_CLYD_DLL_FILENAME_QUOT     "dgdsclyd.dll"
#define WANLINKS_CSNT_DLL_FILENAME_QUOT     "dgdscsnt.dll"
#define WANLINKS_DBP_DLL_FILENAME_QUOT      "dgdsdbp.dll"
#define WANLINKS_DCFG_DLL_FILENAME_QUOT     "dgdsdcfg.dll"
#define WANLINKS_DETECT_DLL_FILENAME_QUOT   "dgdsdtct.dll"
#define WANLINKS_DLG_DLL_FILENAME_QUOT      "dgdsdlg.dll"
#define WANLINKS_DXBMGMT_DLL_FILENAME_QUOT  "dgdsmgmt.dll"
#define WANLINKS_FRWK_DLL_FILENAME_QUOT     "dgdsfrwk.dll"
#define WANLINKS_FRX_DLL_FILENAME_QUOT      "dgdsfrx.dll"
#define WANLINKS_HLC_DLL_FILENAME_QUOT      "dgdshlc.dll"
#define WANLINKS_INF_DLL_FILENAME_QUOT      "dgdsinf.dll"
#define WANLINKS_ISDN_DLL_FILENAME_QUOT     "dgdsisdn.dll"
#define WANLINKS_PERF_DLL_FILENAME_QUOT     "dgdsperf.dll"
#define WANLINKS_PPP_DLL_FILENAME_QUOT      "dgdsppp.dll"
#define WANLINKS_SOHPERF_DLL_FILENAME_QUOT  "dgdsperf.dll"
#define WANLINKS_SNA_DLL_FILENAME_QUOT      "dgdssna.dll"
#define WANLINKS_WAN_DLL_FILENAME_QUOT      "dgdswan.dll"
#define WANLINKS_XCFG_DLL_FILENAME_QUOT     "dgdsxcfg.dll"
// Filenames macro for help files
#define WANLINKS_HELP_FILENAME_QUOT         "dgdshelp.chm"
