php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
fpm_conf.h File Reference
#include <stdint.h>
#include "php.h"

Go to the source code of this file.

Data Structures

struct  key_value_s
 
struct  fpm_global_config_s
 
struct  fpm_worker_pool_config_s
 
struct  ini_value_parser_s
 

Macros

#define PM2STR(a)
 
#define FPM_CONF_MAX_PONG_LENGTH   64
 

Enumerations

enum  { PM_STYLE_STATIC = 1 , PM_STYLE_DYNAMIC = 2 , PM_STYLE_ONDEMAND = 3 }
 

Functions

int fpm_conf_init_main (int test_conf, int force_daemon)
 
int fpm_worker_pool_config_free (struct fpm_worker_pool_config_s *wpc)
 
int fpm_conf_write_pid (void)
 
int fpm_conf_unlink_pid (void)
 

Variables

struct fpm_global_config_s fpm_global_config
 

Macro Definition Documentation

◆ FPM_CONF_MAX_PONG_LENGTH

#define FPM_CONF_MAX_PONG_LENGTH   64

Definition at line 11 of file fpm_conf.h.

◆ PM2STR

#define PM2STR ( a)
Value:
(a == PM_STYLE_STATIC ? "static" : (a == PM_STYLE_DYNAMIC ? "dynamic" : "ondemand"))
@ PM_STYLE_DYNAMIC
Definition fpm_conf.h:120
@ PM_STYLE_STATIC
Definition fpm_conf.h:119
$obj a
Definition test.php:84

Definition at line 9 of file fpm_conf.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PM_STYLE_STATIC 
PM_STYLE_DYNAMIC 
PM_STYLE_ONDEMAND 

Definition at line 118 of file fpm_conf.h.

Function Documentation

◆ fpm_conf_init_main()

int fpm_conf_init_main ( int test_conf,
int force_daemon )

Definition at line 1836 of file fpm_conf.c.

◆ fpm_conf_unlink_pid()

int fpm_conf_unlink_pid ( void )

Definition at line 1240 of file fpm_conf.c.

◆ fpm_conf_write_pid()

int fpm_conf_write_pid ( void )

Definition at line 1251 of file fpm_conf.c.

◆ fpm_worker_pool_config_free()

int fpm_worker_pool_config_free ( struct fpm_worker_pool_config_s * wpc)

Definition at line 662 of file fpm_conf.c.

Variable Documentation

◆ fpm_global_config

struct fpm_global_config_s fpm_global_config
extern

Definition at line 64 of file fpm_conf.c.