src/common.[ch]: Implement "service_name_to_port_number".
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 24 Sep 2009 15:30:56 +0000 (17:30 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 24 Sep 2009 15:30:56 +0000 (17:30 +0200)
commit5528a3df5cc55d083b5aa1926843e810467070a5
tree25d0c856bdd851a71ba579eff2d800f2a3916a64
parent96d86b57692122d76e3687a3464971f1d377eec7
src/common.[ch]: Implement "service_name_to_port_number".

It returns the numeric representation of a service name. The implementation
has been taken from the tokyotyrant plugin.
src/common.c
src/common.h
src/tokyotyrant.c