eor_bucket.c revision 5e677992d079a89ff37dc05f4cef27b63205efd7
/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "httpd.h"
#include "http_request.h"
#include "http_protocol.h"
{
*len = 0;
return APR_SUCCESS;
}
{
b->length = 0;
b->start = 0;
b->data = r;
b->type = &ap_bucket_type_eor;
return b;
}
request_rec *r)
{
APR_BUCKET_INIT(b);
b->free = apr_bucket_free;
return ap_bucket_eor_make(b, r);
}
static void eor_bucket_destroy(void *data)
{
if (r != NULL) {
apr_pool_destroy(r->pool);
}
}
};