From fcf338a9c6642dc95b123834977428187b2bb310 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 13 Jun 2010 20:21:25 +0200 Subject: Initial commit --- ephraim_conv.erl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ephraim_conv.erl (limited to 'ephraim_conv.erl') 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. -- cgit v1.2.3