snmp_error.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SNMP_ERR_NOERROR   (0x0)
 
#define SNMP_ERR_TOOBIG   (0x1)
 
#define SNMP_ERR_NOSUCHNAME   (0x2)
 
#define SNMP_ERR_BADVALUE   (0x3)
 
#define SNMP_ERR_READONLY   (0x4)
 
#define SNMP_ERR_GENERR   (0x5)
 
#define SNMP_ERR_NOACCESS   (0x6)
 
#define SNMP_ERR_WRONGTYPE   (0x7)
 
#define SNMP_ERR_WRONGLENGTH   (0x8)
 
#define SNMP_ERR_WRONGENCODING   (0x9)
 
#define SNMP_ERR_WRONGVALUE   (0x10)
 
#define SNMP_ERR_NOCREATION   (0x11)
 
#define SNMP_ERR_INCONSISTENTVALUE   (0x12)
 
#define SNMP_ERR_RESOURCEUNAVAILABLE   (0x13)
 
#define SNMP_ERR_COMMITFAILED   (0x14)
 
#define SNMP_ERR_UNDOFAILED   (0x15)
 
#define SNMP_ERR_AUTHORIZATIONERROR   (0x16)
 
#define SNMP_ERR_NOTWRITABLE   (0x17)
 
#define SNMP_ERR_INCONSISTENTNAME   (0x18)
 

Functions

const char * snmp_errstring (int)
 

Macro Definition Documentation

◆ SNMP_ERR_AUTHORIZATIONERROR

#define SNMP_ERR_AUTHORIZATIONERROR   (0x16)

Definition at line 59 of file snmp_error.h.

◆ SNMP_ERR_BADVALUE

#define SNMP_ERR_BADVALUE   (0x3)

Definition at line 45 of file snmp_error.h.

◆ SNMP_ERR_COMMITFAILED

#define SNMP_ERR_COMMITFAILED   (0x14)

Definition at line 57 of file snmp_error.h.

◆ SNMP_ERR_GENERR

#define SNMP_ERR_GENERR   (0x5)

Definition at line 47 of file snmp_error.h.

◆ SNMP_ERR_INCONSISTENTNAME

#define SNMP_ERR_INCONSISTENTNAME   (0x18)

Definition at line 61 of file snmp_error.h.

◆ SNMP_ERR_INCONSISTENTVALUE

#define SNMP_ERR_INCONSISTENTVALUE   (0x12)

Definition at line 55 of file snmp_error.h.

◆ SNMP_ERR_NOACCESS

#define SNMP_ERR_NOACCESS   (0x6)

Definition at line 48 of file snmp_error.h.

◆ SNMP_ERR_NOCREATION

#define SNMP_ERR_NOCREATION   (0x11)

Definition at line 54 of file snmp_error.h.

◆ SNMP_ERR_NOERROR

#define SNMP_ERR_NOERROR   (0x0)

Definition at line 42 of file snmp_error.h.

◆ SNMP_ERR_NOSUCHNAME

#define SNMP_ERR_NOSUCHNAME   (0x2)

Definition at line 44 of file snmp_error.h.

◆ SNMP_ERR_NOTWRITABLE

#define SNMP_ERR_NOTWRITABLE   (0x17)

Definition at line 60 of file snmp_error.h.

◆ SNMP_ERR_READONLY

#define SNMP_ERR_READONLY   (0x4)

Definition at line 46 of file snmp_error.h.

◆ SNMP_ERR_RESOURCEUNAVAILABLE

#define SNMP_ERR_RESOURCEUNAVAILABLE   (0x13)

Definition at line 56 of file snmp_error.h.

◆ SNMP_ERR_TOOBIG

#define SNMP_ERR_TOOBIG   (0x1)

Definition at line 43 of file snmp_error.h.

◆ SNMP_ERR_UNDOFAILED

#define SNMP_ERR_UNDOFAILED   (0x15)

Definition at line 58 of file snmp_error.h.

◆ SNMP_ERR_WRONGENCODING

#define SNMP_ERR_WRONGENCODING   (0x9)

Definition at line 51 of file snmp_error.h.

◆ SNMP_ERR_WRONGLENGTH

#define SNMP_ERR_WRONGLENGTH   (0x8)

Definition at line 50 of file snmp_error.h.

◆ SNMP_ERR_WRONGTYPE

#define SNMP_ERR_WRONGTYPE   (0x7)

Definition at line 49 of file snmp_error.h.

◆ SNMP_ERR_WRONGVALUE

#define SNMP_ERR_WRONGVALUE   (0x10)

Definition at line 53 of file snmp_error.h.

Function Documentation

◆ snmp_errstring()

const char * snmp_errstring ( int  errstat)

Definition at line 78 of file snmp_error.c.

References error_string, SNMP_ERR_INCONSISTENTNAME, and SNMP_ERR_NOERROR.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors