Back to index

php5  5.3.10
Defines
fpm_config.h File Reference
#include <php_config.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INADDR_NONE   (-1)
#define __attribute__(x)   /*NOTHING*/
#define timerisset(tvp)   ((tvp)->tv_sec || (tvp)->tv_usec)
#define timerclear(tvp)   ((tvp)->tv_sec = (tvp)->tv_usec = 0)
#define timersub(tvp, uvp, vvp)
#define timeradd(a, b, result)
#define timercmp(a, b, CMP)
#define MIN(a, b)   (((a)<(b))?(a):(b))
#define MAX(a, b)   (((a)>(b))?(a):(b))
#define HAVE_FPM_TRACE   0
#define HAVE_FPM_LQ   0

Define Documentation

#define __attribute__ (   x)    /*NOTHING*/

Definition at line 14 of file fpm_config.h.

#define HAVE_FPM_LQ   0

Definition at line 77 of file fpm_config.h.

#define HAVE_FPM_TRACE   0

Definition at line 71 of file fpm_config.h.

#define INADDR_NONE   (-1)

Definition at line 8 of file fpm_config.h.

#define MAX (   a,
 
)    (((a)>(b))?(a):(b))

Definition at line 65 of file fpm_config.h.

#define MIN (   a,
 
)    (((a)<(b))?(a):(b))

Definition at line 61 of file fpm_config.h.

#define timeradd (   a,
  b,
  result 
)
Value:
do {                                                 \
              (result)->tv_sec = (a)->tv_sec + (b)->tv_sec;    \
              (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
              if ((result)->tv_usec >= 1000000)                \
              {                                                \
                     ++(result)->tv_sec;                          \
                     (result)->tv_usec -= 1000000;                \
              }                                                \
       } while (0)

Definition at line 39 of file fpm_config.h.

#define timerclear (   tvp)    ((tvp)->tv_sec = (tvp)->tv_usec = 0)

Definition at line 23 of file fpm_config.h.

#define timercmp (   a,
  b,
  CMP 
)
Value:
(((a)->tv_sec == (b)->tv_sec) ?    \
  ((a)->tv_usec CMP (b)->tv_usec) :  \
    ((a)->tv_sec CMP (b)->tv_sec))

Definition at line 53 of file fpm_config.h.

#define timerisset (   tvp)    ((tvp)->tv_sec || (tvp)->tv_usec)

Definition at line 19 of file fpm_config.h.

#define timersub (   tvp,
  uvp,
  vvp 
)
Value:
do {                                                  \
              (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec;    \
              (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
              if ((vvp)->tv_usec < 0) {                         \
                     (vvp)->tv_sec--;                              \
                     (vvp)->tv_usec += 1000000;                    \
              }                                                 \
       } while (0)

Definition at line 27 of file fpm_config.h.