xref: /freebsd-13-stable/contrib/apr-util/buckets/apr_buckets.c (revision d1d015864103b253b3fcb2f72a0da5b0cfeb31b6)
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16 
17 #include "apr_buckets.h"
18 
apr_bucket_setaside_noop(apr_bucket * data,apr_pool_t * pool)19 APU_DECLARE_NONSTD(apr_status_t) apr_bucket_setaside_noop(apr_bucket *data,
20                                                           apr_pool_t *pool)
21 {
22     return APR_SUCCESS;
23 }
24 
apr_bucket_setaside_notimpl(apr_bucket * data,apr_pool_t * pool)25 APU_DECLARE_NONSTD(apr_status_t) apr_bucket_setaside_notimpl(apr_bucket *data,
26                                                              apr_pool_t *pool)
27 {
28     return APR_ENOTIMPL;
29 }
30 
apr_bucket_split_notimpl(apr_bucket * data,apr_size_t point)31 APU_DECLARE_NONSTD(apr_status_t) apr_bucket_split_notimpl(apr_bucket *data,
32                                                           apr_size_t point)
33 {
34     return APR_ENOTIMPL;
35 }
36 
apr_bucket_copy_notimpl(apr_bucket * e,apr_bucket ** c)37 APU_DECLARE_NONSTD(apr_status_t) apr_bucket_copy_notimpl(apr_bucket *e,
38                                                          apr_bucket **c)
39 {
40     return APR_ENOTIMPL;
41 }
42 
apr_bucket_destroy_noop(void * data)43 APU_DECLARE_NONSTD(void) apr_bucket_destroy_noop(void *data)
44 {
45     return;
46 }
47