1 /* 2 * Copyright 2017, Chế Vũ Gia Hy, cvghy116@gmail.com. 3 * This file may be used under the terms of the MIT License. 4 */ 5 #ifndef _SYSTEM_DEPENDENCIES_H 6 #define _SYSTEM_DEPENDENCIES_H 7 8 9 #ifdef FS_SHELL 10 11 #include "fssh_api_wrapper.h" 12 #include "fssh_auto_deleter.h" 13 14 #include <util/AVLTree.h> 15 #include <zlib.h> 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 typedef unsigned char uuid_t[16]; 21 22 void uuid_generate(uuid_t out); 23 #ifdef __cplusplus 24 } 25 #endif 26 27 28 #else // !FS_SHELL 29 30 #include <AutoDeleter.h> 31 #include <util/kernel_cpp.h> 32 #include <util/AutoLock.h> 33 #include <util/SinglyLinkedList.h> 34 #include <util/Stack.h> 35 #include <util/AVLTree.h> 36 #include <sys/stat.h> 37 #include <sys/types.h> 38 #include <ByteOrder.h> 39 #include <driver_settings.h> 40 #include <fs_cache.h> 41 #include <fs_interface.h> 42 #include <fs_info.h> 43 #include <fs_volume.h> 44 #include <KernelExport.h> 45 #include <io_requests.h> 46 #include <NodeMonitor.h> 47 #include <SupportDefs.h> 48 #include <lock.h> 49 #include <errno.h> 50 #include <new> 51 #include <dirent.h> 52 #include <string.h> 53 #include <stdio.h> 54 #include <stdlib.h> 55 #include <unistd.h> 56 #include <uuid.h> 57 #include <zlib.h> 58 59 #endif // !FS_SHELL 60 61 62 #endif // _SYSTEM_DEPENDENCIES 63