Introduced in: 17 Dec 2004 by Håkan Stenholm <hsten@it.su.se>
Authors: Håkan Stenholm (hsten@it.su.se).
get_cpl_for_user/1 | get the cpl script graph for a certain user. |
get_cpl_text_for_user/1 | Get the CPL script for User as text. |
load_cpl_for_user/2 | store the cpl script file at FilePath in mnesia. |
rm_cpl_for_user/1 | remove the cpl script associated with user User. |
set_cpl_for_user/2 | store the cpl script CPLXML in mnesia. |
user_has_cpl_script/1 | determine if a cpl script has been loaded for the user User. |
user_has_cpl_script/2 | determine if a cpl script has been loaded for the user User. |
get_cpl_for_user(User) -> nomatch | {ok, CPLGraph}
get the cpl script graph for a certain user
get_cpl_text_for_user(User) -> nomatch | {ok, CPLText}
Get the CPL script for User as text.
load_cpl_for_user(User, FilePath) -> {atomic, Result}
store the cpl script file at FilePath in mnesia
rm_cpl_for_user(User) -> {atomic, ok} | term()
remove the cpl script associated with user User
set_cpl_for_user(User, CPLXML) -> {atomic, Result}
store the cpl script CPLXML in mnesia
user_has_cpl_script(User) -> true | false
determine if a cpl script has been loaded for the user User. Type is used to determine if script can handle incoming or outgoing traffic - it may be able to do both
user_has_cpl_script(User, Type) -> true | false
determine if a cpl script has been loaded for the user User. Type is used to determine if script can handle incoming or outgoing traffic - it may be able to do both
Generated by EDoc, Oct 17 2007, 16:48:05.