! * Read service request from sock * \Return * pointer to dynamically allocated request tag */
| 135 | * pointer to dynamically allocated request tag |
| 136 | */ |
| 137 | static 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 |
no test coverage detected