[sane-devel] SANE in LSB 5.0
Petrie, Glen
glen.petrie at eitc.epson.com
Mon Mar 19 15:48:30 UTC 2012
Allan,
You are correct about sanei; the list below is only meant to shows that the sanei header files are required by the dll.c modules. I will check again, but I believe this is to project the abstraction layer to a vendor's specific implementation.
The backend/net.c is actually discussed in the general sane 1.05 documentation. I was a bit confused why it was included. From the intro page of the documentation it states
"Chapter 5 specifies the network protocol that can be used to
implement the SANE API in a network transparent fashion."
Thus, I assumed net.c was again abstraction level to actual vendor specific implementation and/or needed by the calling application to provide non-sane communication functionality. Maybe for federated sane communication??
Since the net.c was considered important enough to add to the general API guide by the original developers of the documentation; I assumed it should also be added to the LSB. The routines are vendor agnostic; so it should be a problem.
However, if it is not really needed or should just not be part of the LSB, I will not include it.
glen
-----Original Message-----
From: m. allan noah [mailto:kitno455 at gmail.com]
Sent: Friday, March 16, 2012 4:50 PM
To: Petrie, Glen
Cc: sane-devel at lists.alioth.debian.org
Subject: Re: [sane-devel] SANE in LSB 5.0
the routines provided by sanei* are not part of our public interface.
Any backend which is built outside of our tree would need to include
its own implementations or copies of those. sane.h and the sane
standard document should cover our public interface, unless I am
mistaken about the scope of the LSB.
allan
On Fri, Mar 16, 2012 at 6:51 PM, Petrie, Glen
<glen.petrie at eitc.epson.com> wrote:
> Hello all,
>
>
>
> After stepping through the SANE 1.05 documentation and the code, I see that
> code (plus a few platform headers that I may have missed in this missed)
> consists of only
>
>
>
> * ddl.c
>
> - sane/config.h
>
> - lalloca.h
>
> - sane/sane.h
>
> - sane/sanei.h
>
> - sane/sanei_backend.h
>
> - sane/sanei_config.h
>
>
>
> * backend/net.c
>
> - sane/config.h
>
> - lalloca.h
>
> - _stdint.h (???)
>
> - sane/sane.h
>
> - sane/sanei.h
>
> - sane/sanei_net.h
>
> * sane/sanei_wire.h
>
> - sane/sanei_backend.h
>
> - sane/sanei_config.h
>
>
>
> Everything else seems to be either SANE internal API (used by vendor
> specific backends/frontends) or vendor specific files. If this is not
> correct and there are other parts of the SANE code base that should be
> include the LSB 5.0, please send me a note.
>
>
>
> Glen
>
>
>
>
>
> ________________________________
>
> From: Petrie, Glen
> Sent: Monday, March 05, 2012 8:51 AM
> To: 'sane-devel at lists.alioth.debian.org'
> Cc: Petrie, Glen
> Subject: SANE in LSB 5.0
>
>
>
> Hello All,
>
>
>
> I work for Epson (in the US). Epson Japan has requested that I champion the
> integration of SANE into LSB 5.0.
>
>
>
> SANE integration in the LSB has been started before; but I hoping to see it
> through to completion this time.
>
>
>
> I have already started a dialog with the LSB 5.0 team and I have reviewed
> the existing SANE material; however, I would like to get any comments,
> suggestion and help from the members of this mailing list since you have a
> greater involvement.
>
>
>
> As I see it, the part of SANE that would become part of the LSB is basically
> the SANE library and APIs associated with the dll.c, etc code.
>
>
>
> While there is a lot of vendor instantiated libraries for SANE-Backends and
> some related to SANE-Frontends; they would not become part of LSB 5.0 unless
> you can identify generic (non-vendor specific) API for the backend/frontend
> that need to be included in the LSB.
>
>
>
> As I go forward the LSB integration process, I will make every attempt to
> keep this group (mail-list) informed.
>
>
>
> Glen
>
>
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
> to sane-devel-request at lists.alioth.debian.org
--
"The truth is an offense, but not a sin"
More information about the sane-devel
mailing list