DOSINTOSH PROJECT Source Code CONTENTS
10/5/90 G.Garchar

/* COMMON ROUTINES */
1. Boolean WildMatch(char pat[], char word[]) {
2. void SplitDot(char name[], char ext[]) {
3. void SplitColon(char *path, char *spec) {
4. Boolean SpecMatch(char spec[], char name[]) {
5. long GetDirID(index, volNo, dirID, name, attrib)
6. short GetVolNo(short index, short volNo, char name[], long *freeBytes) {
7. short GetSpec(line, path, spec, dirID, volNo)

/*
macCOPY */
8. main(char *input, int(*callback[])(), short prefrefnum) {
9. void WildStamp(char pat[], char word[]) {
10. void MakeName(char name[], char spec[]) {
11. long GetFileNum(index, volNo, dirID, name, info)
12. long OpenDest(short dVolNo, long dDirID, char dName[]) {
13. OSErr DupFile(short sVolNo, long sDirID, char sName[], short dRefNum) {
14. OSErr SetInfo(volNo, dirID, name, info)
15. short CopySpec(sVolNo, sDirID, sSpec, dVolNo, dDirID, dSpec, callback)
16. void macCOPY(char line1[], char line2[], int (*callback[])()) {

/*
macDIR */
17. main(char *input, int(*callback[])(), short prefrefnum) {
18. short PrintSpec(short volNo, long dirID, char spec[], int (*callback[])()) {
19. void macDIR(char drive, char line[], int (*callback[])()) {

/*
macMD */
20. main(char *input, int(*callback[])(), short prefrefnum) {
21. OSErr MakeDir(short volNo, long dirID, char name[]) {
22. void macMD(char line[], int (*callback[])()) {

/*
macRD */
23. main(char *input, int(*callback[])(), short prefrefnum) {
24. OSErr RemoveDir(short volNo, long dirID) {
25. void macRD(char line[], int (*callback[])()) {

/* macDEL */
26. main(char *input, int(*callback[])(), short prefrefnum) {
27. OSErr DeleteFile(short volNo, long dirID, char name[]) {
28. short DeleteSpec(short volNo, long dirID, char spec[], int (*callback[])()) {
29. void macDEL(char line[], int (*callback[])()) {

/* STRING DEFINITIONS */