Changeset 8375d0eb in mainline for uspace/app/bithenge/print.c
- Timestamp:
- 2012-06-08T07:02:55Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8b36bf2
- Parents:
- 5c925ce
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bithenge/print.c
r5c925ce r8375d0eb 141 141 } 142 142 143 /** Print a tree as text. 144 * @param type The format to use. 145 * @param tree The root node of the tree to print. 146 * @return EOK on success or an error code from errno.h. */ 143 147 int bithenge_print_node(bithenge_print_type_t type, bithenge_node_t *tree) 144 148 { 145 149 switch (bithenge_node_type(tree)) { 146 case BITHENGE_NODE_NONE:147 return EINVAL;148 150 case BITHENGE_NODE_INTERNAL: 149 151 return print_internal(type, tree); … … 159 161 return ENOTSUP; 160 162 } 163 164 /** @} 165 */
Note:
See TracChangeset
for help on using the changeset viewer.