Print this page
LOCAL: disk-lights work 2

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/topo/libtopo/common/libtopo.h
          +++ new/usr/src/lib/fm/topo/libtopo/common/libtopo.h
↓ open down ↓ 129 lines elided ↑ open up ↑
 130  130  extern int topo_node_fru(tnode_t *, nvlist_t **, nvlist_t *, int *);
 131  131  extern int topo_node_resource(tnode_t *, nvlist_t **, int *);
 132  132  extern int topo_node_label(tnode_t *, char **, int *);
 133  133  extern tnode_t *topo_node_lookup(tnode_t *, const char *, topo_instance_t);
 134  134  extern int topo_method_invoke(tnode_t *node, const char *, topo_version_t,
 135  135      nvlist_t *, nvlist_t **, int *);
 136  136  extern boolean_t topo_method_supported(tnode_t *, const char *,
 137  137      topo_version_t);
 138  138  extern int topo_node_facility(topo_hdl_t *, tnode_t *, const char *,
 139  139      uint32_t, topo_faclist_t *, int *);
      140 +extern int topo_node_child_walk(topo_hdl_t *, tnode_t *, topo_walk_cb_t,
      141 +    void *, int *);
 140  142  
 141  143  /*
 142  144   * Node flags: denotes type of node
 143  145   */
 144  146  #define TOPO_NODE_DEFAULT       0
 145  147  #define TOPO_NODE_FACILITY      1
 146  148  
 147  149  #define TOPO_FAC_TYPE_SENSOR    "sensor"
 148  150  #define TOPO_FAC_TYPE_INDICATOR "indicator"
 149  151  
↓ open down ↓ 853 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX