/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
#include "apr.h"
#include "apr_pools.h"
#include "apr_poll.h"
#include "apr_hash.h"
#include "apr_ring.h"
#include "apr_thread_pool.h"
#include "apr_buckets.h"
#include "httpd.h"
#ifndef APACHE_MPM_SIMPLE_TYPES_H
#define APACHE_MPM_SIMPLE_TYPES_H
typedef struct
{
int proc_count;
int thread_count;
typedef enum
{
/* pqXXXXXX: User IO not defined yet. */
typedef enum
{
struct simple_sb_t
{
void *baton;
};
struct simple_timer_t
{
void *baton;
};
struct simple_child_t
{
/* TODO: More is needed here. */
};
struct simple_core_t
{
int mpm_state;
int restart_num;
int run_single_process;
int run_foreground;
/* PID -> simple_child_t map */
/* List of upcoming timers, sorted by nearest first.
*/
};
struct simple_conn_t
{
conn_rec *c;
/** poll file descriptor information */
/** public parts of the connection state */
};
simple_core_t *simple_core_get(void);
/* Allocates/initializes data retained over the life of the process */
#endif /* APACHE_MPM_SIMPLE_TYPES_H */