Waldemar Kornewald
8c85eedc66
Moved the needed headers from private to posix folder. This should hopefully fix the build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-19 17:42:05 +00:00
Axel Dörfler
6efb3f085f
Added statvfs.h header and implemented statvfs() and fstatvfs() - both untested, though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-07 13:47:55 +00:00
Jérôme Duval
2726040fcb
we can live without you, sysmacros.h
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-02 15:27:00 +00:00
Ingo Weinhold
338b8dc301
Merged changes from branch build_system_redesign at revision 14573.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00
Jérôme Duval
9744e7bb63
added a sys/sysmacros.h header (as on R5)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-28 11:43:56 +00:00
Jérôme Duval
64f6fcfb1d
added a socketpair prototype (part of bug #52 )
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 14:10:42 +00:00
Axel Dörfler
4edff48607
We still have to be binary compatible when we build for Haiku.
...
Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 21:23:29 +00:00
Jérôme Duval
7e1e4b7fc5
added R5 compatibility
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 19:15:19 +00:00
Nathan Whitehorn
ec1cf916a3
Fixed a link problem - uname() should be extern C when used in C++ code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 01:26:11 +00:00
Jérôme Duval
89c4e72ae5
added utsname.h for uname, based on posix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 16:55:33 +00:00
Waldemar Kornewald
496d0bc32f
Moved uio struct to core_private.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 08:45:32 +00:00
Waldemar Kornewald
15288c9013
Fixed the build of our netstack.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 10:59:00 +00:00
Axel Dörfler
cc90b1798a
Removed unsupported cruft from uio.h (uiomove()).
...
Made header C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 16:26:15 +00:00
Philippe Houdoin
15b8f34b6f
These size_t arguments should be, well, according to POSIX, socklen_t,
...
but Be declared them as int. So do I.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-14 00:22:33 +00:00
Axel Dörfler
288ff1988f
Added new BeOS compatible wait.h header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:47:00 +00:00
Axel Dörfler
95216cc886
Added id_t as required by POSIX/ISO-C 99.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 12:46:08 +00:00
Axel Dörfler
071c01b136
This should fix the R5 build again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 23:00:42 +00:00
Axel Dörfler
94e11a83bb
Fixes POSIX and R5 compatibility of the stat structure; readded field st_rdev.
...
Added an additional field st_type and changed functions to allow for this
extension while maintaining R5 compatibility.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:35:11 +00:00
Axel Dörfler
c757aac399
Added BeBuild.h in a central header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-05 16:21:44 +00:00
Philippe Houdoin
3fb2d6f43a
Moved to headers/private/net, as they're not standard POSIX headers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 23:03:19 +00:00
Waldemar Kornewald
e09429df45
Removed unneeded constants.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 13:12:15 +00:00
Waldemar Kornewald
f1730f62f5
Fixed collision between SO_XXX and IP_XXX defines.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:46:10 +00:00
Waldemar Kornewald
fde2fe1c1c
Checking in headers for libbind.so.
...
Also updated our socket.h to be more compatible with BONE (we do not support SO_NONBLOCK which is needed for Mozilla).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:54:34 +00:00
Waldemar Kornewald
be9443cb6e
Changed address families to match bone.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 13:00:45 +00:00
Axel Dörfler
435464b451
Added addr_t to sys/types.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 19:22:09 +00:00
Axel Dörfler
1470102500
change variable name to better fit its purpose.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 15:53:54 +00:00
Axel Dörfler
051f882824
Rewrote the resource.h header and added comments about missing functions
...
and functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 15:51:03 +00:00
shatty
2da2ccee09
new posix compliant and public resource.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-20 20:41:11 +00:00
Philippe Houdoin
549b25ed0a
Remove non-posix headers files, moved back to headers/private/net where they belong for
...
the moment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-11 22:48:36 +00:00
shatty
5506f765ae
removed #include <OS.h>
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 08:52:30 +00:00
shatty
48103d3411
changed to use stdint and intX_t types
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-02 06:24:37 +00:00
Michael Pfeiffer
c47667231a
extern "C" wrapper needed for inclusion from C++
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 10:30:56 +00:00
Axel Dörfler
f8fdd89ffb
Some header work to make it more posix compliant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-19 17:35:55 +00:00
Philippe Houdoin
e803870545
Forgot to commit these... Should fix network stuff build issues.
...
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:05:37 +00:00
Philippe Houdoin
f0ad00a244
Remove once again a global variable (protocols list) declaration from a header!
...
Plus remove unrequired _KERNEL_MODE code switch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:40:03 +00:00
beveloper
2f344cad19
some more clean up and renaming
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 20:59:25 +00:00
Axel Dörfler
2dc3fee59d
Nicer parameter names in sys/select.h.
...
Added a comment in sys/time.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:28:09 +00:00
beveloper
42415555d3
after many changes, the network stack can now be build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 01:21:54 +00:00
beveloper
890892471a
moved some things into private/net_socket.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:11:48 +00:00
beveloper
8b7eabec3f
moved
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:05:41 +00:00
Axel Dörfler
03360f3bb7
Added our versions of BeOS compatible sys/timeb.h, and sys/times.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 00:46:31 +00:00
Axel Dörfler
d068515fcb
Completed sys/select.h, renamed the howmany() macro to _howmany() - now
...
also contains the pselect() prototype.
Added new header file sys/time.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:34:45 +00:00
Axel Dörfler
493130b326
Fixed and cleaned up select.h.
...
Exports now the prototype correctly in C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 17:49:41 +00:00
beveloper
8fcf577e24
Fixed a strange, and hard to find bug.
...
extern "C" {
was not terminated.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 14:43:27 +00:00
beveloper
9fc7164698
allow building everything without local(tree external) header files beeing
...
used for kernel or kit components
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
beveloper
54d6a27c67
a new and native sys/types.h header for OpenBeOS
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 16:24:50 +00:00
Axel Dörfler
10567eeb6e
Changed an unused field of struct stat (st_rdev) to st_type, so that we
...
can use this structure to call fstat() on attributes and indices.
Added more functions to the file system interface (attributes, and indices).
Added header fs_attr.h, and fs_index.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 16:02:53 +00:00
Axel Dörfler
8edc4bb4c8
Added a very preliminary time.h
...
Removed the bzero()/bcopy() prototypes, and replaced them with macros - we
should decide what to do with them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 02:33:02 +00:00
beveloper
0b5170a447
modified to support building of libnet
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:02:40 +00:00
Philippe Houdoin
d3dadb6b54
Forgot to move select.h and sockio.h from old /net_kit tree
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 19:53:43 +00:00