Cant able to find out the login and registeration code in the ejabberd source code file

Hi,
I am new to the ejabberd and i have got the source of ejabberd from ejabberd site. but i cant able to find out the login and registeration code in the source file (please tell me the file name if know) and also i cant able to understand the code as i dont know where the flow actually starts as we know in c, c++i.e main().so could anyone help me in clearing these doubts?
Thnaks in advance

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Cant able to find out the login and registeration code

The code is organized according to OTP design principles, see http://erlang.org/doc/design_principles/part_frame.html
If you want to investigate login procedure, start from ejabberd_c2s.erl, in the case of registration code, refer to mod_register.erl.

thanks alot.

thanks alot.

Syndicate content