ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

mgmtapi.h
Go to the documentation of this file.
00001 /*
00002   mgmtapi.h - Header file for the SNMP Management API
00003 
00004   Written by Filip Navara <xnavara@volny.cz>
00005 
00006   References (2003-08-25):
00007     http://msdn.microsoft.com/library/en-us/snmp/snmp/snmp_reference.asp
00008 
00009   This library is distributed in the hope that it will be useful,
00010   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00012 */
00013 
00014 #ifndef _MGMTAPI_H
00015 #define _MGMTAPI_H
00016 
00017 #ifndef _SNMP_H
00018 #include <snmp.h>
00019 #endif
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 #define SNMP_MGMTAPI_TIMEOUT    40
00026 #define SNMP_MGMTAPI_SELECT_FDERRORS    41
00027 #define SNMP_MGMTAPI_TRAP_ERRORS    42
00028 #define SNMP_MGMTAPI_TRAP_DUPINIT   43
00029 #define SNMP_MGMTAPI_NOTRAPS    44
00030 #define SNMP_MGMTAPI_AGAIN  45
00031 #define SNMP_MGMTAPI_INVALID_CTL    46
00032 #define SNMP_MGMTAPI_INVALID_SESSION    47
00033 #define SNMP_MGMTAPI_INVALID_BUFFER 48
00034 #define MGMCTL_SETAGENTPORT 1
00035 
00036 #ifndef RC_INVOKED
00037 
00038 typedef PVOID LPSNMP_MGR_SESSION;
00039 
00040 BOOL WINSNMPAPI SnmpMgrClose(LPSNMP_MGR_SESSION);
00041 BOOL WINSNMPAPI SnmpMgrCtl(LPSNMP_MGR_SESSION,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD);
00042 BOOL WINSNMPAPI SnmpMgrGetTrap(AsnObjectIdentifier*,AsnNetworkAddress*,AsnInteger*,AsnInteger*,AsnTimeticks*,SnmpVarBindList*);
00043 BOOL WINSNMPAPI SnmpMgrGetTrapEx(AsnObjectIdentifier*,AsnNetworkAddress*,AsnNetworkAddress*,AsnInteger*,AsnInteger*,AsnOctetString*,AsnTimeticks*,SnmpVarBindList*);
00044 BOOL WINSNMPAPI SnmpMgrOidToStr(AsnObjectIdentifier*,LPSTR*);
00045 LPSNMP_MGR_SESSION WINSNMPAPI SnmpMgrOpen(LPSTR,LPSTR,INT,INT);
00046 INT WINSNMPAPI SnmpMgrRequest(LPSNMP_MGR_SESSION,BYTE,SnmpVarBindList*,AsnInteger*,AsnInteger*);
00047 BOOL WINSNMPAPI SnmpMgrStrToOid(LPSTR,AsnObjectIdentifier*);
00048 BOOL WINSNMPAPI SnmpMgrTrapListen(HANDLE*);
00049 
00050 #endif /* RC_INVOKED */
00051 
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 #endif

Generated on Sun May 27 2012 04:31:39 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.