Changeset 78d3a00 in mainline for uspace/app/bithenge/transform.c
- Timestamp:
- 2012-07-31T21:07:26Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f2ea63
- Parents:
- 20ac1a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bithenge/transform.c
r20ac1a4 r78d3a00 183 183 bithenge_transform_t bithenge_ascii_transform = { 184 184 &ascii_ops, 1, 0 185 }; 186 187 static int invalid_apply(bithenge_transform_t *self, bithenge_scope_t *scope, 188 bithenge_node_t *in, bithenge_node_t **out) 189 { 190 return EINVAL; 191 } 192 193 static const bithenge_transform_ops_t invalid_ops = { 194 .apply = invalid_apply, 195 .destroy = transform_indestructible, 196 }; 197 198 /** A transform that always raises an error. */ 199 bithenge_transform_t bithenge_invalid_transform = { 200 &invalid_ops, 1, 0 185 201 }; 186 202
Note:
See TracChangeset
for help on using the changeset viewer.