>> >Erik knows way more about tokenspace stuff than I do. Ports for
>>
>> Only because I pretty basically made it all up. ;P Seriously though,
>> TokenSpace.h (which is an app kit private header) defines the
facility
>> for creating and keeping track of BHandler tokens. Currently, you
can't
>> do a reverse-lookup, but that would be trivial to add.
>
>Even for BHandlers in other applications=3F I thought the token space
was
>application local.
Good point. I haven't gotten that far yet.
>> I'm curious
>> though; why do you need this information=3F Can't you just send the
>> notification via the BMessenger itself=3F
>
>No, not the BQuery object sends the notification messages, but the
>kernel (the vnode layer supposedly). To open a live query we have to
>use:
>
>DIR *fs_open_live_query(dev_t device, const char *query, uint32 flags,
>port_id port, int32 token);
I see. Well, we'll just have to see about all this, now won't we? ;P
e
Necessity is the plea for every infringement of human freedom. It is the
argument of tyrants; it is the creed of slaves.
-William Pitt, British prime-minister (1759-1806)