< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Method look up in method hash


Just in case this isn't completely obvious, methods are in a different namespace from headers, so take the 'adding a new header' wiki as an approach rather than a recipe.

I've added a wiki entry for methods.
http://wiki.resiprocate.org/wiki/index.php?title=Adding_a_new_method

david

On 10/24/05, Rajat Lala <rlala@xxxxxxxxxx> wrote:

Hi,

 

            I want to know about the mapping in MethodHash.cxx to look up the method number ( function(getMethodType) ) using

1) inline unsigned int MethodHash::hash (register const char *str, register unsigned int len)

2) struct methods *MethodHash::in_word_set (register const char *str, register unsigned int len)

 

            Can anybody give me a better idea what changes I should perform to add one more method in the Method list.

 

Thanks in advance

Rajat . . .


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel