| 374 | } |
| 375 | |
| 376 | int |
| 377 | xo_encoder_handle (xo_handle_t *xop, xo_encoder_op_t op, |
| 378 | const char *name, const char *value, xo_xff_flags_t flags) |
| 379 | { |
| 380 | void *private = xo_get_private(xop); |
| 381 | xo_encoder_func_t func = xo_get_encoder(xop); |
| 382 | |
| 383 | if (func == NULL) |
| 384 | return -1; |
| 385 | |
| 386 | return func(xop, op, name, value, private, flags); |
| 387 | } |
| 388 | |
| 389 | const char * |
| 390 | xo_encoder_op_name (xo_encoder_op_t op) |
no test coverage detected