MCPcopy Create free account
hub / github.com/dillo-browser/dillo / get_request

Function get_request

dpid/main.c:137–146  ·  view source on GitHub ↗

! * Read service request from sock * \Return * pointer to dynamically allocated request tag */

Source from the content-addressed store, hash-verified

135 * pointer to dynamically allocated request tag
136 */
137static char *get_request(Dsh *sh)
138{
139 char *dpip_tag;
140
141 (void) sigprocmask(SIG_BLOCK, &mask_sigchld, NULL);
142 dpip_tag = a_Dpip_dsh_read_token(sh, 1);
143 (void) sigprocmask(SIG_UNBLOCK, &mask_sigchld, NULL);
144
145 return dpip_tag;
146}
147
148/*!
149 * Get value of cmd field in dpi_tag

Callers 1

mainFunction · 0.85

Calls 1

a_Dpip_dsh_read_tokenFunction · 0.85

Tested by

no test coverage detected