5.2. Example of an object class for an ODM database
The following is an example of the object class definition for the Customized Device Database (CuDv):
# odmshow CuDv class CuDv { char name[16]; /* offset: 0xc ( 12) */ short status; /* offset: 0x1c ( 28) */ short chgstatus; /* offset: 0x1e ( 30) */ char ddins[16]; /* offset: 0x20 ( 32) */ char location[16]; /* offset: 0x30 ( 48) */ char parent[16]; /* offset: 0x40 ( 64) */ char connwhere[16]; /* offset: 0x50 ( 80) */ link PdDv PdDv uniquetype PdDvLn[48]; /* offset: 0x60 ( 96) */ }; /* descriptors: 8 structure size: 0x98 (152) bytes data offset: 0x20001cd8 population: 50 objects (50 active, 0 deleted) */
Get IBM eServer Certification Study Guide - pSeries AIX System Administration now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.