]> mj.ucw.cz Git - libucw.git/blobdiff - lib/mainloop.h
add a posibility to hash raw memory blocks
[libucw.git] / lib / mainloop.h
index 146c4ca71563e013a00ba189fe921107e482aef2..434f639b4add70fa4a99732f98a4b279849727ec 100644 (file)
@@ -60,6 +60,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() */
 
 /* Hooks to be called in each iteration of the main loop */