mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-07 00:37:10 +00:00
* implements these as functions rather than #define macros
* moves definitions to ufs.c
* adds parameter to UnixVersionToLispVersion for the storage
size of the buffer being passed
* removes inc/lispver2.h
* adjusts makefile-dos an makefile-tail to update dependencies
21 lines
778 B
C
21 lines
778 B
C
#ifndef UFSDEFS_H
|
|
#define UFSDEFS_H 1
|
|
#include "lispemul.h" /* for LispPTR */
|
|
LispPTR UFS_getfilename(LispPTR *args);
|
|
LispPTR UFS_deletefile(LispPTR *args);
|
|
LispPTR UFS_renamefile(LispPTR *args);
|
|
LispPTR UFS_directorynamep(LispPTR *args);
|
|
void UnixVersionToLispVersion(char *pathname, size_t pathsize, int vlessp);
|
|
void LispVersionToUnixVersion(char *pathname, size_t pathsize);
|
|
#ifdef DOS
|
|
int unixpathname(char *src, char *dst, int dstlen, int versionp, int genp, char *drive, int *extlenptr, char *rawname);
|
|
#else
|
|
int unixpathname(char *src, char *dst, size_t dstlen, int versionp, int genp);
|
|
#endif
|
|
int lisppathname(char *fullname, char *lispname, size_t lispnamesize, int dirp, int versionp);
|
|
#ifdef DOS
|
|
init_host_filesystem(void);
|
|
exit_host_filesystem(void);
|
|
#endif
|
|
#endif
|