MCPcopy Create free account
hub / github.com/OpenPrinting/cups / write_pipe

Function write_pipe

scheduler/client.c:3866–3877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3864 */
3865
3866static void
3867write_pipe(cupsd_client_t *con) /* I - Client connection */
3868{
3869 cupsdLogClient(con, CUPSD_LOG_DEBUG2, "write_pipe: CGI output on fd %d.", con->file);
3870
3871 con->file_ready = 1;
3872
3873 cupsdRemoveSelect(con->file);
3874 cupsdAddSelect(httpGetFd(con->http), NULL, (cupsd_selfunc_t)cupsdWriteClient, con);
3875
3876 cupsdLogClient(con, CUPSD_LOG_DEBUG, "CGI data ready to be sent.");
3877}

Callers

nothing calls this directly

Calls 4

cupsdLogClientFunction · 0.85
cupsdRemoveSelectFunction · 0.85
cupsdAddSelectFunction · 0.85
httpGetFdFunction · 0.85

Tested by

no test coverage detected