diff options
Diffstat (limited to 'ephraim_conv.erl')
-rw-r--r-- | ephraim_conv.erl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ephraim_conv.erl b/ephraim_conv.erl new file mode 100644 index 0000000..c6243fa --- /dev/null +++ b/ephraim_conv.erl @@ -0,0 +1,18 @@ +-module(ephraim_conv). +-compile([debug_info, export_all]). + +-record(conv_state, { + jid :: binary() + }). + +init(JID) -> + loop(#conv_state{jid=JID}). + +loop(State) -> + receive + stop -> + ok; + Msg -> + io:format("ephraim_conv: ~p~n", [Msg]), + loop(State) + end. |