<div>here i still have some questions, and i appreciate your answering! thanks very much~~</div>
<div><br> </div>
<div class="gmail_quote">2009/9/8 Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">2009/9/8 徐飞 <<a href="mailto:kudofaye@gmail.com">kudofaye@gmail.com</a>>:<br>
<div class="im">> Hi Professors:<br>><br>> Recently I have worked with your project opensips, to develop a system. In<br>> this period, I have encountered some problems...<br>><br>> 1. How does the project configure file (opensips.cfg) call the functions<br>
> which are provided by the project modules. For example, function "save()" is<br>> exported in the module “registerar”, and how can the configure file call<br>> "save("location");". How is it implemented?<br>
<br></div>Each module exports functions to be used in the config scripts. Take a<br>look to any module (file "mod_module_name.c" or "module_name.c"). Look<br>for "export_functions" (or similar).<br>
</blockquote>
<div> </div>
<div>yep, I have already known what you said, while my real intention is that how does the module export functions which can be used by the cfg file? what is the mechanism of it?</div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><span></span>
<div class="im"><br><br>> 2. I have found that the configure file also called the functions which are<br>> not exported in the project modules, such as "setflag()","setbflag()",<br>> "isbflag()", so this time how can the configure file call them? I am a<br>
> little confused....and I do need your help....<br><br></div>These are core functions, not implemented in modules.<br></blockquote>
<div> </div>
<div>okey, and the same quesion, how could this be implemented, and that is to say how could cfg file call the functions which are defined in the c file. what is the mechanism...</div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><span></span>
<div class="im"><br><br>> 3. What is the meaning of the data structure "branch" which is defined in<br>> the "dest.c". What is it used for? Does it have the same meaning of the<br>> "branch" in the SIP protocol?<br>
<br></div>Where is that file? I don't find it...<br></blockquote>
<div> </div>
<div>I'am terribly sorry, I have mistaken "dest.c" for "dset.c"... , and actually it is "dset.c".</div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><span></span><font color="#888888"><br><br>--<br>Iñaki Baz Castillo<br><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
<br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
</font></blockquote></div><br>