/* * This file is part of ixnet.library for the Amiga. * Copyright (C) 1996 Jeff Shepherd * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * $Id:$ * * $Log:$ */ /* these system calls are called from ixemul.library * do not call these yourself - call the ixemul.library equivalent * the socket calls are preceeded by a '_' since they take slightly * different arguments (struct file * instead of int) */ SYSTEM_CALL(_socket,1) SYSTEM_CALL(_bind,2) SYSTEM_CALL(_listen,3) SYSTEM_CALL(_accept,4) SYSTEM_CALL(_connect,5) SYSTEM_CALL(_socketpair,6) SYSTEM_CALL(_sendto,7) SYSTEM_CALL(_send,8) SYSTEM_CALL(_sendmsg,9) SYSTEM_CALL(_recvfrom,10) SYSTEM_CALL(_recv,11) SYSTEM_CALL(_recvmsg,12) SYSTEM_CALL(_shutdown,13) SYSTEM_CALL(_setsockopt,14) SYSTEM_CALL(_getsockopt,15) SYSTEM_CALL(_getsockname,16) SYSTEM_CALL(_getpeername,17) SYSTEM_CALL(_tcp_read,18) SYSTEM_CALL(_tcp_write,19) SYSTEM_CALL(_tcp_ioctl,20) SYSTEM_CALL(_tcp_select,21) SYSTEM_CALL(_tcp_close,22) SYSTEM_CALL(_fstat,23) SYSTEM_CALL(_siglaunch,24) SYSTEM_CALL(getpwent,25) SYSTEM_CALL(getpwnam,26) SYSTEM_CALL(getpwuid,27) SYSTEM_CALL(endpwent,28) SYSTEM_CALL(obsolete29,29) SYSTEM_CALL(obsolete30,30) SYSTEM_CALL(obsolete31,31) SYSTEM_CALL(obsolete32,32) SYSTEM_CALL(obsolete33,33) SYSTEM_CALL(obsolete34,34) SYSTEM_CALL(obsolete35,35) SYSTEM_CALL(obsolete36,36) SYSTEM_CALL(obsolete37,37) SYSTEM_CALL(gethostname,38) SYSTEM_CALL(sethostname,39) SYSTEM_CALL(obsolete40,40) SYSTEM_CALL(obsolete41,41) SYSTEM_CALL(getgrent,42) SYSTEM_CALL(getgrnam,43) SYSTEM_CALL(getgrgid,44) SYSTEM_CALL(setgrent,45) SYSTEM_CALL(endgrent,46) SYSTEM_CALL(obsolete47,47) SYSTEM_CALL(gethostbyname,48) SYSTEM_CALL(gethostbyaddr,49) SYSTEM_CALL(getnetbyname,50) SYSTEM_CALL(getnetbyaddr,51) SYSTEM_CALL(setnetent,52) SYSTEM_CALL(setservent,53) SYSTEM_CALL(endservent,54) SYSTEM_CALL(getservent,55) SYSTEM_CALL(obsolete56,56) SYSTEM_CALL(obsolete57,57) SYSTEM_CALL(obsolete58,58) SYSTEM_CALL(obsolete59,59) SYSTEM_CALL(setgroupent,60) SYSTEM_CALL(crypt,61) SYSTEM_CALL(setpassent,62) SYSTEM_CALL(herror,63) SYSTEM_CALL(getservbyname,64) SYSTEM_CALL(getservbyport,65) SYSTEM_CALL(init_inet_daemon,66) SYSTEM_CALL(shutdown_inet_daemon,67) SYSTEM_CALL(setpwent,68) SYSTEM_CALL(getprotoent,69) SYSTEM_CALL(getprotobyname,70) SYSTEM_CALL(getprotobynumber,71) SYSTEM_CALL(setprotoent,72) SYSTEM_CALL(endprotoent,73) SYSTEM_CALL(obsolete74,74) SYSTEM_CALL(obsolete75,75) SYSTEM_CALL(obsolete76,76) SYSTEM_CALL(obsolete77,77) SYSTEM_CALL(obsolete78,78) SYSTEM_CALL(obsolete79,79) SYSTEM_CALL(obsolete80,80) SYSTEM_CALL(obsolete81,81) SYSTEM_CALL(obsolete82,82) SYSTEM_CALL(obsolete83,83) SYSTEM_CALL(obsolete84,84) SYSTEM_CALL(sethostent,85) SYSTEM_CALL(endhostent,86) SYSTEM_CALL(vsyslog,87) SYSTEM_CALL(openlog,88) SYSTEM_CALL(closelog,89) SYSTEM_CALL(setlogmask,90) SYSTEM_CALL(endnetent,91) SYSTEM_CALL(getnetent,92) SYSTEM_CALL(set_errno,93) SYSTEM_CALL(gethostid,94) SYSTEM_CALL(obsolete95,95) SYSTEM_CALL(obsolete96,96) SYSTEM_CALL(obsolete97,97) SYSTEM_CALL(obsolete98,98) SYSTEM_CALL(obsolete99,99) SYSTEM_CALL(obsolete100,100) SYSTEM_CALL(umask,101) SYSTEM_CALL(obsolete102,102) SYSTEM_CALL(getdomainname,103) SYSTEM_CALL(waitselect,104)