Module ejabberd_captcha [erl svg]

Behaviours: gen_server.

Function Index

build_captcha_html/2
check_captcha/2
check_captcha_setup/0*
cmd/1*
code_change/3
create_captcha/5
create_captcha_x/4
create_captcha_x/5
create_image/0*
create_image/1*
do_check_captcha/2*
get_captcha_transfer_protocol/1*
get_port_listeners/1*
get_prog_name/0*
get_transfer_protocol/1*
get_url/1*(Str::string()) -> string().
handle_call/3
handle_cast/2
handle_info/2
init/1
is_feature_available/0
is_feature_enabled/0*
lookup_captcha/1*
process/2
process_reply/1
recv_data/3*
return/3*
start_link/0
terminate/2

Function Details

build_captcha_html/2

build_captcha_html(Id::string(), Lang::string()) -> {FormEl, {ImgEl, TextEl, IdEl, KeyEl}} | captcha_not_found

check_captcha/2

check_captcha(Id::string(), ProvidedKey::string()) -> captcha_valid | captcha_non_valid | captcha_not_found

check_captcha_setup/0 *

check_captcha_setup() -> any()

cmd/1 *

cmd(Cmd) -> any()

code_change/3

code_change(OldVsn, State, Extra) -> any()

create_captcha/5

create_captcha(SID, From, To, Lang, Args) -> any()

create_captcha_x/4

create_captcha_x(SID, To, Lang, HeadEls) -> any()

create_captcha_x/5

create_captcha_x(SID, To, Lang, HeadEls, TailEls) -> any()

create_image/0 *

create_image() -> any()

create_image/1 *

create_image(Key) -> any()

do_check_captcha/2 *

do_check_captcha(Id, ProvidedKey) -> any()

get_captcha_transfer_protocol/1 *

get_captcha_transfer_protocol(Listeners) -> any()

get_port_listeners/1 *

get_port_listeners(PortNumber) -> any()

get_prog_name/0 *

get_prog_name() -> any()

get_transfer_protocol/1 *

get_transfer_protocol(PortString) -> any()

get_url/1 *

get_url(Str) -> any()

(Str::string()) -> string()

handle_call/3

handle_call(Request, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

is_feature_available/0

is_feature_available() -> any()

is_feature_enabled/0 *

is_feature_enabled() -> any()

lookup_captcha/1 *

lookup_captcha(Id) -> any()

process/2

process(Handlers, Request) -> any()

process_reply/1

process_reply(El) -> any()

recv_data/3 *

recv_data(Port, TRef, Buf) -> any()

return/3 *

return(Port, TRef, Result) -> any()

start_link/0

start_link() -> any()

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc, May 23 2012, 07:15:17.