home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff319.lzh / CNewsSrc / cnews.orig.lzh / relay / caches.c < prev    next >
C/C++ Source or Header  |  1989-06-27  |  328b  |  23 lines

  1. /*
  2.  * cache control
  3.  */
  4.  
  5. #include <stdio.h>
  6. #include <sys/types.h>
  7. #include "news.h"
  8. #include "active.h"
  9. #include "caches.h"
  10. #include "transmit.h"
  11.  
  12. statust
  13. loadcaches()                /* reload in-core caches from disk */
  14. {
  15.     return actload();
  16. }
  17.  
  18. statust
  19. synccaches()                /* force in-core caches to disk */
  20. {
  21.     return actsync() | trclose();
  22. }
  23.