github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/include/mpm.h (about)

     1  /* Licensed to the Apache Software Foundation (ASF) under one or more
     2   * contributor license agreements.  See the NOTICE file distributed with
     3   * this work for additional information regarding copyright ownership.
     4   * The ASF licenses this file to You under the Apache License, Version 2.0
     5   * (the "License"); you may not use this file except in compliance with
     6   * the License.  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  winnt/mpm.h
    19   * @brief MPM for Windows NT
    20   * 
    21   * this is the place to make declarations that are MPM specific but that must be 
    22   * shared with non-mpm specific code in the server.  Hummm, perhaps we can
    23   * move most of this stuff to mpm_common.h?
    24   *
    25   * @defgroup APACHE_MPM_WINNT WinNT MPM
    26   * @ingroup  APACHE_OS_WIN32 APACHE_MPM
    27   * @{
    28   */
    29  
    30  #ifndef APACHE_MPM_H
    31  #define APACHE_MPM_H
    32  
    33  #include "scoreboard.h"
    34  
    35  #define MPM_NAME "WinNT"
    36  
    37  #define AP_MPM_WANT_SET_PIDFILE
    38  #define AP_MPM_WANT_SET_MAX_REQUESTS
    39  #define AP_MPM_WANT_SET_COREDUMPDIR
    40  #define AP_MPM_WANT_SET_SCOREBOARD
    41  #define AP_MPM_WANT_SET_MAX_MEM_FREE
    42  #define AP_MPM_WANT_SET_STACKSIZE
    43  
    44  extern int ap_threads_per_child;
    45  extern int ap_thread_limit;
    46  extern server_rec *ap_server_conf;
    47  
    48  #endif /* APACHE_MPM_H */
    49  /** @} */