1 /** 2 * Copyright 2006 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 util. 23 */ 24 25 #ifndef HTTEST_BODY_H 26 #define HTTEST_BODY_H 27 28 apr_status_t worker_body(worker_t **body, worker_t *worker); 29 void worker_body_end(worker_t *body, worker_t *worker); 30 apr_status_t command_IF(command_t * self, worker_t * worker, char *data, apr_pool_t *ptmp); 31 apr_status_t command_LOOP(command_t *self, worker_t *worker, char *data, apr_pool_t *ptmp); 32 apr_status_t command_FOR(command_t *self, worker_t *worker, char *data, apr_pool_t *ptmp); 33 apr_status_t command_BPS(command_t *self, worker_t *worker, char *data, apr_pool_t *ptmp); 34 apr_status_t command_RPS(command_t *self, worker_t *worker, char *data, apr_pool_t *ptmp); 35 apr_status_t command_SOCKET(command_t *self, worker_t *worker, char *data, apr_pool_t *ptmp); 36 apr_status_t command_ERROR(command_t *self, worker_t *worker, char *data, apr_pool_t *ptmp); 37 apr_status_t command_MILESTONE(command_t *self, worker_t *worker, char *data, apr_pool_t *ptmp); 38 39 #endif 40