Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

erl_boot_server(3erl) [linux man page]

erl_boot_server(3erl)					     Erlang Module Definition					     erl_boot_server(3erl)

NAME
erl_boot_server - Boot Server for Other Erlang Machines DESCRIPTION
This server is used to assist diskless Erlang nodes which fetch all Erlang code from another machine. This server is used to fetch all code, including the start script, if an Erlang runtime system is started with the -loader inet command line flag. All hosts specified with the -hosts Host command line flag must have one instance of this server running. This server can be started with the kernel configuration parameter start_boot_server . The erl_boot_server can both read regular files as well as files in archives. See code(3erl) and erl_prim_loader(3erl) . Warning: The support for loading of code from archive files is experimental. The sole purpose of releasing it before it is ready is to obtain early feedback. The file format, semantics, interfaces etc. may be changed in a future release. EXPORTS
start(Slaves) -> {ok, Pid} | {error, What} Types Slaves = [Host] Host = atom() Pid = pid() What = term() Starts the boot server. Slaves is a list of IP addresses for hosts which are allowed to use this server as a boot server. start_link(Slaves) -> {ok, Pid} | {error, What} Types Slaves = [Host] Host = atom() Pid = pid() What = term()() Starts the boot server and links to the caller. This function is used to start the server if it is included in a supervision tree. add_slave(Slave) -> ok | {error, What} Types Slave = Host Host = atom() What = term() Adds a Slave node to the list of allowed slave hosts. delete_slave(Slave) -> ok | {error, What} Types Slave = Host Host = atom() What = void() Deletes a Slave node from the list of allowed slave hosts. which_slaves() -> Slaves Types Slaves = [Host] Host = atom() Returns the current list of allowed slave hosts. SEE ALSO
init(3erl) , erl_prim_loader(3erl) Ericsson AB kernel 2.14.3 erl_boot_server(3erl)

Check Out this Related Man Page

epp(3erl)						     Erlang Module Definition							 epp(3erl)

NAME
epp - An Erlang Code Preprocessor DESCRIPTION
The Erlang code preprocessor includes functions which are used by compile to preprocess macros and include files before the actual parsing takes place. EXPORTS
open(FileName, IncludePath) -> {ok,Epp} | {error, ErrorDescriptor} open(FileName, IncludePath, PredefMacros) -> {ok,Epp} | {error, ErrorDescriptor} Types FileName = atom() | string() IncludePath = [DirectoryName] DirectoryName = atom() | string() PredefMacros = [{atom(),term()}] Epp = pid() -- handle to the epp server ErrorDescriptor = term() Opens a file for preprocessing. close(Epp) -> ok Types Epp = pid() -- handle to the epp server Closes the preprocessing of a file. parse_erl_form(Epp) -> {ok, AbsForm} | {eof, Line} | {error, ErrorInfo} Types Epp = pid() AbsForm = term() Line = integer() ErrorInfo = see separate description below. Returns the next Erlang form from the opened Erlang source file. The tuple {eof, Line} is returned at end-of-file. The first form corresponds to an implicit attribute -file(File,1). , where File is the name of the file. parse_file(FileName,IncludePath,PredefMacro) -> {ok,[Form]} | {error,OpenError} Types FileName = atom() | string() IncludePath = [DirectoryName] DirectoryName = atom() | string() PredefMacros = [{atom(),term()}] Form = term() -- same as returned by erl_parse:parse_form Preprocesses and parses an Erlang source file. Note that the tuple {eof, Line} returned at end-of-file is included as a "form". ERROR INFORMATION
The ErrorInfo mentioned above is the standard ErrorInfo structure which is returned from all IO modules. It has the following format: {ErrorLine, Module, ErrorDescriptor} A string which describes the error is obtained with the following call: Module:format_error(ErrorDescriptor) SEE ALSO
erl_parse(3erl) Ericsson AB stdlib 1.17.3 epp(3erl)
Man Page