Re: SANE Api question: SANE_INFO_RELOAD_OPTIONS

From: mh (moloch@nikocity.de)
Date: Thu Sep 07 2000 - 12:28:48 PDT

  • Next message: Douglas Gilbert: "Re: Creating /dev/scanner"

    Jochen Eisinger, Don, 07 Sep 2000 :
    > Hi!
    >
    > The definition of sane_get_option_descriptor says:
    >
    > "... The returned option descriptor is guaranteed to remain valid (and
    > at the returned address) until the device is closed." (SANE Standard
    > Version 1.01, page 26, 4.3.6 sane_get_option_descriptor)
    >
    > Since the constraint range is part of the option descriptor it may not
    > change during runtime.
    >
    > -- jochen
    Hi,
    I just didn't know that valid == elements remain unchanged.
    I thought this only refers to the pointer... my fault :-(

    Thanks for your reply,

    Michael

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 12:39:37 PDT