#include <sys/types.h>#include <limits.h>Include dependency graph for tab.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | cronjob |
| struct | crontab |
Defines | |
| #define | NEVER ((time_t) ((time_t) -1 < 0 ? LONG_MAX : ULONG_MAX)) |
| #define | TAB_MAX ((sizeof(int) == 2 ? 8 : 128) * 1024) |
| #define | IDLE_PID ((pid_t) 0) |
| #define | NO_PID ((pid_t) -1) |
| #define | bit_set(map, n) ((void) ((map)[(n) >> 3] |= (1 << ((n) & 7)))) |
| #define | bit_clr(map, n) ((void) ((map)[(n) >> 3] &= ~(1 << ((n) & 7)))) |
| #define | bit_isset(map, n) (!!((map)[(n) >> 3] & (1 << ((n) & 7)))) |
Typedefs | |
| typedef unsigned char | bitmap_t [8] |
| typedef cronjob | cronjob_t |
| typedef crontab | crontab_t |
Functions | |
| void | tab_parse (char *file, char *user) |
| void | tab_find_atjob (char *atdir) |
| void | tab_purge (void) |
| void | tab_reap_job (pid_t pid) |
| void | tab_reschedule (cronjob_t *job) |
| cronjob_t * | tab_nextjob (void) |
| void | tab_print (FILE *fp) |
Variables | |
| crontab_t * | crontabs |
|
|
|
|
|
Definition at line 57 of file tab.h. Referenced by do_fkey_ctl(), nextbit(), and pr_map(). |
|
|
Definition at line 55 of file tab.h. Referenced by exit_server(), init_server(), and main(). |
|
|
Definition at line 51 of file tab.h. Referenced by reap_or_find(). |
|
|
Definition at line 45 of file tab.h. Referenced by findpool(), job_connect(), job_find_named(), job_read_udp(), job_setup_connect(), job_setup_listen(), main(), newnetwork(), opendev(), reap_or_find(), rip_incoming(), tab_find_atjob(), tab_reschedule(), and time_functions(). |
|
|
Definition at line 52 of file tab.h. Referenced by main(), and tab_nextjob(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 596 of file tab.c. References entry, i, isdigit, localtime(), NEVER, nil, now, opendir, readdir, spool(), t1, tab, and time_t. Referenced by load_crontabs(). |
|
|
Definition at line 741 of file tab.c. References NO_PID, and reap_or_find(). Referenced by main(). |
|
||||||||||||
|
Definition at line 383 of file tab.c. References atab, crontabs, n, nil, ok(), r, st, strcmp, tab, and wc. Referenced by load_crontabs(), and main(). |
|
|
Definition at line 771 of file tab.c. References crontabs, ctime(), fp, fprintf(), if(), job(), nil, and tab. Referenced by load_crontabs(). |
|
|
Definition at line 682 of file tab.c. References atab, crontabs, deallocate, job(), nil, and tab. Referenced by load_crontabs(), and main(). |
|
|
Definition at line 733 of file tab.c. References reap_or_find(). Referenced by main(). |
|
|
Definition at line 34 of file tab.c. References job(), localtime(), NEVER, now, time_t, tm::tm_hour, tm::tm_min, and tm::tm_sec. Referenced by reap_or_find(), and run_job(). |
|
|
Definition at line 42 of file tab.h. Referenced by main(), reap_or_find(), tab_parse(), tab_print(), and tab_purge(). |
1.4.6