[subrequests lua] fix compile warnings. still not working, needs to be ported to stream api.

personal/stbuehler/wip
Stefan Bühler 10 years ago
parent f1f1aacdfe
commit c40b1da839

@ -272,13 +272,21 @@ static void subvr_handle_response_error(liVRequest *vr) {
subvr_release_lua(sr);
}
static void subvr_handle_check_io(liVRequest *vr) {
subvr_check(vr);
/* TODO: support some day maybe... */
static liThrottleState* subvr_handle_throttle_out(liVRequest *vr) {
UNUSED(vr);
return NULL;
}
static liThrottleState* subvr_handle_throttle_in(liVRequest *vr) {
UNUSED(vr);
return NULL;
}
static const liConCallbacks subrequest_callbacks = {
subvr_handle_response_error,
subvr_handle_check_io
subvr_handle_throttle_out,
subvr_handle_throttle_in
};
static liSubrequest* subrequest_new(liVRequest *vr) {

Loading…
Cancel
Save