MCPcopy Create free account
hub / github.com/apache/qpid-proton / pn_data_put_string

Function pn_data_put_string

c/src/core/codec.c:1810–1817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1808}
1809
1810int pn_data_put_string(pn_data_t *data, pn_bytes_t string)
1811{
1812 pni_node_t *node = pni_data_add(data);
1813 if (node == NULL) return PN_OUT_OF_MEMORY;
1814 node->atom.type = PN_STRING;
1815 node->atom.u.as_bytes = string;
1816 return pni_data_intern_node(data, node);
1817}
1818
1819int pn_data_put_symbol(pn_data_t *data, pn_bytes_t symbol)
1820{

Callers 15

pn_data_vfillFunction · 0.70
pn_data_appendnFunction · 0.70
pni_decoder_decode_valueFunction · 0.70
pn_data_put_amqp_stringFunction · 0.50
message_test.cppFile · 0.50
encode_messageFunction · 0.50
send_messageFunction · 0.50
encode_messageFunction · 0.50
send_messageFunction · 0.50
BM_EncodeListMessageFunction · 0.50
BM_CreateListMessageFunction · 0.50

Calls 2

pni_data_addFunction · 0.85
pni_data_intern_nodeFunction · 0.85

Tested by

no test coverage detected