842ae4bd224140319ae7feec1872b93dfd491143fielding/* Licensed to the Apache Software Foundation (ASF) under one or more
842ae4bd224140319ae7feec1872b93dfd491143fielding * contributor license agreements. See the NOTICE file distributed with
842ae4bd224140319ae7feec1872b93dfd491143fielding * this work for additional information regarding copyright ownership.
842ae4bd224140319ae7feec1872b93dfd491143fielding * The ASF licenses this file to You under the Apache License, Version 2.0
842ae4bd224140319ae7feec1872b93dfd491143fielding * (the "License"); you may not use this file except in compliance with
842ae4bd224140319ae7feec1872b93dfd491143fielding * the License. You may obtain a copy of the License at
b8d55029467b9f139d081cf38c6d06ff45e742a9nd * Unless required by applicable law or agreed to in writing, software
b8d55029467b9f139d081cf38c6d06ff45e742a9nd * distributed under the License is distributed on an "AS IS" BASIS,
b8d55029467b9f139d081cf38c6d06ff45e742a9nd * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
b8d55029467b9f139d081cf38c6d06ff45e742a9nd * See the License for the specific language governing permissions and
b8d55029467b9f139d081cf38c6d06ff45e742a9nd * limitations under the License.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding/* This program tests the ap_get_list_item routine in ../main/util.c.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding * The defines in this sample compile line are specific to Roy's system.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding * They should match whatever was used to compile Apache first.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding gcc -g -O2 -I../os/unix -I../include -o test_parser \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -DSOLARIS2=250 -Wall -DALLOC_DEBUG -DPOOL_DEBUG \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ../ap/libap.a -lsocket -lnsl test_parser.c
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding * Roy Fielding, 1999
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding * Dummy a bunch of stuff just to get a compile
3d96ee83babeec32482c9082c9426340cee8c44dwroweAP_DECLARE(void) ap_log_error(const char *file, int line, int level,
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding while ((newstr = ap_get_list_item(p, &field)) != NULL)