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

Function usage

lib_acl_cpp/samples/aio/http_client/main.cpp:17–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15//////////////////////////////////////////////////////////////////////////////
16
17static void usage(const char* procname)
18{
19 printf("usage: %s -h[help]\r\n"
20 " -s server_addr\r\n"
21 " -e event_type[kernel|select|poll, default: kernel]\r\n"
22 " -D [if in debug mode, default: false]\r\n"
23 " -c cocorrent\r\n"
24 " -t connect_timeout[default: 5]\r\n"
25 " -i rw_timeout[default: 5]\r\n"
26 " -U url\r\n"
27 " -H host\r\n"
28 " -K [http keep_alive true]\r\n"
29 " -N name_server_list[default: 8.8.8.8:53]\r\n"
30 " -T ns_lookup_timeout[default: 5]\r\n"
31 , procname);
32}
33
34static void add_name_servers(std::vector<acl::string>& addrs, const char* s)
35{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…