Lines Matching refs:hp_node_t
68 typedef struct hp_node *hp_node_t;
73 hp_node_t hp_init(const char *path, const char *connection, uint_t flags);
74 void hp_fini(hp_node_t root);
75 int hp_traverse(hp_node_t root, void *arg,
76 int (*hp_callback)(hp_node_t, void *arg));
77 int hp_type(hp_node_t node);
78 char *hp_name(hp_node_t node);
79 char *hp_usage(hp_node_t node);
80 char *hp_driver(hp_node_t node);
81 int hp_instance(hp_node_t node);
82 int hp_state(hp_node_t node);
83 char *hp_state_priv(hp_node_t node);
84 char *hp_description(hp_node_t node);
85 time_t hp_last_change(hp_node_t node);
86 hp_node_t hp_parent(hp_node_t node);
87 hp_node_t hp_child(hp_node_t node);
88 hp_node_t hp_sibling(hp_node_t node);
89 int hp_path(hp_node_t node, char *path, char *connection);
90 int hp_set_state(hp_node_t node, uint_t flags, int state,
91 const char *state_priv, hp_node_t *resultsp);
92 int hp_set_private(hp_node_t node, const char *options,
94 int hp_get_private(hp_node_t node, const char *options,
96 int hp_install(hp_node_t node, uint_t flags, hp_node_t *resultsp);
97 int hp_uninstall(hp_node_t node, uint_t flags, hp_node_t *resultsp);
98 int hp_create_port(hp_node_t node, const char *cn_name,
99 hp_node_t *resultsp);
100 int hp_remove_port(hp_node_t node, hp_node_t *resultsp);
101 int hp_state_ceiling(hp_node_t node);
102 int hp_set_state_ceiling(hp_node_t node, int state,
103 uint32_t *handlep, hp_node_t *resultsp);
104 int hp_clear_state_ceiling(hp_node_t node, uint32_t handle,
105 int flags, hp_node_t *resultsp);
106 int hp_pack(hp_node_t root, char **bufp, size_t *lenp);
107 int hp_unpack(char *packed_buf, size_t packed_len, hp_node_t *retp);