Skip to content

Latest commit

 

History

History
126 lines (52 loc) · 1.69 KB

sc_types.md

File metadata and controls

126 lines (52 loc) · 1.69 KB

Module sc_types

Common type specifications.

Copyright (c) 2015 Silent Circle

Authors: Edwin Fine (efine@silentcircle.com).

Data Types


atom_or_binary() = atom() | binary()

atom_or_string() = atom() | string()

binary_or_string() = binary() | string()

exml() = #xmlelement{}

gen_result() = {result, exml()} | {error, exml()}

posix_time() = integer()

prop(KT, VT) = {KT, VT}

proplist(KT, VT) = [prop(KT, VT)]

reg_prop() = prop(atom(), atom_or_binary())

reg_proplist() = [reg_prop(), ...]

reg_result() = ok | {error, term()}