eoc_bucket.c revision 68c5b74c147923d8feec6e1d781b239afe9efefb
/* Copyright 2000-2004 The Apache Software Foundation
*
* 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_connection.h"
{
*len = 0;
return APR_SUCCESS;
}
{
b->length = 0;
b->start = 0;
b->type = &ap_bucket_type_eoc;
return b;
}
{
APR_BUCKET_INIT(b);
b->free = apr_bucket_free;
return ap_bucket_eoc_make(b);
}
};