summaryrefslogtreecommitdiffstats
path: root/ephraim_conv.erl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-06-15 09:44:39 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-06-15 09:44:39 +0200
commitc3354ad1fd4f843d80ebdd290c8dbaf81919ca38 (patch)
treeadcdb5c3e2484fcd3df66e7eba4446e4908484ec /ephraim_conv.erl
parent3fe9171137838ede69a3a3e56dbc4b10049d9693 (diff)
downloadephraim-c3354ad1fd4f843d80ebdd290c8dbaf81919ca38.tar
ephraim-c3354ad1fd4f843d80ebdd290c8dbaf81919ca38.zip
Added type specs
Diffstat (limited to 'ephraim_conv.erl')
-rw-r--r--ephraim_conv.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/ephraim_conv.erl b/ephraim_conv.erl
index d28cef8..99c7668 100644
--- a/ephraim_conv.erl
+++ b/ephraim_conv.erl
@@ -2,12 +2,14 @@
-compile([debug_info, export_all]).
-record(conv_state, {
- jid :: binary()
+ jid :: exmpp_jid:jid()
}).
+-spec init(exmpp_jid:jid()) -> ok.
init(JID) ->
loop(#conv_state{jid=JID}).
+-spec loop(#conv_state{}) -> ok.
loop(State) ->
receive
stop ->