[Click] Use of READ_PARAM ?
Cliff Frey
cliff at meraki.com
Mon Jan 11 12:16:21 EST 2010
Yes, it is possible, that is exactly what READ_PARAM is for. I just looked
through the click elements/ source code for READ_PARAM to find an example...
I would look at
elements/ip/iproutetable.cc:lookup_handler
in the most recent git sources for an example.
Cliff
On Mon, Jan 11, 2010 at 2:29 AM, <remi.clavier at orange-ftgroup.com> wrote:
>
> An element manage an Hashtable of objects.
> I want to write a read handler where the return string is dependant of a
> given object identified by a key.
> For that I need to read the key of the relevant object and pass it to the
> read_handler callback function (something like a write/read handler)
>
> It is possible?
> It's such element written in the element directory?
>
> How to implement it? Perhaps the READ_PARAM flag may be used, but how?
>
> I wish a very nice 2010 year faor all the participant of the list
>
> Thanks for help
>
> Rémi
>
> *********************************
> This message and any attachments (the "message") are confidential and
> intended solely for the addressees.
> Any unauthorised use or dissemination is prohibited.
> Messages are susceptible to alteration.
> France Telecom Group shall not be liable for the message if altered,
> changed or falsified.
> If you are not the intended addressee of this message, please cancel it
> immediately and inform the sender.
> ********************************
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list