[Kamailio-Users] free_fixup_function
Daniel-Constantin Mierla
miconda at gmail.com
Tue Aug 12 07:40:56 CEST 2008
Hello,
On 08/11/08 13:14, Bastian Friedrich wrote:
> On Saturday 09 August 2008, Daniel-Constantin Mierla wrote:
>
>> On 08/09/08 11:24, Julien Mangeard wrote:
>>
>>> On Fri, Aug 8, 2008 at 4:53 PM, Daniel-Constantin Mierla
>>> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>>
>>>
>>> While this is not advisable as the module can actually export a C
>>> api, the feature will help when the functions will be used in
>>> embedded programs like perl or for a better clean up at shutdown.
>>>
>>>
>>> Do you known if somebody works on the integration of this feature in
>>> the Perl module ?
>>> If it's not the case, I am potentially interest to do that.
>>>
>> That would be great if you can submit a patch.
>>
>
> Daniel, the code is ready; we have already discussed the topic. Unfortunately,
> the implementations of free_fixup_functions - at least at the time we /did/
> discuss all that - were so imcomplete that we agreed not to commit the code.
>
> Did things change meanwhile?
>
the only issue now is for the functions that don't have a free fixup
function
- either is no need for it
- or not implemented it
I believe the solution is to add kind of free_fixup_nop() function that
does nothing so the first case can be safely detected and made available
for usage.
Please commit the code when you have the time, so I can continue the
work with free fixups. Not all modules will be enabled, depends on the
developers at some point as I am not using all of them, but the basic
ones are already/going to have all in place.
Thank you,
Daniel
> I'll try to look into the topic again in the next days.
>
> Best
> Bastian
>
>
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Users
mailing list