#include "ut_misc.h"
#include <windows.h>
#include <mswsock.h>
#include <snmp.h>
#include <nb30.h>
#include <stdio.h>
#include "ut_debugmsg.h"
#include "ut_Win32Resources.rc2"
#include "ut_Win32Timer.h"
#include "ut_Win32LocaleString.h"
Classes | |
struct | _ASTAT |
class | UT_Win32AssertDlg |
Defines | |
#define | NO_MAC_ADDRESS |
Typedefs | |
typedef struct _ASTAT | ASTAT |
typedef struct _ASTAT * | PASTAT |
typedef OUT HANDLE * | hPollForTrapEvent |
typedef OUT HANDLE OUT AsnObjectIdentifier * | supportedView |
typedef IN OUT RFC1157VarBindList * | variableBindings |
typedef IN OUT RFC1157VarBindList OUT AsnInteger * | errorStatus |
typedef IN OUT RFC1157VarBindList OUT AsnInteger OUT AsnInteger * | errorIndex |
typedef AsnObjectIdentifier * | ObjIdB |
typedef AsnObjectIdentifier UINT | Len |
typedef AsnObjectIdentifier * | SrcObjId |
typedef LPWSADATA | lpWSAData |
Functions | |
void | UT_gettimeofday (struct timeval *tv) |
typedef | BOOL (WINAPI *pSnmpExtensionInit)(IN DWORD dwTimeZeroReference |
typedef | VOID (WINAPI *pSnmpUtilVarBindFree)(RFC1157VarBind *VarBind) |
typedef | SNMPAPI (WINAPI *pSnmpUtilOidNCmp)(AsnObjectIdentifier *ObjIdA |
typedef | int (WINAPI *pWSAStartup)(WORD wVersionRequested |
typedef | UCHAR (WINAPI *pNetbios)(PNCB pncb) |
bool | UT_getEthernetAddress (UT_EthernetAddress &A) |
int ABI_EXPORT | UT_Win32ThrowAssert (const char *pCond, const char *pFile, int iLine, int iCount) |
#define NO_MAC_ADDRESS |
typedef IN OUT RFC1157VarBindList OUT AsnInteger OUT AsnInteger* errorIndex |
typedef IN OUT RFC1157VarBindList OUT AsnInteger* errorStatus |
typedef OUT HANDLE* hPollForTrapEvent |
typedef AsnObjectIdentifier UINT Len |
typedef LPWSADATA lpWSAData |
typedef AsnObjectIdentifier* ObjIdB |
typedef AsnObjectIdentifier* SrcObjId |
typedef OUT HANDLE OUT AsnObjectIdentifier* supportedView |
typedef IN OUT RFC1157VarBindList* variableBindings |
typedef BOOL | ( | WINAPI * | pSnmpExtensionInit | ) |
Referenced by AP_Win32Dialog_Replace::_initButtons(), AP_Win32Dialog_Options_Document::_onCommand(), AP_Win32Dialog_InsertTable::_onCommand(), XAP_CocoaToolPalette::aFontMemberName:, XAP_CocoaAppController::applicationDidFinishLaunching:, AP_CocoaDialog_OptionsController::autoSaveClicked:, GR_Win32Graphics::ConvertDDBToDIB(), XAP_CocoaAppController::deactivateAllPlugins, AP_CocoaPlugin_Document::frameExists:, XAP_Win32Dialog_FileOpenSaveAs::GetSaveFileName_Hooked(), XAP_CocoaPlugin::loadBundleWithPath:, EV_Win32Menu::onInitMenu(), XAP_CocoaToolPalette::rebuildFontFamilyPopUp, XAP_Win32Dialog_FileOpenSaveAs::runModal(), XAP_CocoaToolPalette::syncPopUpsForFont:, WinMain(), AP_Win32App::WinMain(), and wWinMain().
typedef int | ( | WINAPI * | pWSAStartup | ) |
typedef SNMPAPI | ( | WINAPI * | pSnmpUtilOidNCmp | ) |
typedef UCHAR | ( | WINAPI * | pNetbios | ) |
bool UT_getEthernetAddress | ( | UT_EthernetAddress & | A | ) |
retrieve the 6-byte address of the network card; returns true on success
References _ASTAT::adapt, UT_ASSERT, UT_DEBUGMSG, UT_NOT_IMPLEMENTED, UT_return_val_if_fail, and UT_UNUSED.
void UT_gettimeofday | ( | struct timeval * | tv | ) |
UT_gettimeofday() fills in the timeval structure with current time; the platform implementation needs to be as accurate as possible since this function is used in the UT_UUID class.
this implementation is from: http://bugzilla.vovida.org/bugzilla/show_bug.cgi?id=751
int ABI_EXPORT UT_Win32ThrowAssert | ( | const char * | pCond, | |
const char * | pFile, | |||
int | iLine, | |||
int | iCount | |||
) |
This function wraps arround the Assert dialog class and handles the returned responses; it will abort application if the user chose Abort.
References UT_Win32AssertDlg::AN_Abort, UT_Win32AssertDlg::AN_Debug, UT_Win32AssertDlg::AN_Ignore, UT_Win32AssertDlg::AN_IgnoreAll, and UT_Win32AssertDlg::runModal().
typedef VOID | ( | WINAPI * | pSnmpUtilVarBindFree | ) |
Referenced by read_png_to_dib(), and write_dib_to_png().