From 3d0e8deedeb811184e672684f75030bbbba7d9d3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 1 Sep 2015 16:44:59 +0200 Subject: [PATCH] Regenerate api documentation Signed-off-by: Jo-Philipp Wich --- documentation/api/index.html | 72 + .../api/modules/luci.dispatcher.html | 32 + documentation/api/modules/luci.http.html | 854 ++++++++ .../luci.http.protocol.conditionals.html | 32 + .../api/modules/luci.http.protocol.date.html | 32 + .../api/modules/luci.http.protocol.html | 32 + .../api/modules/luci.http.protocol.mime.html | 32 + documentation/api/modules/luci.i18n.html | 32 + documentation/api/modules/luci.ip.cidr.html | 32 + documentation/api/modules/luci.ip.html | 32 + documentation/api/modules/luci.json.html | 598 ++++++ documentation/api/modules/luci.jsonc.html | 32 + .../api/modules/luci.jsonc.parser.html | 32 + .../api/modules/luci.model.ipkg.html | 734 +++++++ documentation/api/modules/luci.model.uci.html | 1436 ++++++++++++++ documentation/api/modules/luci.rpcc.html | 328 ++++ documentation/api/modules/luci.rpcc.ruci.html | 281 +++ documentation/api/modules/luci.sys.html | 645 +++++++ documentation/api/modules/luci.sys.init.html | 32 + .../api/modules/luci.sys.iptparser.html | 32 + documentation/api/modules/luci.sys.net.html | 435 +---- .../api/modules/luci.sys.process.html | 32 + documentation/api/modules/luci.sys.user.html | 32 + documentation/api/modules/luci.sys.wifi.html | 32 + documentation/api/modules/luci.util.html | 1717 +++++++++++++++++ .../api/modules/nixio.CHANGELOG.html | 32 + .../api/modules/nixio.CryptoHash.html | 32 + documentation/api/modules/nixio.File.html | 32 + documentation/api/modules/nixio.README.html | 32 + documentation/api/modules/nixio.Socket.html | 32 + .../api/modules/nixio.TLSContext.html | 32 + .../api/modules/nixio.TLSSocket.html | 32 + .../api/modules/nixio.UnifiedIO.html | 32 + documentation/api/modules/nixio.bin.html | 32 + documentation/api/modules/nixio.bit.html | 32 + documentation/api/modules/nixio.crypto.html | 32 + documentation/api/modules/nixio.fs.html | 32 + documentation/api/modules/nixio.html | 32 + 38 files changed, 7593 insertions(+), 403 deletions(-) create mode 100644 documentation/api/modules/luci.http.html create mode 100644 documentation/api/modules/luci.json.html create mode 100644 documentation/api/modules/luci.model.ipkg.html create mode 100644 documentation/api/modules/luci.model.uci.html create mode 100644 documentation/api/modules/luci.rpcc.html create mode 100644 documentation/api/modules/luci.rpcc.ruci.html create mode 100644 documentation/api/modules/luci.sys.html create mode 100644 documentation/api/modules/luci.util.html diff --git a/documentation/api/index.html b/documentation/api/index.html index b6ea1cb5d2..c762b9b0e3 100644 --- a/documentation/api/index.html +++ b/documentation/api/index.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • @@ -176,6 +208,11 @@ + + luci.http + + + luci.http.protocol @@ -213,6 +250,11 @@ IP CIDR Object. + + luci.json + + + luci.jsonc @@ -225,6 +267,31 @@ LuCI JSON parser instance. + + luci.model.ipkg + + + + + luci.model.uci + + + + + luci.rpcc + + + + + luci.rpcc.ruci + + + + + luci.sys + + + luci.sys.init @@ -265,6 +332,11 @@ LuCI system utilities / user related functions. LuCI system utilities / wifi related functions. + + luci.util + + + nixio diff --git a/documentation/api/modules/luci.dispatcher.html b/documentation/api/modules/luci.dispatcher.html index 63abb97358..4ae88fe612 100644 --- a/documentation/api/modules/luci.dispatcher.html +++ b/documentation/api/modules/luci.dispatcher.html @@ -36,6 +36,10 @@
  • luci.dispatcher
  • +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -64,6 +68,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -72,6 +80,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.http.html b/documentation/api/modules/luci.http.html new file mode 100644 index 0000000000..ea04fc236e --- /dev/null +++ b/documentation/api/modules/luci.http.html @@ -0,0 +1,854 @@ + + + + Reference + + + + + +
    + +
    + +
    +
    +
    + +
    + + + +
    + +

    Class luci.http

    + +

    + + + + + + + +

    Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    build_querystring (table) + +Create a querystring out of a table of key - value pairs.
    close () + +Close the HTTP-Connection.
    content () + +Return the request content if the request was of unknown type.
    formvalue (name, noparse) + +Get a certain HTTP input value or a table of all input values.
    formvaluetable (prefix) + +Get a table of all HTTP input values with a certain prefix.
    getcookie (name) + +Get the value of a certain HTTP-Cookie.
    getenv (name) + +Get the value of a certain HTTP environment variable + +or the environment table itself.
    header (key, value) + +Send a HTTP-Header.
    prepare_content (mime) + +Set the mime type of following content data.
    redirect (url) + +Redirects the client to a new URL and closes the connection.
    setfilehandler (callback) + +Set a handler function for incoming user file uploads.
    source () + +Get the RAW HTTP input source +
    splice (fp, size) + +Splice data from a filedescriptor to the client.
    status (code, message) + +Set the HTTP status code and status message.
    write (content, src_err) + +Send a chunk of content data to the client.
    write_json (data) + +Send the given data as JSON encoded string.
    + + + + + + +
    +
    + + +

    Functions

    +
    + + + +
    build_querystring (table)
    +
    + + +Create a querystring out of a table of key - value pairs. + + + +

    Parameters

    +
      + +
    • + table: Query string source table +
    • + +
    + + + + + + +

    Return value:

    +Encoded HTTP query string + + + +
    + + + + +
    close ()
    +
    + + +Close the HTTP-Connection. + + + + + + + + + + + +
    + + + + +
    content ()
    +
    + + +Return the request content if the request was of unknown type. + + + + + + + + +

    Return values:

    +
      + +
    1. HTTP request body + +
    2. HTTP request body length + +
    + + + +
    + + + + +
    formvalue (name, noparse)
    +
    + + +Get a certain HTTP input value or a table of all input values. + + + +

    Parameters

    +
      + +
    • + name: Name of the GET or POST variable to fetch +
    • + +
    • + noparse: Don't parse POST data before getting the value +
    • + +
    + + + + + + +

    Return value:

    +HTTP input value or table of all input value + + + +
    + + + + +
    formvaluetable (prefix)
    +
    + + +Get a table of all HTTP input values with a certain prefix. + + + +

    Parameters

    +
      + +
    • + prefix: Prefix +
    • + +
    + + + + + + +

    Return value:

    +Table of all HTTP input values with given prefix + + + +
    + + + + +
    getcookie (name)
    +
    + + +Get the value of a certain HTTP-Cookie. + + + +

    Parameters

    +
      + +
    • + name: Cookie Name +
    • + +
    + + + + + + +

    Return value:

    +String containing cookie data + + + +
    + + + + +
    getenv (name)
    +
    + + +Get the value of a certain HTTP environment variable + +or the environment table itself. + + +

    Parameters

    +
      + +
    • + name: Environment variable +
    • + +
    + + + + + + +

    Return value:

    +HTTP environment value or environment table + + + +
    + + + + +
    header (key, value)
    +
    + + +Send a HTTP-Header. + + + +

    Parameters

    +
      + +
    • + key: Header key +
    • + +
    • + value: Header value +
    • + +
    + + + + + + + + +
    + + + + +
    prepare_content (mime)
    +
    + + +Set the mime type of following content data. + + + +

    Parameters

    +
      + +
    • + mime: Mimetype of following content +
    • + +
    + + + + + + + + +
    + + + + +
    redirect (url)
    +
    + + +Redirects the client to a new URL and closes the connection. + + + +

    Parameters

    +
      + +
    • + url: Target URL +
    • + +
    + + + + + + + + +
    + + + + +
    setfilehandler (callback)
    +
    + + +Set a handler function for incoming user file uploads. + + + +

    Parameters

    +
      + +
    • + callback: Handler function +
    • + +
    + + + + + + + + +
    + + + + +
    source ()
    +
    + + +Get the RAW HTTP input source + + + + + + + + +

    Return value:

    +HTTP LTN12 source + + + +
    + + + + +
    splice (fp, size)
    +
    + + +Splice data from a filedescriptor to the client. + + + +

    Parameters

    +
      + +
    • + fp: File descriptor +
    • + +
    • + size: Bytes to splice (optional) +
    • + +
    + + + + + + + + +
    + + + + +
    status (code, message)
    +
    + + +Set the HTTP status code and status message. + + + +

    Parameters

    +
      + +
    • + code: Status code +
    • + +
    • + message: Status message +
    • + +
    + + + + + + + + +
    + + + + +
    write (content, src_err)
    +
    + + +Send a chunk of content data to the client. + +This function is as a valid LTN12 sink. +If the content chunk is nil this function will automatically invoke close. + + +

    Parameters

    +
      + +
    • + content: Content chunk +
    • + +
    • + src_err: Error object from source (optional) +
    • + +
    + + + + + + + + +

    See also:

    + + +
    + + + + +
    write_json (data)
    +
    + + +Send the given data as JSON encoded string. + + + +

    Parameters

    +
      + +
    • + data: Data to send +
    • + +
    + + + + + + + + +
    + + +
    + + + + + +
    + +
    + +
    +

    Valid XHTML 1.0!

    +
    + +
    + + diff --git a/documentation/api/modules/luci.http.protocol.conditionals.html b/documentation/api/modules/luci.http.protocol.conditionals.html index e216a47df2..9728815402 100644 --- a/documentation/api/modules/luci.http.protocol.conditionals.html +++ b/documentation/api/modules/luci.http.protocol.conditionals.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -64,6 +68,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -72,6 +80,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.http.protocol.date.html b/documentation/api/modules/luci.http.protocol.date.html index 57c7eede59..d89a72302e 100644 --- a/documentation/api/modules/luci.http.protocol.date.html +++ b/documentation/api/modules/luci.http.protocol.date.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -64,6 +68,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -72,6 +80,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.http.protocol.html b/documentation/api/modules/luci.http.protocol.html index b443ef58bf..1d45acede6 100644 --- a/documentation/api/modules/luci.http.protocol.html +++ b/documentation/api/modules/luci.http.protocol.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -64,6 +68,10 @@ luci.ip.cidr
  • +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -72,6 +80,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.http.protocol.mime.html b/documentation/api/modules/luci.http.protocol.mime.html index 96b594d2d5..0b5ce0c0c5 100644 --- a/documentation/api/modules/luci.http.protocol.mime.html +++ b/documentation/api/modules/luci.http.protocol.mime.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -64,6 +68,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -72,6 +80,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.i18n.html b/documentation/api/modules/luci.i18n.html index 2db6e168f6..0111cb200f 100644 --- a/documentation/api/modules/luci.i18n.html +++ b/documentation/api/modules/luci.i18n.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -64,6 +68,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -72,6 +80,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.ip.cidr.html b/documentation/api/modules/luci.ip.cidr.html index 2bd3400b52..28fb21d02d 100644 --- a/documentation/api/modules/luci.ip.cidr.html +++ b/documentation/api/modules/luci.ip.cidr.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -64,6 +68,10 @@
  • luci.ip.cidr
  • +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -72,6 +80,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.ip.html b/documentation/api/modules/luci.ip.html index 8a78da204c..4dece031ea 100644 --- a/documentation/api/modules/luci.ip.html +++ b/documentation/api/modules/luci.ip.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -64,6 +68,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -72,6 +80,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.json.html b/documentation/api/modules/luci.json.html new file mode 100644 index 0000000000..761bd6e7ea --- /dev/null +++ b/documentation/api/modules/luci.json.html @@ -0,0 +1,598 @@ + + + + Reference + + + + + +
    + +
    + +
    +
    +
    + +
    + + + +
    + +

    Object Instance luci.json

    + +

    + + + + + + + +

    Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ActiveDecoder (customnull) + +Create a new Active JSON-Decoder.
    ActiveDecoder:get () + +Fetches one JSON-object from given source +
    Decoder (customnull) + +Create a new JSON-Decoder.
    Decoder:get () + +Get the decoded data packets after the rawdata has been sent to the sink.
    Decoder:sink () + +Create an LTN12 sink from the decoder object which accepts the JSON-Data.
    Encoder (data, buffersize, fastescape) + +Create a new JSON-Encoder.
    Encoder:source () + +Create an LTN12 source providing the encoded JSON-Data.
    decode (json) + +Directly decode a JSON string +
    encode (obj) + +Direcly encode a Lua object into a JSON string.
    null () + +Null replacement function +
    + + + + + + +
    +
    + + +

    Functions

    +
    + + + +
    ActiveDecoder (customnull)
    +
    + + +Create a new Active JSON-Decoder. + + + +

    Parameters

    +
      + +
    • + customnull: Use luci.json.null instead of nil for decoding null +
    • + +
    + + + + + + +

    Return value:

    +Active JSON-Decoder + + + +
    + + + + +
    ActiveDecoder:get ()
    +
    + + +Fetches one JSON-object from given source + + + + + + + + +

    Return value:

    +Decoded object + + + +
    + + + + +
    Decoder (customnull)
    +
    + + +Create a new JSON-Decoder. + + + +

    Parameters

    +
      + +
    • + customnull: Use luci.json.null instead of nil for decoding null +
    • + +
    + + + + + + +

    Return value:

    +JSON-Decoder + + + +
    + + + + +
    Decoder:get ()
    +
    + + +Get the decoded data packets after the rawdata has been sent to the sink. + + + + + + + + +

    Return value:

    +Decoded data + + + +
    + + + + +
    Decoder:sink ()
    +
    + + +Create an LTN12 sink from the decoder object which accepts the JSON-Data. + + + + + + + + +

    Return value:

    +LTN12 sink + + + +
    + + + + +
    Encoder (data, buffersize, fastescape)
    +
    + + +Create a new JSON-Encoder. + + + +

    Parameters

    +
      + +
    • + data: Lua-Object to be encoded. +
    • + +
    • + buffersize: Blocksize of returned data source. +
    • + +
    • + fastescape: Use non-standard escaping (don't escape control chars) +
    • + +
    + + + + + + +

    Return value:

    +JSON-Encoder + + + +
    + + + + +
    Encoder:source ()
    +
    + + +Create an LTN12 source providing the encoded JSON-Data. + + + + + + + + +

    Return value:

    +LTN12 source + + + +
    + + + + +
    decode (json)
    +
    + + +Directly decode a JSON string + + + +

    Parameters

    +
      + +
    • + json: JSON-String +
    • + +
    + + + + + + +

    Return value:

    +Lua object + + + +
    + + + + +
    encode (obj)
    +
    + + +Direcly encode a Lua object into a JSON string. + + + +

    Parameters

    +
      + +
    • + obj: Lua Object +
    • + +
    + + + + + + +

    Return value:

    +JSON string + + + +
    + + + + +
    null ()
    +
    + + +Null replacement function + + + + + + + + +

    Return value:

    +null + + + +
    + + +
    + + + + + +
    + +
    + +
    +

    Valid XHTML 1.0!

    +
    + +
    + + diff --git a/documentation/api/modules/luci.jsonc.html b/documentation/api/modules/luci.jsonc.html index 3d0a9ad2bb..f82eb406c7 100644 --- a/documentation/api/modules/luci.jsonc.html +++ b/documentation/api/modules/luci.jsonc.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,12 +70,36 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • luci.jsonc.parser
  • +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.jsonc.parser.html b/documentation/api/modules/luci.jsonc.parser.html index 4c93a0f795..4c19cf0e59 100644 --- a/documentation/api/modules/luci.jsonc.parser.html +++ b/documentation/api/modules/luci.jsonc.parser.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,12 +70,36 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • luci.jsonc.parser
  • +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.model.ipkg.html b/documentation/api/modules/luci.model.ipkg.html new file mode 100644 index 0000000000..921153c987 --- /dev/null +++ b/documentation/api/modules/luci.model.ipkg.html @@ -0,0 +1,734 @@ + + + + Reference + + + + + +
    + +
    + +
    +
    +
    + +
    + + + +
    + +

    Class luci.model.ipkg

    + +

    + + + + + + + +

    Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    compare_versions (ver1, ver2, comp) + +lua version of opkg compare-versions +
    find (pat, cb) + +Find packages that match the given pattern.
    info (pkg) + +Return information about installed and available packages.
    install (...) + +Install one or more packages.
    installed (pkg) + +Determine whether a given package is installed.
    list_all (pat, cb) + +List all packages known to opkg.
    list_installed (pat, cb) + +List installed packages.
    overlay_root () + +Determines the overlay root used by opkg.
    remove (...) + +Remove one or more packages.
    status (pkg) + +Return the package status of one or more packages.
    update () + +Update package lists.
    upgrade () + +Upgrades all installed packages.
    + + + + + + +
    +
    + + +

    Functions

    +
    + + + +
    compare_versions (ver1, ver2, comp)
    +
    + + +lua version of opkg compare-versions + + + +

    Parameters

    +
      + +
    • + ver1: string version 1 +
    • + +
    • + ver2: string version 2 +
    • + +
    • + comp: string compare versions using + "<=" or "<" lower-equal + ">" or ">=" greater-equal + "=" equal + "<<" lower + ">>" greater + "~=" not equal +
    • + +
    + + + + + + +

    Return value:

    +Boolean indicating the status of the compare + + + +
    + + + + +
    find (pat, cb)
    +
    + + +Find packages that match the given pattern. + + + +

    Parameters

    +
      + +
    • + pat: Find packages whose names or descriptions match this pattern, nil results in zero results +
    • + +
    • + cb: Callback function invoked for each patckage, receives name, version and description as arguments +
    • + +
    + + + + + + +

    Return value:

    +nothing + + + +
    + + + + +
    info (pkg)
    +
    + + +Return information about installed and available packages. + + + +

    Parameters

    +
      + +
    • + pkg: Limit output to a (set of) packages +
    • + +
    + + + + + + +

    Return value:

    +Table containing package information + + + +
    + + + + +
    install (...)
    +
    + + +Install one or more packages. + + + +

    Parameters

    +
      + +
    • + ...: List of packages to install +
    • + +
    + + + + + + +

    Return values:

    +
      + +
    1. Boolean indicating the status of the action + +
    2. OPKG return code, STDOUT and STDERR + +
    + + + +
    + + + + +
    installed (pkg)
    +
    + + +Determine whether a given package is installed. + + + +

    Parameters

    +
      + +
    • + pkg: Package +
    • + +
    + + + + + + +

    Return value:

    +Boolean + + + +
    + + + + +
    list_all (pat, cb)
    +
    + + +List all packages known to opkg. + + + +

    Parameters

    +
      + +
    • + pat: Only find packages matching this pattern, nil lists all packages +
    • + +
    • + cb: Callback function invoked for each package, receives name, version and description as arguments +
    • + +
    + + + + + + +

    Return value:

    +nothing + + + +
    + + + + +
    list_installed (pat, cb)
    +
    + + +List installed packages. + + + +

    Parameters

    +
      + +
    • + pat: Only find packages matching this pattern, nil lists all packages +
    • + +
    • + cb: Callback function invoked for each package, receives name, version and description as arguments +
    • + +
    + + + + + + +

    Return value:

    +nothing + + + +
    + + + + +
    overlay_root ()
    +
    + + +Determines the overlay root used by opkg. + + + + + + + + +

    Return value:

    +String containing the directory path of the overlay root. + + + +
    + + + + +
    remove (...)
    +
    + + +Remove one or more packages. + + + +

    Parameters

    +
      + +
    • + ...: List of packages to install +
    • + +
    + + + + + + +

    Return values:

    +
      + +
    1. Boolean indicating the status of the action + +
    2. OPKG return code, STDOUT and STDERR + +
    + + + +
    + + + + +
    status (pkg)
    +
    + + +Return the package status of one or more packages. + + + +

    Parameters

    +
      + +
    • + pkg: Limit output to a (set of) packages +
    • + +
    + + + + + + +

    Return value:

    +Table containing package status information + + + +
    + + + + +
    update ()
    +
    + + +Update package lists. + + + + + + + + +

    Return values:

    +
      + +
    1. Boolean indicating the status of the action + +
    2. OPKG return code, STDOUT and STDERR + +
    + + + +
    + + + + +
    upgrade ()
    +
    + + +Upgrades all installed packages. + + + + + + + + +

    Return values:

    +
      + +
    1. Boolean indicating the status of the action + +
    2. OPKG return code, STDOUT and STDERR + +
    + + + +
    + + +
    + + + + + +
    + +
    + +
    +

    Valid XHTML 1.0!

    +
    + +
    + + diff --git a/documentation/api/modules/luci.model.uci.html b/documentation/api/modules/luci.model.uci.html new file mode 100644 index 0000000000..9e50d9900d --- /dev/null +++ b/documentation/api/modules/luci.model.uci.html @@ -0,0 +1,1436 @@ + + + + Reference + + + + + +
    + +
    + +
    +
    +
    + +
    + + + +
    + +

    Object Instance luci.model.uci

    + +

    + + + + + + + +

    Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Cursor:add (config, type) + +Add an anonymous section.
    Cursor:apply (configlist, command) + +Applies UCI configuration changes +
    Cursor:changes (config) + +Get a table of saved but uncommitted changes.
    Cursor:commit (config) + +Commit saved changes.
    Cursor:delete (config, section, option) + +Deletes a section or an option.
    Cursor:delete_all (config, type, comparator) + +Delete all sections of a given type that match certain criteria.
    Cursor:foreach (config, type, callback) + +Call a function for every section of a certain type.
    Cursor:get (config, section, option) + +Get a section type or an option +
    Cursor:get_all (config, section) + +Get all sections of a config or all values of a section.
    Cursor:get_bool (config, section, option) + +Get a boolean option and return it's value as true or false.
    Cursor:get_confdir () + +Get the configuration directory.
    Cursor:get_first (config, type, option, default) + +Get the given option from the first section with the given type.
    Cursor:get_list (config, section, option) + +Get an option or list and return values as table.
    Cursor:get_savedir () + +Get the directory for uncomitted changes.
    Cursor:load (config) + +Manually load a config.
    Cursor:revert (config) + +Revert saved but uncommitted changes.
    Cursor:save (config) + +Saves changes made to a config to make them committable.
    Cursor:section (config, type, name, values) + +Create a new section and initialize it with data.
    Cursor:set (config, section, option, value) + +Set a value or create a named section.
    Cursor:set_confdir (directory) + +Set the configuration directory.
    Cursor:set_list (config, section, option, value) + +Set given values as list.
    Cursor:set_savedir (directory) + +Set the directory for uncommited changes.
    Cursor:substate () + +Create a sub-state of this cursor.
    Cursor:tset (config, section, values) + +Updated the data of a section using data from a table.
    Cursor:unload (config) + +Discard changes made to a config.
    cursor () + +Create a new UCI-Cursor.
    cursor_state () + +Create a new Cursor initialized to the state directory.
    + + + + + + +
    +
    + + +

    Functions

    +
    + + + +
    Cursor:add (config, type)
    +
    + + +Add an anonymous section. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + type: UCI section type +
    • + +
    + + + + + + +

    Return value:

    +Name of created section + + + +
    + + + + +
    Cursor:apply (configlist, command)
    +
    + + +Applies UCI configuration changes + + + +

    Parameters

    +
      + +
    • + configlist: List of UCI configurations +
    • + +
    • + command: Don't apply only return the command +
    • + +
    + + + + + + + + +
    + + + + +
    Cursor:changes (config)
    +
    + + +Get a table of saved but uncommitted changes. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    + + + + + + +

    Return value:

    +Table of changes + + + +

    See also:

    + + +
    + + + + +
    Cursor:commit (config)
    +
    + + +Commit saved changes. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +

    See also:

    + + +
    + + + + +
    Cursor:delete (config, section, option)
    +
    + + +Deletes a section or an option. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + section: UCI section name +
    • + +
    • + option: UCI option (optional) +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +
    + + + + +
    Cursor:delete_all (config, type, comparator)
    +
    + + +Delete all sections of a given type that match certain criteria. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + type: UCI section type +
    • + +
    • + comparator: Function that will be called for each section and +returns a boolean whether to delete the current section (optional) +
    • + +
    + + + + + + + + +
    + + + + +
    Cursor:foreach (config, type, callback)
    +
    + + +Call a function for every section of a certain type. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + type: UCI section type +
    • + +
    • + callback: Function to be called +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +
    + + + + +
    Cursor:get (config, section, option)
    +
    + + +Get a section type or an option + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + section: UCI section name +
    • + +
    • + option: UCI option (optional) +
    • + +
    + + + + + + +

    Return value:

    +UCI value + + + +
    + + + + +
    Cursor:get_all (config, section)
    +
    + + +Get all sections of a config or all values of a section. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + section: UCI section name (optional) +
    • + +
    + + + + + + +

    Return value:

    +Table of UCI sections or table of UCI values + + + +
    + + + + +
    Cursor:get_bool (config, section, option)
    +
    + + +Get a boolean option and return it's value as true or false. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + section: UCI section name +
    • + +
    • + option: UCI option +
    • + +
    + + + + + + +

    Return value:

    +Boolean + + + +
    + + + + +
    Cursor:get_confdir ()
    +
    + + +Get the configuration directory. + + + + + + + + +

    Return value:

    +Configuration directory + + + +
    + + + + +
    Cursor:get_first (config, type, option, default)
    +
    + + +Get the given option from the first section with the given type. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + type: UCI section type +
    • + +
    • + option: UCI option (optional) +
    • + +
    • + default: Default value (optional) +
    • + +
    + + + + + + +

    Return value:

    +UCI value + + + +
    + + + + +
    Cursor:get_list (config, section, option)
    +
    + + +Get an option or list and return values as table. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + section: UCI section name +
    • + +
    • + option: UCI option +
    • + +
    + + + + + + +

    Return value:

    +UCI value + + + +
    + + + + +
    Cursor:get_savedir ()
    +
    + + +Get the directory for uncomitted changes. + + + + + + + + +

    Return value:

    +Save directory + + + +
    + + + + +
    Cursor:load (config)
    +
    + + +Manually load a config. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +

    See also:

    + + +
    + + + + +
    Cursor:revert (config)
    +
    + + +Revert saved but uncommitted changes. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +

    See also:

    + + +
    + + + + +
    Cursor:save (config)
    +
    + + +Saves changes made to a config to make them committable. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +

    See also:

    + + +
    + + + + +
    Cursor:section (config, type, name, values)
    +
    + + +Create a new section and initialize it with data. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + type: UCI section type +
    • + +
    • + name: UCI section name (optional) +
    • + +
    • + values: Table of key - value pairs to initialize the section with +
    • + +
    + + + + + + +

    Return value:

    +Name of created section + + + +
    + + + + +
    Cursor:set (config, section, option, value)
    +
    + + +Set a value or create a named section. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + section: UCI section name +
    • + +
    • + option: UCI option or UCI section type +
    • + +
    • + value: UCI value or nil if you want to create a section +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +
    + + + + +
    Cursor:set_confdir (directory)
    +
    + + +Set the configuration directory. + + + +

    Parameters

    +
      + +
    • + directory: UCI configuration directory +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +
    + + + + +
    Cursor:set_list (config, section, option, value)
    +
    + + +Set given values as list. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + section: UCI section name +
    • + +
    • + option: UCI option +
    • + +
    • + value: UCI value +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +
    + + + + +
    Cursor:set_savedir (directory)
    +
    + + +Set the directory for uncommited changes. + + + +

    Parameters

    +
      + +
    • + directory: UCI changes directory +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +
    + + + + +
    Cursor:substate ()
    +
    + + +Create a sub-state of this cursor. The sub-state is tied to the parent + +curser, means it the parent unloads or loads configs, the sub state will +do so as well. + + + + + + + +

    Return value:

    +UCI state cursor tied to the parent cursor + + + +
    + + + + +
    Cursor:tset (config, section, values)
    +
    + + +Updated the data of a section using data from a table. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    • + section: UCI section name (optional) +
    • + +
    • + values: Table of key - value pairs to update the section with +
    • + +
    + + + + + + + + +
    + + + + +
    Cursor:unload (config)
    +
    + + +Discard changes made to a config. + + + +

    Parameters

    +
      + +
    • + config: UCI config +
    • + +
    + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +

    See also:

    + + +
    + + + + +
    cursor ()
    +
    + + +Create a new UCI-Cursor. + + + + + + + + +

    Return value:

    +UCI-Cursor + + + +
    + + + + +
    cursor_state ()
    +
    + + +Create a new Cursor initialized to the state directory. + + + + + + + + +

    Return value:

    +UCI cursor + + + +
    + + +
    + + + + + +
    + +
    + +
    +

    Valid XHTML 1.0!

    +
    + +
    + + diff --git a/documentation/api/modules/luci.rpcc.html b/documentation/api/modules/luci.rpcc.html new file mode 100644 index 0000000000..f7cb020482 --- /dev/null +++ b/documentation/api/modules/luci.rpcc.html @@ -0,0 +1,328 @@ + + + + Reference + + + + + +
    + +
    + +
    +
    +
    + +
    + + + +
    + +

    Object Instance luci.rpcc

    + +

    + + + + + + + +

    Functions

    + + + + + + + + + + + + +
    Client:proxy (prefix) + +Create a transparent RPC proxy.
    Client:request (method, params, notification) + +Request an RP call and get the response.
    + + + + + + +
    +
    + + +

    Functions

    +
    + + + +
    Client:proxy (prefix)
    +
    + + +Create a transparent RPC proxy. + + + +

    Parameters

    +
      + +
    • + prefix: Method prefix +
    • + +
    + + + + + + +

    Return value:

    +RPC Proxy object + + + +
    + + + + +
    Client:request (method, params, notification)
    +
    + + +Request an RP call and get the response. + + + +

    Parameters

    +
      + +
    • + method: Remote method +
    • + +
    • + params: Parameters +
    • + +
    • + notification: Notification only? +
    • + +
    + + + + + + +

    Return value:

    +response + + + +
    + + +
    + + + + + +
    + +
    + +
    +

    Valid XHTML 1.0!

    +
    + +
    + + diff --git a/documentation/api/modules/luci.rpcc.ruci.html b/documentation/api/modules/luci.rpcc.ruci.html new file mode 100644 index 0000000000..203779ce7a --- /dev/null +++ b/documentation/api/modules/luci.rpcc.ruci.html @@ -0,0 +1,281 @@ + + + + Reference + + + + + +
    + +
    + +
    +
    +
    + +
    + + + +
    + +

    Object Instance luci.rpcc.ruci

    + +

    + + + + + + + +

    Functions

    + + + + + + + +
    factory (rpccl) + +Create a new UCI over RPC proxy.
    + + + + + + +
    +
    + + +

    Functions

    +
    + + + +
    factory (rpccl)
    +
    + + +Create a new UCI over RPC proxy. + + + +

    Parameters

    +
      + +
    • + rpccl: RPC client +
    • + +
    + + + + + + +

    Return value:

    +Network transparent UCI module + + + +
    + + +
    + + + + + +
    + +
    + +
    +

    Valid XHTML 1.0!

    +
    + +
    + + diff --git a/documentation/api/modules/luci.sys.html b/documentation/api/modules/luci.sys.html new file mode 100644 index 0000000000..860c5fba26 --- /dev/null +++ b/documentation/api/modules/luci.sys.html @@ -0,0 +1,645 @@ + + + + Reference + + + + + +
    + +
    + +
    +
    +
    + +
    + + + +
    + +

    Class luci.sys

    + +

    + + + + + + + +

    Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    call (...) + +Execute a given shell command and return the error code +
    dmesg () + +Retrieves the output of the "dmesg" command.
    exec (command) + +Execute a given shell command and capture its standard output +
    getenv (var) + +Retrieve environment variables.
    hostname (String) + +Get or set the current hostname.
    httpget (url, stream, target) + +Returns the contents of a documented referred by an URL.
    mounts () + +Retrieve information about currently mounted file systems.
    reboot () + +Initiate a system reboot.
    syslog () + +Retrieves the output of the "logread" command.
    uniqueid (bytes) + +Generates a random id with specified length.
    uptime () + +Returns the current system uptime stats.
    + + + + + + +
    +
    + + +

    Functions

    +
    + + + +
    call (...)
    +
    + + +Execute a given shell command and return the error code + + + +

    Parameters

    +
      + +
    • + ...: Command to call +
    • + +
    + + + + + + +

    Return value:

    +Error code of the command + + + +
    + + + + +
    dmesg ()
    +
    + + +Retrieves the output of the "dmesg" command. + + + + + + + + +

    Return value:

    +String containing the current log buffer + + + +
    + + + + +
    exec (command)
    +
    + + +Execute a given shell command and capture its standard output + + + +

    Parameters

    +
      + +
    • + command: Command to call +
    • + +
    + + + + + + +

    Return value:

    +String containg the return the output of the command + + + +
    + + + + +
    getenv (var)
    +
    + + +Retrieve environment variables. If no variable is given then a table + +containing the whole environment is returned otherwise this function returns +the corresponding string value for the given name or nil if no such variable +exists. + + +

    Parameters

    +
      + +
    • + var: Name of the environment variable to retrieve (optional) +
    • + +
    + + + + + + +

    Return values:

    +
      + +
    1. String containg the value of the specified variable + +
    2. Table containing all variables if no variable name is given + +
    + + + +
    + + + + +
    hostname (String)
    +
    + + +Get or set the current hostname. + + + +

    Parameters

    +
      + +
    • + String: containing a new hostname to set (optional) +
    • + +
    + + + + + + +

    Return value:

    +String containing the system hostname + + + +
    + + + + +
    httpget (url, stream, target)
    +
    + + +Returns the contents of a documented referred by an URL. + + + +

    Parameters

    +
      + +
    • + url: The URL to retrieve +
    • + +
    • + stream: Return a stream instead of a buffer +
    • + +
    • + target: Directly write to target file name +
    • + +
    + + + + + + +

    Return value:

    +String containing the contents of given the URL + + + +
    + + + + +
    mounts ()
    +
    + + +Retrieve information about currently mounted file systems. + + + + + + + + +

    Return value:

    +Table containing mount information + + + +
    + + + + +
    reboot ()
    +
    + + +Initiate a system reboot. + + + + + + + + +

    Return value:

    +Return value of os.execute() + + + +
    + + + + +
    syslog ()
    +
    + + +Retrieves the output of the "logread" command. + + + + + + + + +

    Return value:

    +String containing the current log buffer + + + +
    + + + + +
    uniqueid (bytes)
    +
    + + +Generates a random id with specified length. + + + +

    Parameters

    +
      + +
    • + bytes: Number of bytes for the unique id +
    • + +
    + + + + + + +

    Return value:

    +String containing hex encoded id + + + +
    + + + + +
    uptime ()
    +
    + + +Returns the current system uptime stats. + + + + + + + + +

    Return value:

    +String containing total uptime in seconds + + + +
    + + +
    + + + + + +
    + +
    + +
    +

    Valid XHTML 1.0!

    +
    + +
    + + diff --git a/documentation/api/modules/luci.sys.init.html b/documentation/api/modules/luci.sys.init.html index 3e311ed8e3..596fb7cd1e 100644 --- a/documentation/api/modules/luci.sys.init.html +++ b/documentation/api/modules/luci.sys.init.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi
  • +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.sys.iptparser.html b/documentation/api/modules/luci.sys.iptparser.html index 8055d46523..122afcc2a9 100644 --- a/documentation/api/modules/luci.sys.iptparser.html +++ b/documentation/api/modules/luci.sys.iptparser.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.sys.net.html b/documentation/api/modules/luci.sys.net.html index 82fcea474f..4a049e2307 100644 --- a/documentation/api/modules/luci.sys.net.html +++ b/documentation/api/modules/luci.sys.net.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • @@ -180,57 +212,6 @@ LuCI system utilities / network related functions.

    Functions

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Returns the current ipv6 kernel routing table entries. - - - - - - - - - - - - - - - - - - - -
    call (...) - -Execute a given shell command and return the error code -
    dmesg () - -Retrieves the output of the "dmesg" command.
    exec (command) - -Execute a given shell command and capture its standard output -
    getenv (var) - -Retrieve environment variables.
    hostname (String) - -Get or set the current hostname.
    httpget (url, stream, target) - -Returns the contents of a documented referred by an URL.
    mounts () - -Retrieve information about currently mounted file systems.
    arptable () @@ -302,34 +283,6 @@ Returns the current kernel routing table entries.
    reboot () - -Initiate a system reboot.
    syslog () - -Retrieves the output of the "logread" command.
    uniqueid (bytes) - -Generates a random id with specified length.
    uptime () - -Returns the current system uptime stats.
    @@ -346,229 +299,6 @@ Returns the current system uptime stats. -
    call (...)
    -
    - - -Execute a given shell command and return the error code - - - -

    Parameters

    -
      - -
    • - ...: Command to call -
    • - -
    - - - - - - -

    Return value:

    -Error code of the command - - - -
    - - - - -
    dmesg ()
    -
    - - -Retrieves the output of the "dmesg" command. - - - - - - - - -

    Return value:

    -String containing the current log buffer - - - -
    - - - - -
    exec (command)
    -
    - - -Execute a given shell command and capture its standard output - - - -

    Parameters

    -
      - -
    • - command: Command to call -
    • - -
    - - - - - - -

    Return value:

    -String containg the return the output of the command - - - -
    - - - - -
    getenv (var)
    -
    - - -Retrieve environment variables. If no variable is given then a table - -containing the whole environment is returned otherwise this function returns -the corresponding string value for the given name or nil if no such variable -exists. - - -

    Parameters

    -
      - -
    • - var: Name of the environment variable to retrieve (optional) -
    • - -
    - - - - - - -

    Return values:

    -
      - -
    1. String containg the value of the specified variable - -
    2. Table containing all variables if no variable name is given - -
    - - - -
    - - - - -
    hostname (String)
    -
    - - -Get or set the current hostname. - - - -

    Parameters

    -
      - -
    • - String: containing a new hostname to set (optional) -
    • - -
    - - - - - - -

    Return value:

    -String containing the system hostname - - - -
    - - - - -
    httpget (url, stream, target)
    -
    - - -Returns the contents of a documented referred by an URL. - - - -

    Parameters

    -
      - -
    • - url: The URL to retrieve -
    • - -
    • - stream: Return a stream instead of a buffer -
    • - -
    • - target: Directly write to target file name -
    • - -
    - - - - - - -

    Return value:

    -String containing the contents of given the URL - - - -
    - - - - -
    mounts ()
    -
    - - -Retrieve information about currently mounted file systems. - - - - - - - - -

    Return value:

    -Table containing mount information - - - -
    - - - -
    arptable ()
    @@ -820,107 +550,6 @@ Table of tables with properties of the corresponding routes.
    - - -
    reboot ()
    -
    - - -Initiate a system reboot. - - - - - - - - -

    Return value:

    -Return value of os.execute() - - - -
    - - - - -
    syslog ()
    -
    - - -Retrieves the output of the "logread" command. - - - - - - - - -

    Return value:

    -String containing the current log buffer - - - -
    - - - - -
    uniqueid (bytes)
    -
    - - -Generates a random id with specified length. - - - -

    Parameters

    -
      - -
    • - bytes: Number of bytes for the unique id -
    • - -
    - - - - - - -

    Return value:

    -String containing hex encoded id - - - -
    - - - - -
    uptime ()
    -
    - - -Returns the current system uptime stats. - - - - - - - - -

    Return value:

    -String containing total uptime in seconds - - - -
    - - diff --git a/documentation/api/modules/luci.sys.process.html b/documentation/api/modules/luci.sys.process.html index d664bca1db..9c4f0a5401 100644 --- a/documentation/api/modules/luci.sys.process.html +++ b/documentation/api/modules/luci.sys.process.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.sys.user.html b/documentation/api/modules/luci.sys.user.html index 976dac6124..37126dd924 100644 --- a/documentation/api/modules/luci.sys.user.html +++ b/documentation/api/modules/luci.sys.user.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.sys.wifi.html b/documentation/api/modules/luci.sys.wifi.html index 1a3a997a3e..eb1f6b31d7 100644 --- a/documentation/api/modules/luci.sys.wifi.html +++ b/documentation/api/modules/luci.sys.wifi.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -96,6 +124,10 @@
  • luci.sys.wifi
  • +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/luci.util.html b/documentation/api/modules/luci.util.html new file mode 100644 index 0000000000..301cffff68 --- /dev/null +++ b/documentation/api/modules/luci.util.html @@ -0,0 +1,1717 @@ + + + + Reference + + + + + +
    + +
    + +
    +
    +
    + +
    + + + +
    + +

    Class luci.util

    + +

    + + + + + + + +

    Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    append (src, ...) + +Appends numerically indexed tables or single objects to a given table.
    bigendian () + +Test whether the current system is operating in big endian mode.
    class (base) + +Create a Class object (Python-style object model).
    clone (object, deep) + +Clones the given object and return it's copy.
    cmatch (str, pattern) + +Count the occurences of given substring in given string.
    combine (tbl1, tbl2, ...) + +Combines two or more numerically indexed tables and single objects into one table.
    contains (table, value) + +Checks whether the given table contains the given value.
    copcall (f, ...) + +This is a coroutine-safe drop-in replacement for Lua's "pcall"-function +
    coxpcall (f, err, ...) + +This is a coroutine-safe drop-in replacement for Lua's "xpcall"-function +
    dtable () + +Create a dynamic table which automatically creates subtables.
    dumptable (t, maxdepth) + +Recursively dumps a table to stdout, useful for testing and debugging.
    exec (command) + +Execute given commandline and gather stdout.
    execi (command) + +Return a line-buffered iterator over the output of given command.
    get_bytecode (val) + +Return the current runtime bytecode of the given data.
    imatch (val) + +Return a matching iterator for the given value.
    instanceof (object, class) + +Test whether the given object is an instance of the given class.
    keys (t) + +Retrieve all keys of given associative table.
    kspairs (t) + +Return a key, value iterator for the given table.
    libpath () + +Returns the absolute path to LuCI base directory.
    parse_units (ustr) + +Parse certain units from the given string and return the canonical integer + +value or 0 if the unit is unknown.
    pcdata (value) + +Create valid XML PCDATA from given string.
    perror (obj) + +Write given object to stderr.
    restore_data (str) + +Restore data previously serialized with serialize_data().
    serialize_data (val) + +Recursively serialize given data to lua code, suitable for restoring + +with loadstring().
    serialize_json (data, writer) + +Convert data structure to JSON +
    spairs (t, f) + +Return a key, value iterator which returns the values sorted according to + +the provided callback function.
    split (str, pat, max, regex) + +Splits given string on a defined separator sequence and return a table + +containing the resulting substrings.
    strip_bytecode (code) + +Strips unnescessary lua bytecode from given string.
    striptags (value) + +Strip HTML tags from given string.
    threadlocal () + +Create a new or get an already existing thread local store associated with + +the current active coroutine.
    trim (str) + +Remove leading and trailing whitespace from given string value.
    ubus (object, method, values) + +Issue an ubus call.
    update (t, updates) + +Update values in given table with the values from the second given table.
    vspairs (t) + +Return a key, value iterator for the given table.
    + + + + + + +
    +
    + + +

    Functions

    +
    + + + +
    append (src, ...)
    +
    + + +Appends numerically indexed tables or single objects to a given table. + + + +

    Parameters

    +
      + +
    • + src: Target table +
    • + +
    • + ...: Objects to insert +
    • + +
    + + + + + + +

    Return value:

    +Target table + + + +
    + + + + +
    bigendian ()
    +
    + + +Test whether the current system is operating in big endian mode. + + + + + + + + +

    Return value:

    +Boolean value indicating whether system is big endian + + + +
    + + + + +
    class (base)
    +
    + + +Create a Class object (Python-style object model). + +The class object can be instantiated by calling itself. +Any class functions or shared parameters can be attached to this object. +Attaching a table to the class object makes this table shared between +all instances of this class. For object parameters use the __init__ function. +Classes can inherit member functions and values from a base class. +Class can be instantiated by calling them. All parameters will be passed +to the __init__ function of this class - if such a function exists. +The __init__ function must be used to set any object parameters that are not shared +with other objects of this class. Any return values will be ignored. + + +

    Parameters

    +
      + +
    • + base: The base class to inherit from (optional) +
    • + +
    + + + + + + +

    Return value:

    +A class object + + + +

    See also:

    + + +
    + + + + +
    clone (object, deep)
    +
    + + +Clones the given object and return it's copy. + + + +

    Parameters

    +
      + +
    • + object: Table value to clone +
    • + +
    • + deep: Boolean indicating whether to do recursive cloning +
    • + +
    + + + + + + +

    Return value:

    +Cloned table value + + + +
    + + + + +
    cmatch (str, pattern)
    +
    + + +Count the occurences of given substring in given string. + + + +

    Parameters

    +
      + +
    • + str: String to search in +
    • + +
    • + pattern: String containing pattern to find +
    • + +
    + + + + + + +

    Return value:

    +Number of found occurences + + + +
    + + + + +
    combine (tbl1, tbl2, ...)
    +
    + + +Combines two or more numerically indexed tables and single objects into one table. + + + +

    Parameters

    +
      + +
    • + tbl1: Table value to combine +
    • + +
    • + tbl2: Table value to combine +
    • + +
    • + ...: More tables to combine +
    • + +
    + + + + + + +

    Return value:

    +Table value containing all values of given tables + + + +
    + + + + +
    contains (table, value)
    +
    + + +Checks whether the given table contains the given value. + + + +

    Parameters

    +
      + +
    • + table: Table value +
    • + +
    • + value: Value to search within the given table +
    • + +
    + + + + + + +

    Return value:

    +number indicating the first index at which the given value occurs + within table or false. + + + +
    + + + + +
    copcall (f, ...)
    +
    + + +This is a coroutine-safe drop-in replacement for Lua's "pcall"-function + + + +

    Parameters

    +
      + +
    • + f: Lua function to be called protected +
    • + +
    • + ...: Parameters passed to the function +
    • + +
    + + + + + + +

    Return value:

    +A boolean whether the function call succeeded and the returns + values of the function or the error object + + + +
    + + + + +
    coxpcall (f, err, ...)
    +
    + + +This is a coroutine-safe drop-in replacement for Lua's "xpcall"-function + + + +

    Parameters

    +
      + +
    • + f: Lua function to be called protected +
    • + +
    • + err: Custom error handler +
    • + +
    • + ...: Parameters passed to the function +
    • + +
    + + + + + + +

    Return value:

    +A boolean whether the function call succeeded and the return + values of either the function or the error handler + + + +
    + + + + +
    dtable ()
    +
    + + +Create a dynamic table which automatically creates subtables. + + + + + + + + +

    Return value:

    +Dynamic Table + + + +
    + + + + +
    dumptable (t, maxdepth)
    +
    + + +Recursively dumps a table to stdout, useful for testing and debugging. + + + +

    Parameters

    +
      + +
    • + t: Table value to dump +
    • + +
    • + maxdepth: Maximum depth +
    • + +
    + + + + + + +

    Return value:

    +Always nil + + + +
    + + + + +
    exec (command)
    +
    + + +Execute given commandline and gather stdout. + + + +

    Parameters

    +
      + +
    • + command: String containing command to execute +
    • + +
    + + + + + + +

    Return value:

    +String containing the command's stdout + + + +
    + + + + +
    execi (command)
    +
    + + +Return a line-buffered iterator over the output of given command. + + + +

    Parameters

    +
      + +
    • + command: String containing the command to execute +
    • + +
    + + + + + + +

    Return value:

    +Iterator + + + +
    + + + + +
    get_bytecode (val)
    +
    + + +Return the current runtime bytecode of the given data. The byte code + +will be stripped before it is returned. + + +

    Parameters

    +
      + +
    • + val: Value to return as bytecode +
    • + +
    + + + + + + +

    Return value:

    +String value containing the bytecode of the given data + + + +
    + + + + +
    imatch (val)
    +
    + + +Return a matching iterator for the given value. The iterator will return + +one token per invocation, the tokens are separated by whitespace. If the +input value is a table, it is transformed into a string first. A nil value +will result in a valid interator which aborts with the first invocation. + + +

    Parameters

    +
      + +
    • + val: The value to scan (table, string or nil) +
    • + +
    + + + + + + +

    Return value:

    +Iterator which returns one token per call + + + +
    + + + + +
    instanceof (object, class)
    +
    + + +Test whether the given object is an instance of the given class. + + + +

    Parameters

    +
      + +
    • + object: Object instance +
    • + +
    • + class: Class object to test against +
    • + +
    + + + + + + +

    Return value:

    +Boolean indicating whether the object is an instance + + + +

    See also:

    + + +
    + + + + +
    keys (t)
    +
    + + +Retrieve all keys of given associative table. + + + +

    Parameters

    +
      + +
    • + t: Table to extract keys from +
    • + +
    + + + + + + +

    Return value:

    +Sorted table containing the keys + + + +
    + + + + +
    kspairs (t)
    +
    + + +Return a key, value iterator for the given table. + +The table pairs are sorted by key. + + +

    Parameters

    +
      + +
    • + t: The table to iterate +
    • + +
    + + + + + + +

    Return value:

    +Function value containing the corresponding iterator + + + +
    + + + + +
    libpath ()
    +
    + + +Returns the absolute path to LuCI base directory. + + + + + + + + +

    Return value:

    +String containing the directory path + + + +
    + + + + +
    parse_units (ustr)
    +
    + + +Parse certain units from the given string and return the canonical integer + +value or 0 if the unit is unknown. Upper- or lower case is irrelevant. +Recognized units are: + o "y" - one year (60*60*24*366) + o "m" - one month (60*60*24*31) + o "w" - one week (60*60*24*7) + o "d" - one day (60*60*24) + o "h" - one hour (60*60) + o "min" - one minute (60) + o "kb" - one kilobyte (1024) + o "mb" - one megabyte (1024*1024) + o "gb" - one gigabyte (1024*1024*1024) + o "kib" - one si kilobyte (1000) + o "mib" - one si megabyte (1000*1000) + o "gib" - one si gigabyte (1000*1000*1000) + + +

    Parameters

    +
      + +
    • + ustr: String containing a numerical value with trailing unit +
    • + +
    + + + + + + +

    Return value:

    +Number containing the canonical value + + + +
    + + + + +
    pcdata (value)
    +
    + + +Create valid XML PCDATA from given string. + + + +

    Parameters

    +
      + +
    • + value: String value containing the data to escape +
    • + +
    + + + + + + +

    Return value:

    +String value containing the escaped data + + + +
    + + + + +
    perror (obj)
    +
    + + +Write given object to stderr. + + + +

    Parameters

    +
      + +
    • + obj: Value to write to stderr +
    • + +
    + + + + + + +

    Return value:

    +Boolean indicating whether the write operation was successful + + + +
    + + + + +
    restore_data (str)
    +
    + + +Restore data previously serialized with serialize_data(). + + + +

    Parameters

    +
      + +
    • + str: String containing the data to restore +
    • + +
    + + + + + + +

    Return value:

    +Value containing the restored data structure + + + +

    See also:

    + + +
    + + + + +
    serialize_data (val)
    +
    + + +Recursively serialize given data to lua code, suitable for restoring + +with loadstring(). + + +

    Parameters

    +
      + +
    • + val: Value containing the data to serialize +
    • + +
    + + + + + + +

    Return value:

    +String value containing the serialized code + + + +

    See also:

    + + +
    + + + + +
    serialize_json (data, writer)
    +
    + + +Convert data structure to JSON + + + +

    Parameters

    +
      + +
    • + data: The data to serialize +
    • + +
    • + writer: A function to write a chunk of JSON data (optional) +
    • + +
    + + + + + + +

    Return value:

    +String containing the JSON if called without write callback + + + +
    + + + + +
    spairs (t, f)
    +
    + + +Return a key, value iterator which returns the values sorted according to + +the provided callback function. + + +

    Parameters

    +
      + +
    • + t: The table to iterate +
    • + +
    • + f: A callback function to decide the order of elements +
    • + +
    + + + + + + +

    Return value:

    +Function value containing the corresponding iterator + + + +
    + + + + +
    split (str, pat, max, regex)
    +
    + + +Splits given string on a defined separator sequence and return a table + +containing the resulting substrings. The optional max parameter specifies +the number of bytes to process, regardless of the actual length of the given +string. The optional last parameter, regex, specifies whether the separator +sequence is interpreted as regular expression. + + +

    Parameters

    +
      + +
    • + str: String value containing the data to split up +
    • + +
    • + pat: String with separator pattern (optional, defaults to "\n") +
    • + +
    • + max: Maximum times to split (optional) +
    • + +
    • + regex: Boolean indicating whether to interpret the separator + pattern as regular expression (optional, default is false) +
    • + +
    + + + + + + +

    Return value:

    +Table containing the resulting substrings + + + +
    + + + + +
    strip_bytecode (code)
    +
    + + +Strips unnescessary lua bytecode from given string. Information like line + +numbers and debugging numbers will be discarded. Original version by +Peter Cawley (http://lua-users.org/lists/lua-l/2008-02/msg01158.html) + + +

    Parameters

    +
      + +
    • + code: String value containing the original lua byte code +
    • + +
    + + + + + + +

    Return value:

    +String value containing the stripped lua byte code + + + +
    + + + + +
    striptags (value)
    +
    + + +Strip HTML tags from given string. + + + +

    Parameters

    +
      + +
    • + value: String containing the HTML text +
    • + +
    + + + + + + +

    Return value:

    +String with HTML tags stripped of + + + +
    + + + + +
    threadlocal ()
    +
    + + +Create a new or get an already existing thread local store associated with + +the current active coroutine. A thread local store is private a table object +whose values can't be accessed from outside of the running coroutine. + + + + + + + +

    Return value:

    +Table value representing the corresponding thread local store + + + +
    + + + + +
    trim (str)
    +
    + + +Remove leading and trailing whitespace from given string value. + + + +

    Parameters

    +
      + +
    • + str: String value containing whitespace padded data +
    • + +
    + + + + + + +

    Return value:

    +String value with leading and trailing space removed + + + +
    + + + + +
    ubus (object, method, values)
    +
    + + +Issue an ubus call. + + + +

    Parameters

    +
      + +
    • + object: String containing the ubus object to call +
    • + +
    • + method: String containing the ubus method to call +
    • + +
    • + values: Table containing the values to pass +
    • + +
    + + + + + + +

    Return value:

    +Table containin the ubus result + + + +
    + + + + +
    update (t, updates)
    +
    + + +Update values in given table with the values from the second given table. + +Both table are - in fact - merged together. + + +

    Parameters

    +
      + +
    • + t: Table which should be updated +
    • + +
    • + updates: Table containing the values to update +
    • + +
    + + + + + + +

    Return value:

    +Always nil + + + +
    + + + + +
    vspairs (t)
    +
    + + +Return a key, value iterator for the given table. + +The table pairs are sorted by value. + + +

    Parameters

    +
      + +
    • + t: The table to iterate +
    • + +
    + + + + + + +

    Return value:

    +Function value containing the corresponding iterator + + + +
    + + +
    + + + + + +
    + +
    + +
    +

    Valid XHTML 1.0!

    +
    + +
    + + diff --git a/documentation/api/modules/nixio.CHANGELOG.html b/documentation/api/modules/nixio.CHANGELOG.html index a9e0dcc071..48bedc80af 100644 --- a/documentation/api/modules/nixio.CHANGELOG.html +++ b/documentation/api/modules/nixio.CHANGELOG.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.CryptoHash.html b/documentation/api/modules/nixio.CryptoHash.html index e7f28bb5d5..6158a77b60 100644 --- a/documentation/api/modules/nixio.CryptoHash.html +++ b/documentation/api/modules/nixio.CryptoHash.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.File.html b/documentation/api/modules/nixio.File.html index c4f9ab8666..d9e67ea5b3 100644 --- a/documentation/api/modules/nixio.File.html +++ b/documentation/api/modules/nixio.File.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.README.html b/documentation/api/modules/nixio.README.html index 94182a0ee5..a8da0f36da 100644 --- a/documentation/api/modules/nixio.README.html +++ b/documentation/api/modules/nixio.README.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.Socket.html b/documentation/api/modules/nixio.Socket.html index ccb10250a4..105682ced2 100644 --- a/documentation/api/modules/nixio.Socket.html +++ b/documentation/api/modules/nixio.Socket.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.TLSContext.html b/documentation/api/modules/nixio.TLSContext.html index a0f630974f..a91b1eec4d 100644 --- a/documentation/api/modules/nixio.TLSContext.html +++ b/documentation/api/modules/nixio.TLSContext.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.TLSSocket.html b/documentation/api/modules/nixio.TLSSocket.html index 36b31f3445..3d99a6482f 100644 --- a/documentation/api/modules/nixio.TLSSocket.html +++ b/documentation/api/modules/nixio.TLSSocket.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.UnifiedIO.html b/documentation/api/modules/nixio.UnifiedIO.html index 576c23feda..22e6e91658 100644 --- a/documentation/api/modules/nixio.UnifiedIO.html +++ b/documentation/api/modules/nixio.UnifiedIO.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.bin.html b/documentation/api/modules/nixio.bin.html index 33421b743b..fd82879129 100644 --- a/documentation/api/modules/nixio.bin.html +++ b/documentation/api/modules/nixio.bin.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.bit.html b/documentation/api/modules/nixio.bit.html index 80940afffe..b29c29d335 100644 --- a/documentation/api/modules/nixio.bit.html +++ b/documentation/api/modules/nixio.bit.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.crypto.html b/documentation/api/modules/nixio.crypto.html index d74cf5c8ff..79a74584d4 100644 --- a/documentation/api/modules/nixio.crypto.html +++ b/documentation/api/modules/nixio.crypto.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.fs.html b/documentation/api/modules/nixio.fs.html index 359f02395b..d4fda2c516 100644 --- a/documentation/api/modules/nixio.fs.html +++ b/documentation/api/modules/nixio.fs.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • diff --git a/documentation/api/modules/nixio.html b/documentation/api/modules/nixio.html index 8b0f84b1af..f02fe3be58 100644 --- a/documentation/api/modules/nixio.html +++ b/documentation/api/modules/nixio.html @@ -38,6 +38,10 @@ luci.dispatcher +
  • + luci.http +
  • +
  • luci.http.protocol
  • @@ -66,6 +70,10 @@ luci.ip.cidr +
  • + luci.json +
  • +
  • luci.jsonc
  • @@ -74,6 +82,26 @@ luci.jsonc.parser +
  • + luci.model.ipkg +
  • + +
  • + luci.model.uci +
  • + +
  • + luci.rpcc +
  • + +
  • + luci.rpcc.ruci +
  • + +
  • + luci.sys +
  • +
  • luci.sys.init
  • @@ -98,6 +126,10 @@ luci.sys.wifi +
  • + luci.util +
  • +
  • nixio
  • -- 2.30.2