[Serusers] How to return a string value of an exported functions from a module to be used in ser.cfg?

lin9k at yahoo.com lin9k at yahoo.com
Wed Apr 2 23:23:59 CEST 2008


Hi,

I am thinking to write a module and export a function to be called from ser.cfg. I need the exported function to return a string value to be used by another function in ser.cfg. How do I do that in ser.cfg?

For example:

in ser.cfg:
function1(my_function());

in my_module:
str *my_function(){
...
return my_string;
}


Thanks in advance,
Ling




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
Serusers mailing list
Serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers



      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com



More information about the sr-users mailing list