2
0
Fork 0

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

This commit is contained in:
Stefan Bühler 2013-05-22 19:44:45 +02:00
parent f1f1aacdfe
commit c40b1da839
1 changed files with 11 additions and 3 deletions

View File

@ -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) {