int QP_ipc_lookup(name)
         char *name;

This routine finds and returns the command number associated with the external routine name. The command number is a nonnegative integer. The associated command must have appeared as the first field in an external declaration in the saved state started by the previous QP_ipc_create_servant() call. If the command is not found, -1 is returned.