Apply patch from bug #41250, by Chris Darroch
[apr-util.git] / buckets / apr_buckets.c
blob802f4e2596944ed3ceb9eac30b8558bb86fe86f8
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements. See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #include "apr_buckets.h"
19 APU_DECLARE_NONSTD(apr_status_t) apr_bucket_setaside_noop(apr_bucket *data,
20 apr_pool_t *pool)
22 return APR_SUCCESS;
25 APU_DECLARE_NONSTD(apr_status_t) apr_bucket_setaside_notimpl(apr_bucket *data,
26 apr_pool_t *pool)
28 return APR_ENOTIMPL;
31 APU_DECLARE_NONSTD(apr_status_t) apr_bucket_split_notimpl(apr_bucket *data,
32 apr_size_t point)
34 return APR_ENOTIMPL;
37 APU_DECLARE_NONSTD(apr_status_t) apr_bucket_copy_notimpl(apr_bucket *e,
38 apr_bucket **c)
40 return APR_ENOTIMPL;
43 APU_DECLARE_NONSTD(void) apr_bucket_destroy_noop(void *data)
45 return;