From 51f265db45d33f60b3194fe2af400837c4427adf Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 14 Aug 2004 10:22:10 +0000 Subject: [PATCH] - Forward everything everything we can to MSVCRT and WS2_32. svn path=/trunk/; revision=10526 --- reactos/lib/rosky/libsky/Makefile | 4 +- reactos/lib/rosky/libsky/libsky.def | 350 ++++++++++++++++++++++++++-- 2 files changed, 338 insertions(+), 16 deletions(-) diff --git a/reactos/lib/rosky/libsky/Makefile b/reactos/lib/rosky/libsky/Makefile index a5389fbf7a2..068be49002f 100644 --- a/reactos/lib/rosky/libsky/Makefile +++ b/reactos/lib/rosky/libsky/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.3 2004/08/13 23:31:12 sedwards Exp $ +# $Id: Makefile,v 1.4 2004/08/14 10:22:10 navaraf Exp $ PATH_TO_TOP = ../../.. @@ -32,6 +32,8 @@ TARGET_CLEAN = TARGET_OBJECTS = libsky.o stubs.o +TARGET_DEFONLY = yes + DEP_OBJECTS = $(TARGET_OBJECTS) include $(PATH_TO_TOP)/rules.mak diff --git a/reactos/lib/rosky/libsky/libsky.def b/reactos/lib/rosky/libsky/libsky.def index bbd9b707616..b0b1193efa8 100644 --- a/reactos/lib/rosky/libsky/libsky.def +++ b/reactos/lib/rosky/libsky/libsky.def @@ -1,24 +1,344 @@ LIBRARY libsky.dll - EXPORTS -__libc_init_memory -__to_kernel -ctor_dtor_initialize -get_usec_counter +__libc_init_memory=__libc_init_memory +__to_kernel=__to_kernel +ctor_dtor_initialize=ctor_dtor_initialize +get_usec_counter=get_usec_counter ; MSVCRT -rand -srand +time=MSVCRT.time +write=MSVCRT.write +vsprintf=MSVCRT.vsprintf +vsnprintf=MSVCRT.vsnprintf +vprintf=MSVCRT.vprintf +vfprintf=MSVCRT.vfprintf +utime=MSVCRT._utime +umask=MSVCRT._umask +unsetenv=MSVCRT.unsetenv +ungetc=MSVCRT.ungetc +toupper=MSVCRT.toupper +tolower=MSVCRT.tolower +tmpfile=MSVCRT.tmpfile +time=MSVCRT.time +system=MSVCRT.system +spawnvp=MSVCRT._spawnvp +spawnv=MSVCRT._spawnv +spawn=MSVCRT._spawn +strupr=MSVCRT.strupr +strtoupper=MSVCRT.strtoupper +strtoul=MSVCRT.strtoul +strtolower=MSVCRT.strtolower +strtol=MSVCRT.strtol +strtok=MSVCRT.strtok +strtod=MSVCRT.strtod +strstr=MSVCRT.strstr +strspn=MSVCRT.strspn +strrchr=MSVCRT.strrchr +strpbrk=MSVCRT.strpbrk +strnlen=MSVCRT.strnlen +strncpy=MSVCRT.strncpy +strncmp=MSVCRT.strncmp +strncat=MSVCRT.strncat +strncasecmp=MSVCRT.strncasecmp +strlwr=MSVCRT.strlwr +strlen=MSVCRT.strlen +strftime=MSVCRT.strftime +strerror=MSVCRT.strerror +strdup=MSVCRT.strdup +strcspn=MSVCRT.strcspn +strcpy=MSVCRT.strcpy +strcoll=MSVCRT.strcoll +strcmp=MSVCRT.strcmp +strchr=MSVCRT.strchr +strcat=MSVCRT.strcat +strcasecmp=MSVCRT.strcasecmp +stat=MSVCRT.stat +sscanf=MSVCRT.sscanf +srand=MSVCRT.srand +sprintf=MSVCRT.sprintf +setvbuf=MSVCRT.setvbuf +setmode=MSVCRT.setmode +setjmp=MSVCRT.setjmp +setenv=MSVCRT.setenv +setbuf=MSVCRT.setbuf +seek=MSVCRT.seek +rmdir=MSVCRT.rmdir +rewind=MSVCRT.rewind +rename=MSVCRT.rename +remove=MSVCRT.remove +realloc=MSVCRT.realloc +read=MSVCRT.read +rand=MSVCRT.rand +raise=MSVCRT.raise +qsort=MSVCRT.qsort +puts=MSVCRT.puts +putenv=MSVCRT.putenv +putchar=MSVCRT.putchar +printf=MSVCRT.printf +popen=MSVCRT.popen +pipe=MSVCRT.pipe +pclose=MSVCRT.pclose +open=MSVCRT.open +mktime=MSVCRT.mktime +mktemp=MSVCRT.mktemp +mkdir=MSVCRT.mkdir +memset=MSVCRT.memset +memmove=MSVCRT.memmove +memcpy=MSVCRT.memcpy +memcmp=MSVCRT.memcmp +memchr=MSVCRT.memchr +malloc=MSVCRT.malloc +lseek=MSVCRT.lseek +longjmp=MSVCRT.longjmp +localtime=MSVCRT.localtime +isxdigit=MSVCRT.isxdigit +isupper=MSVCRT.isupper +isspace=MSVCRT.isspace +ispunct=MSVCRT.ispunct +isprint=MSVCRT.isprint +islower=MSVCRT.islower +isgraph=MSVCRT.isgraph +isdigit=MSVCRT.isdigit +iscntrl=MSVCRT.iscntrl +isatty=MSVCRT.isatty +isascii=MSVCRT.isascii +isalpha=MSVCRT.isalpha +isalnum=MSVCRT.isalnum +gmtime=MSVCRT.gmtime +gets=MSVCRT.gets +getenv=MSVCRT.getenv +getcwd=MSVCRT.getcwd +fwrite=MSVCRT.fwrite +ftruncate=MSVCRT.ftruncate +ftell=MSVCRT.ftell +fstat=MSVCRT.fstat +fseek=MSVCRT.fseek +fscanf=MSVCRT.fscanf +freopen=MSVCRT.freopen +free=MSVCRT.free +fread=MSVCRT.fread +fputs=MSVCRT.fputs +fputc=MSVCRT.fputc +fprintf=MSVCRT.fprintf +fopen=MSVCRT.fopen +fileno=MSVCRT.fileno +filelength=MSVCRT._filelength +fgets=MSVCRT.fgets +fgetpos=MSVCRT.fgetpos +fgetc=MSVCRT.fgetc +fflush=MSVCRT.fflush +fdopen=MSVCRT.fdopen +fcntl=MSVCRT.fcntl +fclose=MSVCRT.fclose +fchmod=MSVCRT.fchmod +exit=MSVCRT.exit +execvp=MSVCRT._execvp +execv=MSVCRT._execv +execl=MSVCRT._execl +exec=MSVCRT._exec +dup2=MSVCRT._dup2 +dup=MSVCRT._dup +ctime=MSVCRT.ctime +creat=MSVCRT._creat +close=MSVCRT.close +chmod=MSVCRT.chmod +chdir=MSVCRT.chdir +calloc=MSVCRT.calloc +bsearch=MSVCRT.bsearch +atol=MSVCRT.atol +atoi=MSVCRT.atoi +atof=MSVCRT.atof +atexit=MSVCRT.atexit +asctime=MSVCRT.asctime +access=MSVCRT._access +abs=MSVCRT.abs +abort=MSVCRT.abort + +; WS2_32 +socket=WS2_32.socket +setsockopt=WS2_32.setsockopt +sendto=WS2_32.sendto +send=WS2_32.send +select=WS2_32.select +recvfrom=WS2_32.recvfrom +recv=WS2_32.recv +ntohs=WS2_32.ntohs +ntohl=WS2_32.ntohl +ioctlsocket=WS2_32.ioctlsocket +inet_ntoa=WS2_32.inet_ntoa +inet_addr=WS2_32.inet_addr +htons=WS2_32.htons +htonl=WS2_32.htonl +getsockopt=WS2_32.getsockopt +getsockname=WS2_32.getsockname +getservbyname=WS2_32.getservbyname +getpeername=WS2_32.getpeername +gethostname=WS2_32.gethostname +gethostbyaddr=WS2_32.gethostbyaddr +connect=WS2_32.connect +closesocket=WS2_32.closesocket +accept=WS2_32.accept ; NTDLL -_alloca +_alloca=NTDLL._alloca_probe -; CRTDLL -printf -putchar -sprintf -strcat -strcpy -time +;waittask +;waitpid +;wait_for_task_state +;wait +;vfork +;unlink +;umount +;tcsetattr +;tcgetattr +;tasklogging +;system_shutdown +;sys_setgroups +;sys_nerr +;sys_info +;sys_errlist +;sync +;sleeptaskusec +;sleep +;skyos_get_file_from_path +;signal +;shutdown +;setuid +;setpwent +;sethostname +;setgroups +;setgrent +;setgid +;set_quantum +;set_optind +;set_optarg +;semaphore_release +;semaphore_destroy +;semaphore_create +;semaphore_aquire +;sbrk +;rindex +;readdir +;pspawn +;printd +;posix_ioctl +;perror +;os_image_info +;opendir +;mount +;module_unload +;mmap +;mem_dump_stdout +;mem_dump +;lstat +;listen +;link +;libc_get_impure_ptr +;inet_aton +;kill +;keyboard_set_mapping +;kernel_mem_dump +;ioctl +;index +;in_ntoa +;in_aton +;hex2dec +;getwd +;getuser +;getuid +;gettimeofday +;gettaskname +;getpwuid +;getpwnam +;getpwent +;getpid +;getpass +;getoptind +;getoptargpointer +;getopt +;getlogin +;getgroups +;getgroup +;getgrnam +;getgrid +;getgrgid +;getgrent +;getgid +;geteuid +;getegid +;get_usec_counter +;get_ticks +;get_task_state +;get_task_info +;get_environ +;get_curtime +;fsync +;fsinfo +;fork +;exec_for_debug +;exec_arg +;environ_get +;endpwent +;endgrent +;do_statfs +;dlm_module_info +;dlm_load +;debug_data +;createdir +;create_ramdisk +;closedir +;chown +;check_task_valid +;cache_set_size +;bzero +;bind +;bcopy +;bcmp +;alarm +;_readline +;_getopt_internal +;_exit +;__umoddi3 +;__udivdi3 +;__to_kernel +;__tcsetattr +;__tcgetattr +;__swbuf +;__srget +;__pure_virtual +;__moddi3 +;__errno +;__divdi3 +;__builtin_vec_new +;__builtin_vec_delete +;__builtin_new +;__builtin_delete +;__assert +;TimeDebugAdd +;TimeDebug +;ThreadSuspend +;ThreadSleep +;ThreadSetState +;ThreadResume +;ThreadIsValid +;ThreadGetPid +;ThreadCreate +;SystemGetPartitionSize +;SystemGetPartitionInfo +;SystemGetDiskParameter +;SystemEventServices_Initialize +;ParseIniFile +;GetStringOption +;GetOption +;GetMeasureValue +;GetMeasurePointByIndex +;GetLongOption +;GetDllFunction +;GetDirEntry +;GetBootKey +;DllMainDefault +;DllLoadKernel +;DllLoad +;CheckBootOption ; EOF