[Serusers] How to calculate new HASH_TABLE_SIZE value when extending parser?

Jan Janak jan at iptel.org
Tue Apr 29 12:58:37 CEST 2003


Moved onto serdev at lists.iptel.org

  Jan.

On 29-04 00:42, Maxim Sobolev wrote:
> Hi,
> 
> I am currently trying to extend ser's parser to allow it recognize
> User-Agent headers, but stuck into the magic HASH_TABLE_SIZE value.
> Is there any algorithm to calculate it when adding support for a
> new header type? Maybe there is some documentation, apart from
> comments in the code itself, on extending parser, or at least on
> its inner details? If so, it would be nice to obtain it if possible.
> 
> Thanks!
> 
> -Maxim
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20030429/e21a3d7b/attachment.pgp>


More information about the sr-users mailing list