[Click] C++ porting into Element?
Eddie Kohler
kohler at cs.ucla.edu
Thu May 5 11:37:46 EDT 2005
Hi Ash,
Use ELEMENT_PROVIDES(DescriptiveName). This tells Click to compile a
source file, but that the source file contains no elements. There are
many examples in the Click source; elements/userlevel/fakepcap.cc, for
example.
Eddie
On May 4, 2005, at 10:05 PM, Ashwin Chandra wrote:
> If I have a bunch of C++ code already written in separate files and I
> want to use some of the functions in this code in an Element, is it
> easier just to create an Element and just do an
> ELEMENT_PROVIDES(//code)?
> Or is there an easier way of doing this without having to cut and
> paste code into the Element file and having to resolve function
> dependencies and such?
>
>
> Ash
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list