QUERY(2)                                                 QUERY(2)

     NAME
          query - octopus network service query module

     SYNOPSIS
          include "query.m";
          query := load Query Query->PATH;

          init:     fn(nil: ref Draw->Context, args: list of string);
          lookup: fn(what: list of string): (list of string, string);

     DESCRIPTION
          Query implements a lookup function to locate paths for
          resources matching attributes as specified by its what argu-
          ment. The result is a list of paths for matching resources
          and an error string. The module is also a command as
          described in query(1), which includes a description of spe-
          cial attribute values.

     SOURCE
          /usr/octopus/port/lib/query.b

     SEE ALSO
          query(1) and netget(2).