and some other tiny things.
Will print out a meaningful error in case there is one - tests locking behaviour
of BMediaFormats::GetNextFormat() and if GetCodeFor() works correctly.
Added to the build. Removed "root" library from the rules - that one doesn't
have to be included manually.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6200 a95241bf-73f2-0310-859d-f6bbb57e9c96
Fix Jamfiles to stop collide with net stack v1 modules userland targets built from
src/tests/add-ons/kernel/network.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6166 a95241bf-73f2-0310-859d-f6bbb57e9c96
Pass the image_id of addon to the instantiate function.
Some NetworkSetupAddOns may require it to get their resources...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6086 a95241bf-73f2-0310-859d-f6bbb57e9c96
Move headers into a dedicated directory.
Remove duplicated net_stack_driver.h, using the one in current/headers/private/net.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6079 a95241bf-73f2-0310-859d-f6bbb57e9c96
Fix warnings that now show up,
Define a new string_token type, used stack-wide, and make net_attribute_id a string_token.
Store layers packets type/subtype as string_tokens, improving performance in
send_up()/send_down() matching layers lookup process.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6078 a95241bf-73f2-0310-859d-f6bbb57e9c96
Add a Jamfile to build it as a userland add-on in the experimental new stack design.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6077 a95241bf-73f2-0310-859d-f6bbb57e9c96
Place a Jamfile to build the userland version of this module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6075 a95241bf-73f2-0310-859d-f6bbb57e9c96
Commit some change made on draft network setup preflet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5891 a95241bf-73f2-0310-859d-f6bbb57e9c96
return true, if the directory is not initialized, or if the directory
does not contain the entry, but the given path is absolute. This change
makes it less compatible with R5, but more consistent with the BEntry*
version and undoubtfully more compatible with common sense.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5884 a95241bf-73f2-0310-859d-f6bbb57e9c96
a device, the latter returns info about a device (i.e. which file it points
to).
Updated for changes in the underlying driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5467 a95241bf-73f2-0310-859d-f6bbb57e9c96
Added support for halting and resuming a device; the driver will close the underlying
file as long as the device is halted, so that other applications can access the file
(files set to uncached cannot be opened anymore). A device is resumed when you install
it again - note that the device might have been closed in the mean time, so it's
not guaranteed to return the same device.
Now returns a valid icon.
Removed unnecessary comments (this is no driver writers tutorial).
VIRTUAL_DRIVE_GET_INFO now also indicates if the device is halted or not.
Made the ioctl() calls more save by adding some sanity checks (magic value and
structure size).
Minor style changes, renamed device_info.opencount to open_count, added the "s"
suffix to static global variables (virtualdrive_name -> sVirtualDriveName, ...).
Fixed a possible bug: the file is now set to uncached after it has been resized;
it might not work the other way around.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5462 a95241bf-73f2-0310-859d-f6bbb57e9c96
Added "play save" fields for the ioctl() parameter structure.
Added indicator if the device has been halted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5459 a95241bf-73f2-0310-859d-f6bbb57e9c96
Code is refactored, and it fully complies with our guidelines.
Tests have been updated too (hint: try the replace tests with R5 and our implementation...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5348 a95241bf-73f2-0310-859d-f6bbb57e9c96
Local (BoneYard or not) add-ons should not be under a sub-folder ./add-ons/boneyard/
anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4835 a95241bf-73f2-0310-859d-f6bbb57e9c96
Currently it offer a minimal host app for Boneyard add-ons, if any, and
expect to find some profiles sub-folders in /etc/network/profiles/*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4817 a95241bf-73f2-0310-859d-f6bbb57e9c96