snmp: make mib_scalar_node a "derived" struct like all other nodes

This commit is contained in:
goldsimon
2015-10-02 09:56:00 +02:00
parent 91b6d45178
commit 30445712a5
2 changed files with 122 additions and 104 deletions

View File

@@ -118,7 +118,11 @@ struct mib_node
};
/** derived node for scalars .0 index */
typedef struct mib_node mib_scalar_node;
struct mib_scalar_node
{
/* inherited "base class" members */
struct mib_node node;
};
/** derived node, points to a fixed size const array
of sub-identifiers plus a 'child' pointer */