-- Arisa - Perl API - Draft 1s -- Functions Arisa:: interfaces -> [obj] interface_find(name) -> obj | undef interface_add(name) -> obj | undef queues -> [obj] queue_find(name) -> obj | undef queue_add(name) -> obj | undef packlists -> [obj] packlist_find(name) -> obj | undef packlist_add(name) -> obj | undef users -> [obj] user_find(name) -> obj | undef user_add(name) -> obj | undef networks -> [obj] network_find(name) -> obj | undef network_add(name, >) -> obj | undef admins -> [obj] timer_add(frequency, func, data, start) -> id timer_list() -> [id] timer_del(id) -> bool signal_add(signal, func) signal_del(signal, func) irc_msg_add(type|undef, network|undef, func) irc_msg_del(type|undef, network|undef, func) scripting_engines() -> [{name,types => [], loaded => []}] script_autoload(<*[filename]>) -> [file] script_load(file) -> bool script_reload(file) -> bool script_unload(file) -> bool ignore_add({mask,,}) -> bool ignore_del({mask}) -> bool ignore_list() -> [{mask,expires,,},...] ignore_settings(<{trigger,period}>) -> {trigger,period} ignore_wipe() ignore_test(host) -> bool settings(<{}>) -> {} network_defaults(<{}>) -> {} request_hash(file) -> {ptr,} | undef log(message) script_id -> name object_equal(obj,obj) -> bool shutdown(type => "now"|"cancel"|"cancel"|"timed", time>) -> bool|time|"delayed" setting_add(name,value) setting_del(name) setting_get(name) -> value | undef setting_list -> [names] on_unload(func) Arisa::Interface name() -> string | undef delete -> bool set_default -> bool close_chat({hostmask,network,nick,reason}) -> int close_upload({hostmask,network,nick,file,reason}) -> int chats -> [{network,nick,time,rate,packlist?,host,state}] uploads -> [{network,nick,time,contact,host,rate,state,file,size,...}] info -> {type,default,...} settings(<{}>) -> {} reset_counters -> bool pools -> [obj] pool_find(name) -> obj | undef pool_add(name) -> obj | undef access_add({network,channel,host,mode}) -> bool access_check({network,channel,host,mode}) -> bool access_del(number|obj) -> bool access_list() -> [{network,channel,host,mode}] access_mode() -> string Arisa::Pool name() -> string | undef delete -> bool close_send({hostmask,network,nick,file,reason}) -> int sends -> [{network,nick,time,rate,retries,host,state,file,size,...}] info -> {rate,...} settings(<{}>) -> {} reset_counters -> bool Arisa::Queue name() -> string | undef check_users -> bool delete -> bool info -> {last_dequeue,...} move(number,number) -> bool notify_users -> int swap(number,number) -> bool send(number | {ptr,hostmask,net,nick,file}) -> int remove(number | {ptr,hostmask,net,nick,file}) -> int pool() -> pool obj queues -> [{network,nick,time,file,size,retries,...}] reorder([{ptr,...}]) -> as queues reorder_and_remove([{ptr,...}]) -> as queues settings(<{}>) -> {} Arisa::User name() -> string | undef set_password(password) -> bool test_password(password) -> bool hosts(<*[hostmask]>) -> [hostmask] dirs(<*[dir]>) -> [dir] settings(<{}>) -> {} privileges(<[priv]>) -> [priv] grant([priv]) -> bool revoke([priv]) -> bool packlists(<*[packlist]>) -> [packlist] Arisa::Network name() -> string | undef delete -> bool info -> {msgqueue len,...} start -> bool stop -> bool send_msg(nick,msg) -> bool send_raw(msg) -> bool send_notice(nick, msg) -> bool servers(<*[host]>) -> [host] on_connects(<*[cmd]>) -> [cmd] taglines(<*[string]>) -> [string] settings(<{}>) -> {} channels -> [obj] channel_find(name) -> obj | undef channel_add(name) -> obj | undef nick_info(nick) -> {chan=>mode} | undef Arisa::Channel name() -> string | undef delete -> bool info -> {mode,topic,...} settings(<{}>) -> {} join -> bool part -> bool names -> {nick=>mode} | undef taglines(<*[string]>) -> [string] nolist() -> timestamp | undef Arisa::Packlist name() -> string | undef delete -> bool queue() -> obj | undef plist({,,,}) -> [str] | bool nolist(>) -> (time,reason) | undef nosend(>) -> (time,reason) | undef send({host,net,nick,pack}) -> (int,str) force_queue({host,net,nick,pack}) -> (int,str) force_send({host,net,nick,pack}) -> (int,str) add_pack(file|{file,,