| 1 | /* $Cambridge: exim/src/src/osfunctions.h,v 1.5 2009/11/16 19:50:37 nm4 Exp $ */ |
| 2 | |
| 3 | /************************************************* |
| 4 | * Exim - an Internet mail transport agent * |
| 5 | *************************************************/ |
| 6 | |
| 7 | /* Copyright (c) University of Cambridge 1995 - 2009 */ |
| 8 | /* See the file NOTICE for conditions of use and distribution. */ |
| 9 | |
| 10 | /* Prototypes for os-specific functions. For utilities, we don't need the one |
| 11 | that uses a type that isn't defined for them. */ |
| 12 | |
| 13 | #ifndef COMPILE_UTILITY |
| 14 | extern ip_address_item *os_common_find_running_interfaces(void); |
| 15 | #endif |
| 16 | |
| 17 | extern int os_getloadavg(void); |
| 18 | extern void os_restarting_signal(int, void (*)(int)); |
| 19 | extern void os_non_restarting_signal(int, void (*)(int)); |
| 20 | extern const char *os_strexit(int); /* char to match os_strsignal */ |
| 21 | extern const char *os_strsignal(int); /* char to match strsignal in some OS */ |
| 22 | |
| 23 | /* End of osfunctions.h */ |