diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-06-13 20:21:25 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-06-13 20:21:25 +0200 |
commit | fcf338a9c6642dc95b123834977428187b2bb310 (patch) | |
tree | 417d1cd363f279300a9f6ae70b46f6b992074644 /ephraim_conv.erl | |
download | ephraim-fcf338a9c6642dc95b123834977428187b2bb310.tar ephraim-fcf338a9c6642dc95b123834977428187b2bb310.zip |
Initial commit
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. |