Hi,
On Wed, May 01, 2002 at 02:54:59PM -0700, Dave Close wrote:
> If not status, then it seems to me that it would be useful if
> sanei_config_attach_matching_devices() could return a count of the
> number of devices found. sane_init() could then total the results and
> complain when that was appr
Hi,
On Wed, May 01, 2002 at 11:09:28AM -0700, Dave Close wrote:
> The usual sequence of operations in most backends is to call
> sanei_config_attach_matching_devices() in the sane_init() function.
> Because it cannot return status while sane_init() can, sane_init()
> lies to the frontend and alway
Henning Meier-Geinitz wrote:
>Dave Close wrote:
>>The usual sequence of operations in most backends is to call
>>sanei_config_attach_matching_devices() in the sane_init() function.
>>Because it cannot return status while sane_init() can, sane_init()
>>lies to the frontend and always returns SANE_ST
The sanei_config_attach_matching_devices() function returns void. This
seems to imply that the internal attach() function, which is called
by the sanei library, has no way to return status to a frontend. Sure,
it can put a message in the debug log, but that's not the same thing.
I'm dealing with a