old_db 218 src/database.c cron_db * new_db, cron_db * old_db) { old_db 246 src/database.c if (old_db != NULL) old_db 247 src/database.c u = find_user(old_db, fname, crond_crontab ? tabname : NULL); /* find user in old_db */ old_db 255 src/database.c unlink_user(old_db, u); old_db 268 src/database.c unlink_user(old_db, u); old_db 331 src/database.c void check_inotify_database(cron_db * old_db) { old_db 344 src/database.c FD_SET(old_db->ifd, &rfds); old_db 346 src/database.c retval = select(old_db->ifd + 1, &rfds, NULL, NULL, &tv); old_db 352 src/database.c else if (FD_ISSET(old_db->ifd, &rfds)) { old_db 354 src/database.c new_db.ifd = old_db->ifd; old_db 356 src/database.c while ((retval = (int)read(old_db->ifd, buf, sizeof (buf))) == -1 && old_db 375 src/database.c set_cron_watched(old_db->ifd); old_db 379 src/database.c process_crontab("root", NULL, SYSCRONTAB, &new_db, old_db); old_db 395 src/database.c process_crontab("root", NULL, tabname, &new_db, old_db); old_db 415 src/database.c process_crontab(fname, fname, tabname, &new_db, old_db); old_db 431 src/database.c overwrite_database(old_db, &new_db); old_db 436 src/database.c static void overwrite_database(cron_db * old_db, cron_db * new_db) { old_db 441 src/database.c for (u = old_db->head; u != NULL; u = nu) { old_db 444 src/database.c unlink_user(old_db, u); old_db 450 src/database.c *old_db = *new_db; old_db 453 src/database.c int load_database(cron_db * old_db) { old_db 508 src/database.c if (old_db->mtime == TMIN(now - 1, TMAX(crond_stat.st_mtime, old_db 524 src/database.c new_db.ifd = old_db->ifd; old_db 529 src/database.c process_crontab("root", NULL, SYSCRONTAB, &new_db, old_db); old_db 546 src/database.c process_crontab("root", NULL, tabname, &new_db, old_db); old_db 574 src/database.c process_crontab(fname, fname, tabname, &new_db, old_db); old_db 585 src/database.c overwrite_database(old_db, &new_db);