/* special methods for handling twins */ { 0, MO_META_CLASS_CLASS, 0, MO_READ, mometa_index_class, 0, MO_class_get, MOnoset, 0, MO_classid_index }, { 0, MO_META_OID_CLASS, 0, MO_READ|MO_WRITE, mometa_index_class, 0, MO_oid_get, MO_oid_set, 0, MO_classid_index }, /* vanilla methods */ { 0, MO_META_SIZE_CLASS, MO_SIZEOF_MEMBER( MO_CLASS, size ), MO_READ, mometa_index_class, CL_OFFSETOF( MO_CLASS, size ), MOintget, MOnoset, 0, MO_classid_index }, { 0, MO_META_OFFSET_CLASS, MO_SIZEOF_MEMBER( MO_CLASS, offset ), MO_READ, mometa_index_class, CL_OFFSETOF( MO_CLASS, offset ), MOintget, MOnoset, 0, MO_classid_index }, { 0, MO_META_PERMS_CLASS, MO_SIZEOF_MEMBER( MO_CLASS, perms ), MO_READ, mometa_index_class, CL_OFFSETOF( MO_CLASS, perms ), MOintget, MOnoset, 0, MO_classid_index }, { 0, MO_META_INDEX_CLASS, 0, MO_READ, mometa_index_class,
0, CS_scb_index }, /* special methods for special formatting */ { 0, "exp.clf.vms.cs.scb_self", 0, MO_READ, index_name, 0, CS_scb_self_get, MOnoset, 0, CS_scb_index }, { 0, "exp.clf.vms.cs.scb_state", 0, MO_READ, index_name, 0, CS_scb_state_get, MOnoset, 0, CS_scb_index }, { 0, "exp.clf.vms.cs.scb_state_num", MO_SIZEOF_MEMBER(CS_SCB, cs_state), MO_READ, index_name, CL_OFFSETOF(CS_SCB, cs_state), MOuintget, MOnoset, 0, CS_scb_index }, { 0, "exp.clf.vms.cs.scb_memory", MO_SIZEOF_MEMBER(CS_SCB, cs_memory), MO_READ, index_name, CL_OFFSETOF(CS_SCB, cs_memory), CS_scb_memory_get, MOnoset, 0, CS_scb_index }, { 0, "exp.clf.vms.cs.scb_thread_type", 0, MO_READ, index_name, 0, CS_scb_thread_type_get, MOnoset, 0, CS_scb_index }, { 0, "exp.clf.vms.cs.scb_thread_type_num", MO_SIZEOF_MEMBER(CS_SCB, cs_thread_type), MO_READ, index_name,
0, MOcdata_index }, { 0, "exp.gwf.gwm.session.control.del_vnode", 0, MO_SES_READ|MO_SES_WRITE, 0, 0, MOblankget, GM_deldomset, 0, MOcdata_index }, { 0, "exp.gwf.gwm.session.control.reset_domain", 0, MO_SES_READ|MO_SES_WRITE, 0, 0, MOblankget, GM_resdomset, 0, MOcdata_index }, /* query objects -- only column is index of nodes for this session */ { MO_INDEX_CLASSID|MO_CDATA_INDEX, domain_index, MO_SIZEOF_MEMBER(SPBLK, key), MO_SES_READ, 0, CL_OFFSETOF(SPBLK, key), MOstrpget, MOnoset, 0, GM_domain_index }, { 0 } } ; /*{ ** Name: GM_scd_startup - define SCB MIB clases. ** ** Description: ** Call this once at facility startup to define all the SCB ** related classes. ** ** Re-entrancy:
MO_SET_METHOD asct_start_set; MO_SET_METHOD asct_suspend_set; MO_SET_METHOD asct_flush_set; MO_SET_METHOD asct_logfile_set; MO_SET_METHOD asct_logsize_set; MO_SET_METHOD asct_logmsgsize_set; MO_SET_METHOD asct_threshold_set; MO_GET_METHOD asctfl_state_get; MO_GET_METHOD asct_tracemask_get; GLOBALDEF MO_CLASS_DEF asct_class[] = { { 0, "exp.ascf.asct.thread", MO_SIZEOF_MEMBER(ASCTFL, self), MO_READ, 0, CL_OFFSETOF(ASCTFL, self), MOintget, MOnoset, (PTR)&asctfile, MOcdata_index }, { 0, "exp.ascf.asct.entry", MO_SIZEOF_MEMBER(ASCTFR, freebuf), MO_READ, 0, CL_OFFSETOF(ASCTFR, freebuf), MOintget, MOnoset, (PTR)&asctentry, MOcdata_index }, { 0, "exp.ascf.asct.state", MO_SIZEOF_MEMBER(ASCTFL, state), MO_READ, 0, CL_OFFSETOF(ASCTFL, state), asctfl_state_get, MOnoset, (PTR)&asctfile, MOcdata_index }, { 0, "exp.ascf.asct.start", MO_SIZEOF_MEMBER(ASCTFL, start), MO_READ, 0, CL_OFFSETOF(ASCTFL, start), MOintget, MOnoset, (PTR)&asctfile, MOcdata_index },
** Format routine for operator type. */ static MO_GET_METHOD ADFmo_adg_op_type_get; static MO_GET_METHOD ADFmo_adg_op_use_get; static MO_GET_METHOD ADFmo_adg_fi_type_get; static char dt_index[] = "exp.adf.adg.dt_ix"; static MO_CLASS_DEF ADFmo_adg_dt_classes[] = { {0, dt_index, 0, MO_READ, dt_index, 0, MOpvget, MOnoset, (PTR)0, ADFmo_dt_index }, {0, "exp.adf.adg.dt_name", MO_SIZEOF_MEMBER(ADI_DATATYPE, adi_dtname), MO_READ, dt_index, CL_OFFSETOF(ADI_DATATYPE, adi_dtname), MOstrget, MOnoset, (PTR)0, ADFmo_dt_index }, {0, "exp.adf.adg.dt_id", MO_SIZEOF_MEMBER(ADI_DATATYPE, adi_dtid), MO_READ, dt_index, CL_OFFSETOF(ADI_DATATYPE, adi_dtid), MOintget, MOnoset, (PTR)0, ADFmo_dt_index }, {0, "exp.adf.adg.dt_stat", MO_SIZEOF_MEMBER(ADI_DATATYPE, adi_dtstat_bits), MO_READ, dt_index, CL_OFFSETOF(ADI_DATATYPE, adi_dtstat_bits), MOintget, MOnoset, (PTR)0, ADFmo_dt_index }, { 0 } };
/* ** Name: gcb_classes ** ** Description: ** MO definitions for Bridge MIB objects. ** ** History: ** 22-Apr-96 (rajus01) ** Created. */ static MO_CLASS_DEF gcb_classes[] = { { 0, GCB_MIB_CONN_COUNT, MO_SIZEOF_MEMBER( GCC_GLOBAL, gcc_conn_ct ), MO_READ, 0, CL_OFFSETOF( GCC_GLOBAL, gcc_conn_ct ), MOintget, MOnoset, (PTR) -1, MOcdata_index }, { 0, GCB_MIB_IB_CONN_COUNT, MO_SIZEOF_MEMBER( GCC_GLOBAL, gcc_ib_conn_ct ), MO_READ, 0, CL_OFFSETOF( GCC_GLOBAL, gcc_ib_conn_ct ),