[haiku-development] Re: BUrl in the kernel?

  • From: Jérôme Duval <jerome.duval@xxxxxxxxx>
  • To: haiku-development <haiku-development@xxxxxxxxxxxxx>
  • Date: Mon, 10 Mar 2014 17:23:39 +0100

2014-03-09 20:25 GMT+01:00 Ingo Weinhold <ingo_weinhold@xxxxxx>:
> On 03/09/2014 01:31 PM, Bruno Albuquerque wrote:
>>
>> I need to parse a URL in the kernel (more specifically, in a file system
>> add-on). BUrl does everything I need but it is normally part of the
>> Support Kit.
>>
>> Is there any trick to use it that does not involve actually copying its
>> code (or the relevant parts of its code) to the add-on itself?
>
>
> You don't have to copy the source code, You can rebuild it for the kernel
> (add-on) where you need it. Just add Url.cpp to the list of sources and tell
> jam where to find it (after the rule using the sources) via:

BUrl extends BString, it's a bit more code than just BUrl.

Bye,
Jérôme

Other related posts: