MCPcopy Create free account
hub / github.com/acl-dev/acl / show_message

Function show_message

lib_acl_cpp/samples/redis/redis_stream/redis_stream.cpp:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static void show_message(const acl::redis_stream_message& message)
129{
130 printf("\tid=%s\r\n", message.id.c_str());
131 for (std::vector<acl::redis_stream_field>::const_iterator cit
132 = message.fields.begin(); cit != message.fields.end(); ++cit) {
133 printf("\t\tname=%s, value=%s\r\n", (*cit).name.c_str(),
134 (*cit).value.c_str());
135 }
136}
137
138static void show_messages(const acl::redis_stream_messages& messages)
139{

Callers 2

show_messagesFunction · 0.85
xinfo_streamFunction · 0.85

Calls 3

beginMethod · 0.80
c_strMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…