~clint-fewbar/ubuntu/precise/php5/php5-5.4-merge

« back to all changes in this revision

Viewing changes to sapi/fpm/fpm/fpm_sockets.h

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-02-22 09:46:37 UTC
  • mfrom: (1.1.20) (0.3.18 sid)
  • Revision ID: package-import@ubuntu.com-20110222094637-nlu2tvb7oqgaarl0
Tags: 5.3.5-1ubuntu1
* Merge from debian/unstable. Remaining changes:
 - debian/control:
    * Dropped firebird2.1-dev, libc-client-dev, libmcrypt-dev as it is in universe.
    * Dropped libmysqlclient15-dev, build against mysql 5.1.
    * Dropped libcurl-dev not in the archive.
    * Suggest php5-suhosin rather than recommends.
    * Dropped php5-imap, php5-interbase, php5-mcrypt since we have versions 
      already in universe.
    * Dropped libonig-dev and libqgdbm since its in universe. (will be re-added in lucid+1)
    * Dropped locales-all.
  - modulelist: Drop imap, interbase, sybase, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
    * stop mysql instance on clean just in case we failed in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
#include "fpm_worker_pool.h"
12
12
 
 
13
/*
 
14
  On FreeBSD and OpenBSD, backlog negative values are truncated to SOMAXCONN
 
15
*/
 
16
#if (__FreeBSD__) || (__OpenBSD__)
 
17
#define FPM_BACKLOG_DEFAULT -1
 
18
#else
 
19
#define FPM_BACKLOG_DEFAULT 128
 
20
#endif
 
21
 
13
22
enum fpm_address_domain fpm_sockets_domain_from_address(char *addr);
14
23
int fpm_sockets_init_main();
 
24
int fpm_socket_get_listening_queue(struct fpm_worker_pool_s *wp, unsigned *cur_lq, unsigned *max_lq);
15
25
 
16
26
 
17
27
static inline int fd_set_blocked(int fd, int blocked) /* {{{ */