2 * Copyright 2013 Hans Leidekker for CodeWeavers.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_WINSNMP_H
20 #define __WINE_WINSNMP_H
26 typedef int smiINT
, *smiLPINT
;
27 typedef smiINT smiINT32
, *smiLPINT32
;
28 typedef unsigned int smiUINT32
, *smiLPUINT32
;
29 typedef smiUINT32 SNMPAPI_STATUS
;
31 #define SNMPAPI_NO_SUPPORT 0
32 #define SNMPAPI_V1_SUPPORT 1
33 #define SNMPAPI_V2_SUPPORT 2
34 #define SNMPAPI_M2M_SUPPORT 3
36 #define SNMPAPI_TRANSLATED 0
37 #define SNMPAPI_UNTRANSLATED_V1 1
38 #define SNMPAPI_UNTRANSLATED_V2 2
43 #define SNMPAPI_FAILURE 0
44 #define SNMPAPI_SUCCESS 1
46 SNMPAPI_STATUS WINAPI
SnmpCleanup(void);
47 SNMPAPI_STATUS WINAPI
SnmpSetRetransmitMode(smiUINT32
);
48 SNMPAPI_STATUS WINAPI
SnmpSetTranslateMode(smiUINT32
);
49 SNMPAPI_STATUS WINAPI
SnmpStartup(smiLPUINT32
,smiLPUINT32
,smiLPUINT32
,smiLPUINT32
,smiLPUINT32
);
55 #endif /* __WINE_WINSNMP_H */