|
|
| 5.2. If you generate code from a | | 5.2. If you generate code from a |
| release prior to 5.2 or with 5.3.x, your results may vary.''' | | release prior to 5.2 or with 5.3.x, your results may vary.''' |
| + | |
| + | Power users or repeat readers, you may wish to jump to the list in the [[MIB for Dummies#Getting_Started|Getting Started]] node. |
| | | |
| === Introduction === | | === Introduction === |
|
|
| ==== User Context ==== | | ==== User Context ==== |
| | | |
− | The user context is a pointer provided by user during module | + | The user context is a pointer provided by the user (ie, the programmer: You!) during module |
| initialization. It is not used by the MFD code, other than to | | initialization. It is not used by the MFD code, other than to |
| save it for the user. If your module needs access to some | | save it for the user. If your module needs access to some |
|
|
| | | |
| The data context structure should contain all the data needed to get | | The data context structure should contain all the data needed to get |
− | or set a value. The MFD configuration file will generate a data | + | or set a value. The mib2c MFD configuration file will generate a data |
| context structure with sufficient storage for all the objects | | context structure with sufficient storage for all the objects |
| defined in the MIB being implemented. (Later in the tutorial, we'll talk | | defined in the MIB being implemented. (Later in the tutorial, we'll talk |
|
|
| | | |
| The default method, which is generic enough to handle just about any | | The default method, which is generic enough to handle just about any |
Exception encountered, of type "Error"