make fat.handler build again with debug enabled
[tangerine.git] / arch / i386-darwin / devs / filesys / emul_handler / emul_handler_native_init.c
blob755099a22a37d9499df3cfcf04c89fc67ceb84f6
1 /*
2 * emul_handler_native_init.c.c
3 * AROS
5 * Created by Daniel Oberhoff on 06.04.08.
6 * Copyright 2008 __MyCompanyName__. All rights reserved.
8 */
10 #define NATIVE
11 #include <aros/kernel.h>
12 #include "emul_handler_intern.h"
14 struct TagItem * emul_handler_native_hooks = 0;
16 struct TagItem * emul_handler_get_native_hooks()
18 if (emul_handler_native_hooks == 0)
20 BeginHookList(emul_handler_native_hooks,28);
21 Add2HookList(EHND,Emul,Stat);
22 Add2HookList(EHND,Emul,LStat);
23 Add2HookList(EHND,Emul,CloseDir);
24 Add2HookList(EHND,Emul,Close);
25 Add2HookList(EHND,Emul,OpenDir);
26 Add2HookList(EHND,Emul,Open);
27 Add2HookList(EHND,Emul,DirName);
28 Add2HookList(EHND,Emul,TellDir);
29 Add2HookList(EHND,Emul,SeekDir);
30 Add2HookList(EHND,Emul,RewindDir);
31 Add2HookList(EHND,Emul,Delete);
32 Add2HookList(EHND,Emul,Rename);
33 Add2HookList(EHND,Emul,GetEnv);
34 Add2HookList(EHND,Emul,GetCWD);
35 Add2HookList(EHND,Emul,GetHome);
36 Add2HookList(EHND,Emul,ClosePW);
37 Add2HookList(EHND,Emul,SymLink);
38 Add2HookList(EHND,Emul,StatFS);
39 Add2HookList(EHND,Emul,ChDir);
40 Add2HookList(EHND,Emul,Isatty);
41 Add2HookList(EHND,Emul,Link);
42 Add2HookList(EHND,Emul,LSeek);
43 Add2HookList(EHND,Emul,Chmod);
44 Add2HookList(EHND,Emul,SymLink);
45 Add2HookList(EHND,Emul,MKDir);
46 Add2HookList(EHND,Emul,Read);
47 Add2HookList(EHND,Emul,ReadLink);
48 Add2HookList(EHND,Emul,Write);
49 EndHookList;
51 return emul_handler_native_hooks;