Module exmpp_caps

The module exmpp_caps provides helpers to generate entities capabilities hash based on sha-1.

Authors: Karim Gemayel (karim.gemayel@pocess-one.net).

References

Description

The module exmpp_caps provides helpers to generate entities capabilities hash based on sha-1.

Data Types

caps()

caps() = {caps, Identities, Features, Forms}

Record representing a Caps.

category()

category() = string()

field()

field() = {field, Var, Values}

Record representing a field.

form()

form() = {form, Type, Fields}

Record representing a form.

hash()

hash() = binary()

identity()

identity() = {identity, Category, Type, Lang, Name}

Record representing an identity.

lang()

lang() = string()

name()

name() = string()

ns()

ns() = string() | binary()

type()

type() = string()

value()

value() = string() | binary()

var()

var() = string()

Function Index

make/1Generate a hash from a Caps record.
make/2Generate a hash from an identity record or from a list of records and a list of namespaces .
make/3Generate a hash from an identity record or from a list of identity records, a list of namespaces, and a form or a list of forms .

Function Details

make/1

make(Identity::Caps) -> Hash

Generate a hash from a Caps record.

make/2

make(Identity::Identities, Features) -> Hash

Generate a hash from an identity record or from a list of records and a list of namespaces .

make/3

make(Identities, Features, Form::Forms) -> Hash

Generate a hash from an identity record or from a list of identity records, a list of namespaces, and a form or a list of forms .


Generated by EDoc, Mar 12 2010, 11:37:11.