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

Function pn_string_bytes

c/src/core/object/string.c:137–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137pn_bytes_t pn_string_bytes(pn_string_t *string)
138{
139 if (!string || string->size == PNI_NULL_SIZE) {
140 return (pn_bytes_t){0, NULL};
141 } else {
142 return (pn_bytes_t){string->size, string->bytes};
143 }
144}
145
146int pn_string_set(pn_string_t *string, const char *bytes)
147{

Callers 7

pni_post_sasl_frameFunction · 0.85
emit_conditionFunction · 0.85
pni_find_linkFunction · 0.85
pni_process_conn_setupFunction · 0.85
pni_process_link_setupFunction · 0.85
pn_message_get_user_idFunction · 0.85
pn_message_encodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected