summaryrefslogtreecommitdiff
path: root/sapi/fpm/fpm/fpm_unix.h
blob: 1e30fc09c3201073fbdc4befde18adf364cb0a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	/* $Id: fpm_unix.h,v 1.8 2008/05/25 13:21:13 anight Exp $ */
	/* (c) 2007,2008 Andrei Nigmatulin */

#ifndef FPM_UNIX_H
#define FPM_UNIX_H 1

#include "fpm_worker_pool.h"

int fpm_unix_resolve_socket_premissions(struct fpm_worker_pool_s *wp);
int fpm_unix_set_socket_premissions(struct fpm_worker_pool_s *wp, const char *path);
int fpm_unix_free_socket_premissions(struct fpm_worker_pool_s *wp);

int fpm_unix_init_child(struct fpm_worker_pool_s *wp);
int fpm_unix_init_main();

extern size_t fpm_pagesize;

#endif