* This function is a cache client */
| 229 | * This function is a cache client |
| 230 | */ |
| 231 | static void Plain_callback(int Op, CacheClient_t *Client) |
| 232 | { |
| 233 | DilloPlain *plain = (DilloPlain*)Client->CbData; |
| 234 | |
| 235 | if (Op) { |
| 236 | /* Do the last line: */ |
| 237 | plain->write(Client->Buf, Client->BufSize, 1); |
| 238 | /* remove this client from our active list */ |
| 239 | a_Bw_close_client(plain->bw, Client->Key); |
| 240 | } else { |
| 241 | plain->write(Client->Buf, Client->BufSize, 0); |
| 242 | } |
| 243 | } |
| 244 |
nothing calls this directly
no test coverage detected