15#include <interface99.h>
39#define Compy_Controller_IFACE \
46 void, options, VSelf99, Compy_Context *ctx, const Compy_Request *req) \
53 void, describe, VSelf99, Compy_Context *ctx, const Compy_Request *req) \
60 void, setup, VSelf99, Compy_Context *ctx, const Compy_Request *req) \
66 vfunc99(void, play, VSelf99, Compy_Context *ctx, const Compy_Request *req) \
73 void, pause_method, VSelf99, Compy_Context *ctx, \
74 const Compy_Request *req) \
81 void, teardown, VSelf99, Compy_Context *ctx, const Compy_Request *req) \
88 void, get_parameter, VSelf99, Compy_Context *ctx, \
89 const Compy_Request *req) \
95 void, unknown, VSelf99, Compy_Context *ctx, const Compy_Request *req) \
101 Compy_ControlFlow, before, VSelf99, Compy_Context *ctx, \
102 const Compy_Request *req) \
108 void, after, VSelf99, ssize_t ret, Compy_Context *ctx, \
109 const Compy_Request *req)
114#define Compy_Controller_EXTENDS (Compy_Droppable)
153 Compy_Writer conn, Compy_Controller controller,
interface99(Compy_Controller)
Defines the Compy_Controller interface.
void compy_dispatch(Compy_Writer conn, Compy_Controller controller, const Compy_Request *restrict req)
Dispatches an incoming request to controller.
Definition controller.c:5
Compy_ControlFlow
Whether to stop or continue some processing.
Definition controller.h:20
@ Compy_ControlFlow_Continue
Continue processing.
Definition controller.h:29
@ Compy_ControlFlow_Break
Break processing.
Definition controller.h:24
An RTSP request.
Definition request.h:21