Commit Graph

18 Commits (master)

Author SHA1 Message Date
Lukas Rusak 7969c78291
add cmake build system support 2017-10-02 13:00:33 -07:00
Ronnie Sahlberg 9f0b180a2b aros: add licence to aros_compat.h
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2014-06-08 07:53:03 -07:00
Ronnie Sahlberg 6061db5800 AROS: Add an install target to the makefile
Copy libnfs.a to GCC:lib and the header files to
INCLUDE:nfsc
2013-06-08 13:06:17 -07:00
Ronnie Sahlberg 0556ee05e1 Aros fixes 2013-05-28 22:41:54 -07:00
Ronnie Sahlberg 265276038a AROS fixes 2013-05-28 22:13:08 -07:00
Ronnie Sahlberg 3d574b1eab Change nfs-cp.c example to use lseek+read/write instead of pread/pwrite since some platforms (==amiga) dont have pread/pwrite
Build nfs-ls and nfs-cp for amiga/aros
2013-04-16 18:28:50 -07:00
Ronnie Sahlberg 00748f36c5 more header include cleanups 2013-04-14 10:11:48 -07:00
Ronnie Sahlberg 18337b7151 AROS: we dont need to protect aros_compat.c with an ifdef 2013-04-13 08:13:31 -07:00
Ronnie Sahlberg a41dbfe25a AROS: Add an example for using the SYNC API to AROS
While the ASYNC API is probably always preferable, the SYNC API is easier
to use.  The SYNC API is probably what most users want.
2013-04-13 08:01:05 -07:00
Ronnie Sahlberg 9a9126c3d9 AROS: add inet_pton emulation and make sure we use recv/send and not read/write 2013-04-13 07:40:46 -07:00
Ronnie Sahlberg 03aea5e929 AROS: Add copyright boilerplate for aros_compat.c 2013-04-13 04:20:57 -07:00
Ronnie Sahlberg f95e1d1108 AROS: implement their weird errno handling 2013-04-13 04:13:05 -07:00
Ronnie Sahlberg a7954132ce AROS: We have to provide the correct nfds to WaitSelect
When copying the poll() compatibility function from win32 to AROS
we need to update it to set nfds correctly.
While win32 does not care what nfds is set to and works even if nfds is always
0, other platforms, like AROS do care.
2013-04-13 03:39:12 -07:00
Ronnie Sahlberg 5c9c5f15f1 AROS: we need htons to convert socket port to network order 2013-04-12 18:12:56 -07:00
Ronnie Sahlberg f69bd55482 AROS more stuff. The listservers example now compiles and links
it sends packets to the host  but something is still not working.
2013-04-12 17:38:44 -07:00
Ronnie Sahlberg 2cdf4fcb07 AROS: it is called IoctlSocket/CloseSocket and WaitSelect on AROS.
Additionally add a aros_init_socket() function to open the bsd socket library and set up networking
2013-04-12 06:12:58 -07:00
Ronnie Sahlberg e77d093c37 AROS: getting closer to link. only a handful of missing symbols now 2013-04-11 18:37:05 -07:00
Ronnie Sahlberg d7c6e9aaa9 Initial AROS support.
The test app doesnt link yet since we are missing a bunch of symbols

but it is a start
2013-04-10 20:28:40 -07:00