NAME
          irGetResourceName - get resource name by capability and
          implemenation

     SYNOPSIS
          #include <irapi.h>

          int irGetResourceName (channel_id cid, char **name, int
          capability, int implementation);

     DESCRIPTION
          The irGetResourceName function finds the name of a resource
          specified by the capability/implementation pair.

     EVENT
          No events are generated by irGetResourceName.

     RETURN VALUE
          IRR_OK is returned if the request is successful.  The capa-
          bility and implementation pair were mapped to a resource
          name, and *name was set to point to the resource name.

          IRR_FAIL is returned if an error occurs.  The capability and
          implementation pair were not mapped to a resource name.

     ERROR
          irError is set as follows if an error occurs:

          IRER_INVALID if the cid, or name is not valid.

          IRER_NOTFOUND if the capability and implementation could not
          be mapped to a resource name.

     SEE ALSO
          IrRESOURCES(4IRAPI)

     VERSION
          This is version 11/25/02 of this man page.