fdqueue.h revision 9d129b55f5a43abf43865c6b0eb6dd19bc22aba8
/* Copyright 2001-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @brief fd queue declarations
*
* @addtogroup APACHE_MPM_WORKER
* @{
*/
#ifndef FDQUEUE_H
#define FDQUEUE_H
#include "httpd.h"
#include <stdlib.h>
#include <unistd.h>
#endif
#include <apr_thread_mutex.h>
#include <apr_thread_cond.h>
#endif
#include <apr_errno.h>
typedef struct fd_queue_info_t fd_queue_info_t;
struct fd_queue_elem_t {
apr_pool_t *p;
};
typedef struct fd_queue_elem_t fd_queue_elem_t;
struct fd_queue_t {
int nelts;
int bounds;
int terminated;
};
typedef struct fd_queue_t fd_queue_t;
#endif /* FDQUEUE_H */
/** @} */