SNMP Subagent Programmer's Guide

SNMP Subagent Programmer’s Guide119728 xv
Notation Conventions
General Syntax Notation
The following list summarizes the notation conventions for syntax presentation in this
manual.
Nonitalic Letters. Nonitalic letters indicate keywords and reserved words. For example,
GDMOC, the MIB compiler, requires that some constructs be encoded in uppercase and
some constructs in lowercase or mixed case:
INTEGER is uppercase, but Counter is mixed case.
Management and callback functions are also case-sensitive. For example:
rc = mgmt_del_instance (mgmt-env, instance-handle);
lowercase italic letters. Lowercase italic letters indicate variable items that you supply.
Items not enclosed in brackets are required. For example:
instance-handle
[ ] Brackets. Brackets enclose optional syntax items. For example:
[trap-definitions]
{ } Braces. A group of items enclosed in braces is a list from which you are required to
choose one item. For example:
ACCESS {read-only | read-write | write-only | not-accessible}
| Vertical Line. A vertical line separates alternatives in a list. For example:
(SIZE range) | empty
… Ellipsis. An ellipsis immediately following a single syntax item indicates that you can
repeat that syntax item. For example:
[, MIB-object-name...]
An ellipsis within a source code example indicates that some information has been
omitted. For example:
int
main(int argc,
char **argv)
...
{