Menu

Commit [r355]  Maximize  Restore  History

- Removed the various workarounds associated with <unistd.h>, required

for building code that references the networking API. It is now possible,
provided you build your code with an existing TCP/IP API header file
set (such as from the "Roadshow" SDK) without running into data type
or function prototype declaration conflicts. I have added local versions
of <arpa/inet.h>, <netinet/in.h>, <netdb.h>, <sys/filio.h>, <sys/ioccom.h>,
<sys/ioctl.h>, <sys/select.h> and <sys/socket.h> and updated <unistd.h>,
<pwd.h> and <grp.h> accordingly. Note that some of the function prototypes
will conflict with the bsdsocket.library/usergroup.library API, which is
why you can disable the declarations through the __NO_NET_API preprocessor
symbol: if defined, none of the function prototypes will be defined.

obarthel 2005-10-09

<< < 1 2 3 > >> (Page 2 of 3)
added /trunk/library/include/sys/socket.h
changed /trunk/library/include/sys/stat.h
changed /trunk/library/include/sys/types.h
changed /trunk/library/include/sys/uio.h
changed /trunk/library/include/termios.h
changed /trunk/library/include/time.h
changed /trunk/library/include/unistd.h
changed /trunk/library/include/utime.h
changed /trunk/library/include/wchar.h
changed /trunk/library/include/wctype.h
changed /trunk/library/smakefile
changed /trunk/library/socket_bind.c
changed /trunk/library/socket_connect.c
changed /trunk/library/socket_gethostbyaddr.c
changed /trunk/library/socket_gethostname.c
changed /trunk/library/socket_getnetbyaddr.c
changed /trunk/library/socket_headers.h
changed /trunk/library/socket_inet_makeaddr.c
changed /trunk/library/socket_inet_netof.c
changed /trunk/library/socket_inet_network.c
changed /trunk/library/socket_ioctl.c
changed /trunk/library/socket_recvfrom.c
changed /trunk/library/socket_sendmsg.c
changed /trunk/library/socket_sendto.c
changed /trunk/library/usergroup_headers.h
/trunk/library/include/sys/socket.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/sys/stat.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/sys/types.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/sys/uio.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/termios.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/time.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/unistd.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/utime.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/wchar.h Diff Switch to side-by-side view
Loading...
/trunk/library/include/wctype.h Diff Switch to side-by-side view
Loading...
/trunk/library/smakefile Diff Switch to side-by-side view
Loading...
/trunk/library/socket_bind.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_connect.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_gethostbyaddr.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_gethostname.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_getnetbyaddr.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_headers.h Diff Switch to side-by-side view
Loading...
/trunk/library/socket_inet_makeaddr.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_inet_netof.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_inet_network.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_ioctl.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_recvfrom.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_sendmsg.c Diff Switch to side-by-side view
Loading...
/trunk/library/socket_sendto.c Diff Switch to side-by-side view
Loading...
/trunk/library/usergroup_headers.h Diff Switch to side-by-side view
Loading...
<< < 1 2 3 > >> (Page 2 of 3)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.