Return to global.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitrpc / inc |
fix shutdown and write logic for handling shutdown command
1: /************************************************************************* 2: * (C) 2010 AITNET ltd - Sofia/Bulgaria - <misho@aitbg.com> 3: * by Michael Pounov <misho@openbsd-bg.org> 4: * 5: * $Author: misho $ 6: * $Id: global.h,v 1.1.1.1.2.1 2010/06/18 15:47:33 misho Exp $ 7: * 8: *************************************************************************/ 9: #ifndef __GLOBAL_H 10: #define __GLOBAL_H 11: 12: 13: #include "config.h" 14: 15: #include <stdio.h> 16: #include <stdlib.h> 17: #include <stdarg.h> 18: #include <string.h> 19: #include <unistd.h> 20: #include <errno.h> 21: #include <assert.h> 22: #include <netdb.h> 23: #include <dlfcn.h> 24: #include <pthread.h> 25: #include <fcntl.h> 26: #include <sys/types.h> 27: #include <sys/param.h> 28: #include <sys/limits.h> 29: #include <sys/socket.h> 30: #include <netinet/in.h> 31: #include <arpa/inet.h> 32: #include <aitcrc.h> 33: 34: #include "aitrpc.h" 35: #include "defs.h" 36: 37: 38: #endif