[OpenSIPS-Devel] SF.net SVN: opensips:[5995] trunk/modules/cfgutils

Anca Vamanu anca at opensips.org
Thu Aug 20 11:07:09 CEST 2009


Revision: 5995
          http://opensips.svn.sourceforge.net/opensips/?rev=5995&view=rev
Author:   anca_vamanu
Date:     2009-08-20 09:07:07 +0000 (Thu, 20 Aug 2009)

Log Message:
-----------
- added two new functions to be used on sets of values:
	- set_count(_pvar_name_): returns the number of values of the pseudovariable
	- set_select_weight(_pvar_name_): selects an element from the set formed by the values of the pseudovariable; the selection algorithm is the genetic algorith roulette-wheel selection; it return the index of the element

Modified Paths:
--------------
    trunk/modules/cfgutils/README
    trunk/modules/cfgutils/cfgutils.c
    trunk/modules/cfgutils/doc/cfgutils_admin.xml


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list