#ifndef TRUE typedef int bool; #define TRUE 1 #define FALSE 0 #endif #ifndef AWAKE_H #define AWAKE_H #include "myrpc/mount.h" #include "myrpc/nfs_prot.h" #define TRY_FREEING_MEMORY 0 int handle_connection(int the_socket); int do_NFSmount(char *arguments, int the_socket); int do_NFSopen (char *arguments, int the_socket); int do_NFSread (char *arguments, int the_socket); int do_network_read (int filedesc, int offset, int amount, int the_socket); int do_cache_read (int filedesc, int offset, int amount, int the_socket); int do_NFSclose(char *arguments, int the_socket); int mountDirectory(char *dirname, diropargs * doaout, char * server); void prettyprintFILE(FILE * fin, const char * prefix); int remove_LRU_file_from_cache(void); int delete_least_recently_used_entry(void); int remove_from_cache(int which); #endif