/* command1.cc 17/05/1998 15.26.36 */ export void command_jmpexec (const char *prg, const char *argstr); /* command2.cc 12/01/1990 00.14.10 */ export int command_saveexec (const char *cmd, char *bufres, int len); /* command.cc 12/09/1995 00.46.04 */ export int command_nbcall (void); export int command_exec (const char *cmd); export int command_fastexec (const char *cmd); /* date.cc 17/01/1999 22.37.08 */ export short unsigned date_currentu (void); export short unsigned date_a2u (const char *date); export unsigned long date_td2l (short unsigned date, short unsigned timet); export unsigned long date_td2l_dos (short unsigned date, short unsigned time); export unsigned long date_unix2dos (unsigned long date); export int date_td2a (long datetime, char *str, int format); /* _dict.cc 17/05/1998 15.26.02 */ /* dir2.cc 25/06/1998 17.06.04 */ export int dir_copystruct (const char *refpath, const char *wrkpath); export int dir_delete (const char *path, const char *wild); /* dir.cc 09/12/1999 22.38.26 */ export int dir_gen (const char *path, const char *select[], const char *noselect[], int subdir, int (*fct)(const FILEINFO *info, const char *path, const char *add, int nbf), int depfirst); export int dir_gen_h (const char *path, const char *select[], const char *noselect[], int subdir, int (*fct)(const FILEINFO *info, const char *path, const char *add, int nbf), int depfirst); export int dir (const char *path, const char *select, int subdir, int (*fct)(const FILEINFO *info, const char *path, const char *add, int nbf)); /* file1.cc 06/08/1993 00.08.52 */ export void file_baseext (const char *fname, char *base, char *ext); export int file_iswild (const char *fpath); export int file_correspond (const char *list1, const char *elm1, const char *list2, char *elm2); export int file_fromwild (const char *filename, const char *wildname); /* file2.cc 17/05/1998 15.37.28 */ export unsigned long file_dosdate (const char *filnam); export int file_touch (const char *filnam, int newp); export int file_setdate (const char *fname, long date); /* file4.cc 17/05/1998 22.07.46 */ export int file_findpath0 (const char *tbnom[], int nbnom, char *path); export int file_findpath (const char *fichier, char *path); export int file_findexe (const char *nomutil, char *path); /* file5.cc 17/05/1998 15.31.00 */ export int file_unlink (const char *fpath); export int file_mkdir (const char *fname); export int file_rmdir (const char *fname); /* file6.cc 14/12/1999 17.59.00 */ export int file_chown (const char *fname, int user, int group); export int file_copy (const char *dirsrc, const char *dirdst, const char *namesrc, const char *namedst); export int file_copyp (const char *pathsrc, const char *pathdst); /* file7.cc 25/06/1998 17.05.50 */ export int file_writeok (const char *fname); export int file_setmode (const char *fname, int writeok); /* file8.cc 08/02/2000 11.56.08 */ export long file_getfree (const char *path); export int file_getname_len (const char *path); /* filebak.cc 19/03/2002 15.33.38 */ export int filebak_before (const char *fname, const char *extbak, char *ftmp, char *fwork, bool force); export int filebak_before (const char *fname, const char *extbak, char *ftmp, char *fwork); export int filebak_ok (const char *, const char *, char *, char *); export int filebak_abort (const char *fname, const char *, char *ftmp, char *); /* file.cc 10/09/2001 17.05.46 */ int file_statinfo (const char *fpath, FILEINFO *info); export int file_info (const char *filnam, unsigned long *date, long *size); export int file_infodos (const char *filnam, unsigned long *date, long *size); export long file_size (const char *filnam); export int file_rename (const char *present, const char *nouveau); export void file_chgext (const char *oldfile, char *newfile, const char *newext); export int file_renameext (const char *nomfch, const char *ext, int force); export int file_cmpext (const char *fname, const char *extcmp); /* lock.cc 17/05/1998 15.33.52 */ export int process_isalive (int proc); export int lock_set (const char *fname, int retry); export int lock_unset (const char *fname); /* mktime.cc 10/02/1993 02.26.26 */ time_t tool_mktime (struct tm *tm); time_t mkgmtime (struct tm *tm); /* path1.cc 25/06/1998 17.36.34 */ export int path_simplifie (const char *path, char *newp); export int path_setabs0 (const char *cwd, const char *oldpath, char *newp); export int path_setabs (const char *oldpath, char *newp); /* path2.cc 17/05/1998 22.09.16 */ export int path_getcwd (char *path, int buflen); export int path_isroot (const char *path); export int path_chdir (const char *newpath); export int path_pushdir (const char *path, SAVEPATH *savepath); export int path_popdir (SAVEPATH *savepath); /* path3.cc 17/05/1998 22.08.56 */ export int path_varenvsplit (const char *nomvar, char *tb[]); export int path_validate (void); /* path5.cc 21/08/1994 23.46.40 */ export int path_isvalid (const char *path); /* path6.cc 08/01/1992 21.31.42 */ export void path_extrelms (char const *pathfile, char *elms, int nbmem); /* path7.cc 06/05/1991 17.08.16 */ export int path_isabs (const char *path); /* path8.cc 08/04/1992 21.26.24 */ export void path_stripabs (const char *src, char *dst); export char *path_skipabs (const char *path); /* path.cc 25/06/1998 17.05.34 */ export int path_issep (char carac); export void path_filename (const char *path, char *name); export void path_addback (char const *path, char *ret); export void path_stripsep (char const *path, char *ret); export void path_splitlex (char const *pathfile, char *path, char *file); export void path_split (char const *path, char *prmpath, char *file); export int path_parmsplit (char const *path, char *newpath, char *wild[]); export void path_2os (const char *src, char *dst); /* time.cc 17/05/1998 15.35.10 */ export short unsigned time_currentu (void); export short unsigned time_a2u0 (const char *time, char separ); export short unsigned time_a2u (const char *time); export int time_u2a0 (short unsigned time, char *str, char separ); export int time_u2a (short unsigned time, char *str); /* tool.cc 26/10/1994 22.10.52 */ /* vfilebak.cc 19/03/2002 15.34.46 */ export int vfilebak_before (const char *fname, const char *extbak, char *ftmp, char *fwork, bool force); export int vfilebak_before (const char *fname, const char *extbak, char *ftmp, char *fwork); export int vfilebak_ok (const char *, const char *, char *, char *); export int vfilebak_abort (const char *fname, const char *extbak, char *ftmp, char *fwork); /* wild1.cc 21/10/1989 01.06.44 */ int wild_split (char *str, char *tbuns[]); /* wild2.cc 06/05/1991 17.24.50 */ export int wild_closer (const char *wild1, const char *wild2, const char *fname); /* wild.cc 22/11/1991 23.59.14 */ export int wild_set (const char *str, WILD *wild); export int wild_test (const char *str, const WILD *wild); export void wild_setall (const char *tbsel[], const char *tbuns[], WILD_SELECT *sel); export void wild_unsetall (WILD_SELECT *sel); export int wild_testall (const char *str, const WILD_SELECT *sel);