| 259 | } |
| 260 | |
| 261 | void |
| 262 | xo_encoder_register (const char *name, xo_encoder_func_t func) |
| 263 | { |
| 264 | xo_encoder_setup(); |
| 265 | |
| 266 | xo_encoder_node_t *xep = xo_encoder_find(name); |
| 267 | |
| 268 | if (xep) /* "We alla-ready got one" */ |
| 269 | return; |
| 270 | |
| 271 | xep = xo_encoder_list_add(name); |
| 272 | if (xep) |
| 273 | xep->xe_handler = func; |
| 274 | } |
| 275 | |
| 276 | void |
| 277 | xo_encoder_unregister (const char *name) |
nothing calls this directly
no test coverage detected