ldmud-3.4.1/doc/
ldmud-3.4.1/doc/efun.de/
ldmud-3.4.1/doc/efun/
ldmud-3.4.1/doc/man/
ldmud-3.4.1/doc/other/
ldmud-3.4.1/mud/
ldmud-3.4.1/mud/heaven7/
ldmud-3.4.1/mud/lp-245/
ldmud-3.4.1/mud/lp-245/banish/
ldmud-3.4.1/mud/lp-245/doc/
ldmud-3.4.1/mud/lp-245/doc/examples/
ldmud-3.4.1/mud/lp-245/doc/sefun/
ldmud-3.4.1/mud/lp-245/log/
ldmud-3.4.1/mud/lp-245/obj/Go/
ldmud-3.4.1/mud/lp-245/players/lars/
ldmud-3.4.1/mud/lp-245/room/death/
ldmud-3.4.1/mud/lp-245/room/maze1/
ldmud-3.4.1/mud/lp-245/room/sub/
ldmud-3.4.1/mud/lp-245/secure/
ldmud-3.4.1/mud/morgengrauen/
ldmud-3.4.1/mud/morgengrauen/lib/
ldmud-3.4.1/mud/sticklib/
ldmud-3.4.1/mud/sticklib/src/
ldmud-3.4.1/mudlib/uni-crasher/
ldmud-3.4.1/pkg/
ldmud-3.4.1/pkg/debugger/
ldmud-3.4.1/pkg/diff/
ldmud-3.4.1/pkg/misc/
ldmud-3.4.1/src/autoconf/
ldmud-3.4.1/src/hosts/
ldmud-3.4.1/src/hosts/GnuWin32/
ldmud-3.4.1/src/hosts/amiga/
ldmud-3.4.1/src/hosts/win32/
ldmud-3.4.1/src/ptmalloc/
ldmud-3.4.1/src/util/
ldmud-3.4.1/src/util/erq/
ldmud-3.4.1/src/util/indent/hosts/next/
ldmud-3.4.1/src/util/xerq/
ldmud-3.4.1/src/util/xerq/lpc/
ldmud-3.4.1/src/util/xerq/lpc/www/
ldmud-3.4.1/test/t-030925/
ldmud-3.4.1/test/t-040413/
ldmud-3.4.1/test/t-041124/
NAME
        #include <sys/functionlist.h>
        #include <sys/lpctypes.h>

        mixed *variable_list (object ob, int flags = RETURN_FUNCTION_NAME)

DESCRIPTION
        Return an array with information about <ob>s variables. For
        every variable, 1 to 3 values (depending on <flags>) are
        stored in the result array conveying in this order:
          - the name of the variable
          - the variable flags (see below)
          - the return type (listed in mudlib/sys/lpctypes.h)
          - the value of the variable

        <ob> may be given as true object or as a filename. In the latter
        case, the efun does not try to load the object before proceeding.

        If <ob> is not the current object and the value of the variable is
        requested, a privilege_violation ("variable_list", <ob>) occurs.

        <flags> determines both which information is returned for every
        variable, and which variables should be considered at all.
        Its value is created by bin-or'ing together following flags from
        mudlib/sys/functionlist.h:

          Control of returned information:
            RETURN_FUNCTION_NAME    include the variable name
            RETURN_FUNCTION_FLAGS   include the variable flags
            RETURN_FUNCTION_TYPE    include the return type
            RETURN_VARIABLE_VALUE   include the variable value

          Control of listed variables:
            NAME_INHERITED      don't list if defined by inheritance
            TYPE_MOD_STATIC ==
            TYPE_MOD_NOSAVE     don't list if nosave ('static') variable
            TYPE_MOD_PRIVATE    don't list if private
            TYPE_MOD_PROTECTED  don't list if protected
            NAME_HIDDEN         don't list if not visible through inheritance

        The 'flags' information consists of the bin-or of the list control
        flags given above, plus the following:

            TYPE_MOD_VIRTUAL    variable is inherited virtually
            TYPE_MOD_NO_MASK    variable is nomask
            TYPE_MOD_PUBLIC     variable is public

        All these flags are defined in mudlib/sys/functionlist.h, which
        should be copied into an accessible place in the mudlib. The
        return types are defined in mudlib/sys/lpctypes.h which also
        should be copied into the mudlib.

HISTORY
        Introduced in LDMud 3.2.10.

SEE ALSO
        inherit_list(E), functionlist(E), variable_exists(E)