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

RE: [reSIProcate] Method look up in method hash


Check out:

 

http://wiki.resiprocate.org/wiki/index.php?title=Adding_a_new_header

 

 


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Rajat Lala
Sent: Tuesday, October 25, 2005 2:35 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] Method look up in method hash

 

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 . . .