00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _EGG_MOD_FILESYS_FILESYS_H
00027 #define _EGG_MOD_FILESYS_FILESYS_H
00028
00029 #include "src/lang.h"
00030 #include "transfer.mod/transfer.h"
00031
00032 #ifdef MAKING_FILESYS
00033 static int too_many_filers();
00034 static int welcome_to_files(int);
00035 static void add_file(char *, char *, char *);
00036 static void incr_file_gots(char *);
00037 static void remote_filereq(int, char *, char *);
00038 static FILE *filedb_open(char *, int);
00039 static void filedb_close(FILE *);
00040 static void filedb_add(FILE *, char *, char *);
00041 static void filedb_ls(FILE *, int, char *, int);
00042 static void filedb_getowner(char *, char *, char **);
00043 static void filedb_setowner(char *, char *, char *);
00044 static void filedb_getdesc(char *, char *, char **);
00045 static void filedb_setdesc(char *, char *, char *);
00046 static int filedb_getgots(char *, char *);
00047 static void filedb_setlink(char *, char *, char *);
00048 static void filedb_getlink(char *, char *, char **);
00049 static void filedb_getfiles(Tcl_Interp *, char *);
00050 static void filedb_getdirs(Tcl_Interp *, char *);
00051 static void filedb_change(char *, char *, int);
00052 static void tell_file_stats(int, char *);
00053 static int do_dcc_send(int, char *, char *, char *, int);
00054 static int files_reget(int, char *, char *, int);
00055 static void files_setpwd(int, char *);
00056 static int resolve_dir(char *, char *, char **, int);
00057
00058 #else
00059 #define H_fil (*(p_tcl_hash_list *)(filesys_funcs[8]))
00060 #endif
00061
00062 #endif