1 /** 2 * Copyright 2010 Christian Liesch 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * 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 /** 18 * @file 19 * 20 * @Author christian liesch <liesch@gmx.ch> 21 * 22 * Interface of the HTTP Test Tool eval. 23 */ 24 25 #ifndef HTTEST_EVAL_H 26 #define HTTEST_EVAL_H 27 28 #include <apr_pools.h> 29 30 typedef struct math_eval_s math_eval_t; 31 32 math_eval_t *math_eval_make(apr_pool_t * pool); 33 apr_status_t math_evaluate(math_eval_t * hook, const char *line, long *val); 34 35 #endif 36