[Devel] find_export("append_hf") - usage?
Daniel Hsueh
dhsueh at somanetworks.com
Mon Mar 6 15:55:07 CET 2006
Daniel-Constantin Mierla wrote:
> On 03/04/06 01:31, Daniel Hsueh wrote:
>> I tried calling append_hf in the following fashion:
>>
>> append_hf( p->req, (char*)elem, 0 );
>>
>> where p is a tm module TMCB_REQUEST_IN callback, and elem is either
>> - char*
>> - str*
>> - xl_elem_t* generated via
>> xl_parse_format( "Header: value", &elem, XL_DISABLE_COLORS );
>> (patterned after textops.c:it_list_fixup)
>
> Is the elem taken from callback's parameter? Take a look at core dump
> and backtrace, you will get some hints there.
The core dump stacktrace is corrupted; there is no information to be
gleaned.
I'll look at your new append_header_str() function -- thanks!
--
Daniel Hsueh mailto:dhsueh at somanetworks.com
SOMA Networks tel:+1-416-348-1631
More information about the Devel
mailing list