285 #ifndef SHARED_H #define SHARED_H #include typedef struct shared_rec { char *file_name; int size; int bitrate; int freq; int sec; struct shared_rec *next; } SHARED; typedef struct shared_dir_rec { char *dir_name; struct shared_dir_rec *next; } SHAREDDIR; extern SHARED *shared_files; extern SHAREDDIR *shared_dirs; void notify_shared_files(void); void remove_shared_file(char *name); int add_shared_files2(char *dir); int add_shared_files(void); int remove_shared_files(char *dir); void read_file_list(FILE *fd); void save_file_list(FILE *fd); #endif . 0