1 /* This program is free software; you can redistribute it and/or modify 2 * it under the terms of the GNU General Public License as published by 3 * the Free Software Foundation; version 2 of the License. For a copy, 4 * see http://www.gnu.org/licenses/gpl-2.0.html. 5 * 6 * This program is distributed in the hope that it will be useful, 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9 * GNU General Public License for more details. 10 */ 11 12 /* DON'T CHANGE THESE SETTINGS !! 13 */ 14 #ifndef _GLOBAL_H 15 #define _GLOBAL_H 16 17 #define KILOBYTE 1024 18 #define MEGABYTE 1048576 19 #define GIGABYTE 1073741824 20 21 #define MINUTE 60 22 #define HOUR 3600 23 #define DAY 86400 24 25 #define TASK_RUNNER_INTERVAL 10 26 27 #define TIMER_OFF 0 28 29 #define POLL_EVENT_BITS (POLLIN | POLLPRI | POLLHUP) 30 31 #define PTHREAD_STACK_SIZE 512 * KILOBYTE 32 33 #endif 34