windows-nt/Source/XPSP1/NT/net/snmp/newagent/inc/query.h
2020-09-26 16:20:57 +08:00

79 lines
2.1 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1992-1997 Microsoft Corporation
Module Name:
query.h
Abstract:
Contains definitions for querying subagents.
Environment:
User Mode - Win32
Revision History:
10-Feb-1997 DonRyan
Rewrote to implement SNMPv2 support.
--*/
#ifndef _QUERY_H_
#define _QUERY_H_
///////////////////////////////////////////////////////////////////////////////
// //
// Header files //
// //
///////////////////////////////////////////////////////////////////////////////
#include "subagnts.h"
#include "network.h"
///////////////////////////////////////////////////////////////////////////////
// //
// Public definitions //
// //
///////////////////////////////////////////////////////////////////////////////
typedef struct _QUERY_LIST_ENTRY {
LIST_ENTRY Link;
LIST_ENTRY SubagentVbs;
SnmpVarBindList SubagentVbl;
AsnOctetString ContextInfo;
UINT nSubagentVbs;
UINT nErrorStatus;
UINT nErrorIndex;
PSUBAGENT_LIST_ENTRY pSLE;
} QUERY_LIST_ENTRY, *PQUERY_LIST_ENTRY;
///////////////////////////////////////////////////////////////////////////////
// //
// Public prototypes //
// //
///////////////////////////////////////////////////////////////////////////////
BOOL
ProcessQueries(
PNETWORK_LIST_ENTRY pNLE
);
BOOL
LoadQueries(
PNETWORK_LIST_ENTRY pNLE
);
BOOL
UnloadQueries(
PNETWORK_LIST_ENTRY pNLE
);
#endif // _QUERY_H_