[Asterisk-Dev] SIPGetHeader now deprecated
Kevin P. Fleming
kpfleming at digium.com
Sun May 1 12:53:36 MST 2005
Olle E. Johansson wrote:
> What's the current definition of an application vs a function, so that
> those of us that don't have the oppurtunity to participate in the dev
> calls know?
The simple answer is: if the proposed code doesn't actually interact
with the user or the channel in any significant way (just retrieves or
sets a value), then it should be a function. If the proposed code is not
even channel-related (app_md5, for example), then it should be a function.
At least, I think that's what decided :-) It seems to make sense a few
days later, anyway.
More information about the asterisk-dev
mailing list