]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/mainloop.h
Libucw supports installation
[libucw.git] / ucw / mainloop.h
index e4992bc14e7e8415dfd31828ccb2af0fde3ea8c2..9d668859f15645fbebec93147cf62d13e4c528b9 100644 (file)
@@ -13,7 +13,7 @@
 #include "ucw/clists.h"
 
 extern timestamp_t main_now;                   /* Current time in milliseconds since UNIX epoch */
-extern sh_time_t main_now_seconds;             /* Current time in seconds since the epoch */
+extern ucw_time_t main_now_seconds;            /* Current time in seconds since the epoch */
 extern uns main_shutdown;
 extern clist main_timer_list, main_file_list, main_hook_list, main_process_list;
 
@@ -64,7 +64,7 @@ void file_del(struct main_file *fi);
 void file_read(struct main_file *fi, void *buf, uns len);
 void file_write(struct main_file *fi, void *buf, uns len);
 void file_set_timeout(struct main_file *fi, timestamp_t expires);
-void file_close_all(void);                     /* Close all known main_file's; frequently used before fork() */
+void file_close_all(void);                     /* Close all known main_file's; frequently used after fork() */
 
 /* Hooks to be called in each iteration of the main loop */