<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">&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">2009/9/8 徐飞 &lt;<a href="mailto:kudofaye@gmail.com">kudofaye@gmail.com</a>&gt;:<br>
<div class="im">&gt; Hi Professors:<br>&gt;<br>&gt; Recently I have worked with your project opensips, to develop a system. In<br>&gt; this period, I have encountered some problems...<br>&gt;<br>&gt; 1. How does the project configure file (opensips.cfg) call the functions<br>
&gt; which are provided by the project modules. For example, function &quot;save()&quot; is<br>&gt; exported in the module “registerar”, and how can the configure file call<br>&gt; &quot;save(&quot;location&quot;);&quot;. 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 &quot;mod_module_name.c&quot; or &quot;module_name.c&quot;). Look<br>for &quot;export_functions&quot; (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>&gt; 2. I have found that the configure file also called the functions which are<br>&gt; not exported in the project modules, such as &quot;setflag()&quot;,&quot;setbflag()&quot;,<br>&gt; &quot;isbflag()&quot;, so this time how can the configure file call them? I am a<br>
&gt; 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>&gt; 3. What is the meaning of the data structure &quot;branch&quot; which is defined in<br>&gt; the &quot;dest.c&quot;. What is it used for? Does it have the same meaning of the<br>&gt; &quot;branch&quot; in the SIP protocol?<br>
<br></div>Where is that file? I don&#39;t find it...<br></blockquote>
<div> </div>
<div>I&#39;am terribly sorry, I have mistaken &quot;dest.c&quot; for &quot;dset.c&quot;... , and actually it is &quot;dset.c&quot;.</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>&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<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>