Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/BER.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,32 @@
#ifdef __has_include
#if __has_include("SNMPcfg.h")
#include "SNMPcfg.h"
#else
#endif
#endif

/**
* @def SNMP_STREAM
* @brief Defines read and write operations.
*/
#ifndef SNMP_STREAM
#define SNMP_STREAM 1
#endif

/**
* @def SNMP_VECTOR
* @brief Defines storage for ArrayBER.
*/
#ifndef SNMP_VECTOR
#define SNMP_VECTOR 0
#endif

/**
* @def SNMP_CAPACITY
* @brief Defines capacity of SequenceBER.
*/
#ifndef SNMP_CAPACITY
#define SNMP_CAPACITY 6
#endif
#endif

#if SNMP_STREAM
#include <Stream.h>
Expand Down