Macros | |
| #define | PORT_QTV 27501 |
| Default port to listen for connecting clients. More... | |
Enumerations | |
| enum | redirect_t { RD_NONE, RD_CLIENT, RD_PACKET, RD_NONE, RD_CLIENT, RD_PACKET, RD_MOD } |
Functions | |
| void | qtv_begin_redirect (redirect_t rd, struct client_s *cl) |
| Begin redirection of console printing. More... | |
| void | qtv_end_redirect (void) |
| End redirection of console printing. More... | |
| void | qtv_printf (const char *fmt,...) |
| Formatted console printing with possible redirection. More... | |
| void | qtv_sbar_init (void) |
Variables | |
| struct cbuf_args_s * | qtv_args |
| struct cbuf_s * | qtv_cbuf |
| double | realtime |
| struct cvar_s * | sv_timeout |
| #define PORT_QTV 27501 |
Default port to listen for connecting clients.
| enum redirect_t |
| void qtv_begin_redirect | ( | redirect_t | rd, |
| struct client_s * | cl | ||
| ) |
Begin redirection of console printing.
All calls to qtv_printf() between a call to this and qtv_end_redirect() will be redirected.
| rd | Redirection type. |
| cl | Destination client of redirected output. Ignored for RD_PACKET redirection, required for RD_CLIENT. |
| void qtv_end_redirect | ( | void | ) |
End redirection of console printing.
All calls to qtv_printf() between a call to qtv_begin_redirect() and this will be redirected.
Causes the redirected output to be flushed to the destination set by qtv_begin_redirect ();
| void qtv_printf | ( | const char * | fmt, |
| ... | |||
| ) |
Formatted console printing with possible redirection.
Parameters are as per printf.
Calling qtv_begin_redirect() before, and qtv_end_redirect() after a series of calls will redirect output.
| void qtv_sbar_init | ( | void | ) |
| struct cbuf_args_s* qtv_args |
| struct cbuf_s* qtv_cbuf |
| double realtime |
| struct cvar_s* sv_timeout |