next up previous contents index
次へ: SANE_NET_CLOSE 上へ: Remote Procedure Call Requests 戻る: SANE_NET_GET_DEVICES   目次   索引


SANE_NET_OPEN

This RPC is used to open a connection to a remote SANE device.

request: reply:
SANE_String device_name SANE_Word status
  SANE_Word handle
  SANE_String resource
The device_name argument specifies the name of the device to open.

In the reply, status indicates the completion status. If the value is anything other than SANE_STATUS_SUCCESS, the remainder of the reply has undefined values. The handle argument specifies the device handle that uniquely identifies the connection. The resource argument is used to request authentication. If it has a non-NULL value, the network backend should authenticate the specified resource and then retry this operation (see Section 5.2.10 for details on how to authorize a resource).



MATSUBAYASHI 'Shaolin' Kohji 平成14年10月29日