
14 Feb
2002
14 Feb
'02
5:17 p.m.
Hi!
Ashok> How I can get the syntax as "RowStatus" and Max-Access as Ashok> "read-create" using LibSmi for an attributes.
Use smiGetNodeType(node) to retrieve the SmiType struct for the node in question.
If (node->access == SMI_ACCESS_READ_WRITE) and (smiGetParentNode(node)->create) then the SMIv2 MAX-ACCESS value is `read-create'. Libsmi separates these two pieces of information, because the information whether a row can be added and deleted semantically belongs to the row object instead of each writable columnar object.
-frank