| 461 | } |
| 462 | |
| 463 | static pn_bytes_t *pni_data_bytes(pn_data_t *data, pni_node_t *node) |
| 464 | { |
| 465 | switch (node->atom.type) { |
| 466 | case PN_BINARY: |
| 467 | case PN_STRING: |
| 468 | case PN_SYMBOL: |
| 469 | return &node->atom.u.as_bytes; |
| 470 | default: return NULL; |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | static void pni_data_rebase(pn_data_t *data, char *base) |
| 475 | { |
no outgoing calls
no test coverage detected