libmemcached: recognize more server out of memory conditions
[awesomized/libmemcached] / clients / ms_sigsegv.h
1 /*
2 * File: ms_sigsegv.h
3 * Author: Mingqiang Zhuang
4 *
5 * Created on March 15, 2009
6 *
7 * (c) Copyright 2009, Schooner Information Technology, Inc.
8 * http://www.schoonerinfotech.com/
9 *
10 */
11 #ifndef MS_SIGSEGV_H
12 #define MS_SIGSEGV_H
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 /* redirect signal seg */
19 int ms_setup_sigsegv(void);
20
21
22 /* redirect signal pipe */
23 int ms_setup_sigpipe(void);
24
25
26 /* redirect signal int */
27 int ms_setup_sigint(void);
28
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif /* end of MS_SIGSEGV_H */