* Record an encoder callback function in an xo handle. */
| 8466 | * Record an encoder callback function in an xo handle. |
| 8467 | */ |
| 8468 | void |
| 8469 | xo_set_encoder (xo_handle_t *xop, xo_encoder_func_t encoder) |
| 8470 | { |
| 8471 | xop = xo_default(xop); |
| 8472 | |
| 8473 | xop->xo_style = XO_STYLE_ENCODER; |
| 8474 | xop->xo_encoder = encoder; |
| 8475 | } |
| 8476 | |
| 8477 | /* |
| 8478 | * The xo(1) utility needs to be able to open and close lists and |
no test coverage detected