sane-project-website/old-archive/2000-11/0052.html

171 wiersze
6.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: #include &lt;sane...&gt; instead of &quot;sane.</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
<META NAME="Subject" CONTENT="Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;</H1>
<!-- received="Fri Nov 3 22:51:22 2000" -->
<!-- isoreceived="20001104065122" -->
<!-- sent="Sat, 04 Nov 2000 07:52:54 +0100" -->
<!-- isosent="20001104065254" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;" -->
<!-- id="3A03B246.AB050C3@wolfsburg.de" -->
<!-- inreplyto="3A0351CA.409E1A3D@gno.de" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20#include%20&lt;sane...&gt;%20instead%20of%20&quot;sane...&quot;&In-Reply-To=&lt;3A03B246.AB050C3@wolfsburg.de&gt;"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Nov 03 2000 - 22:52:54 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0053.html">Oliver Rauch: "Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0051.html">Chris Bagwell: "Re: [snapscan] Core testing group"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0047.html">Jochen Eisinger: "Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0062.html">Jochen Eisinger: "Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0062.html">Jochen Eisinger: "Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#52">[ date ]</A>
<A HREF="index.html#52">[ thread ]</A>
<A HREF="subject.html#52">[ subject ]</A>
<A HREF="author.html#52">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Jochen Eisinger wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi!
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; [Oliver Rauch]
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; It does not look like a problem that does occur often, but
</EM><BR>
<EM>&gt; &gt; I also do not see a problem to change all to
</EM><BR>
<EM>&gt; &gt; #include &quot;../include/sane/sane*&quot;
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I also think the &quot;../include/sane/...&quot; style is the best... I've added a
</EM><BR>
<EM>&gt; little script to change this in all files but the frontends (where
</EM><BR>
<EM>&gt; saned.c &amp; test.c can't be frontends, because they include sanei_*.h
</EM><BR>
<EM>&gt; files which shouldn't be accessable to frontends)
</EM><BR>
<P>Hi Jochen.
<BR>
<P>Frontends also may have access to sanei_*.
<BR>
<P>The sanei_* files shall not be installed on the system directories
<BR>
because they are not part of the sane standard, but a frontend may
<BR>
use these routines. If we move a frontend out of the backend-package
<BR>
we also have to copy some sanei_* routines to the frontend-package
<BR>
(already done for xcam and xscanimage).
<BR>
<P><P><EM>&gt; What about the same problem in this favour: &quot;lalloca.h&quot; vs &lt;lalloca.h&gt;
</EM><BR>
<EM>&gt; (or &quot;getopt.h&quot; vs &lt;getopt.h&gt;)? In this case we should write something
</EM><BR>
<EM>&gt; like this:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #ifdef HAVE_LALLOCA_H
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #include &lt;lalloca.h&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #else
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #include &quot;../include/lalloca.h&quot;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #endif
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; any comments?
</EM><BR>
<EM>&gt;
</EM><BR>
<P>In the manpage of getopt it is described that
<BR>
#include &lt;getopt.h&gt; should be done. So it has
<BR>
to be used or we get problems when getopt is
<BR>
available at the system.
<BR>
<P>With lalloca.h I don`t know but I don`t see
<BR>
a problem here to keep it as it is.
<BR>
<P>Bye
<BR>
Oliver
<BR>
<P><P><P><PRE>
--
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20#include%20&lt;sane...&gt;%20instead%20of%20&quot;sane...&quot;&In-Reply-To=&lt;3A03B246.AB050C3@wolfsburg.de&gt;">Oliver.Rauch@Wolfsburg.DE</A>
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20#include%20&lt;sane...&gt;%20instead%20of%20&quot;sane...&quot;&In-Reply-To=&lt;3A03B246.AB050C3@wolfsburg.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0053.html">Oliver Rauch: "Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0051.html">Chris Bagwell: "Re: [snapscan] Core testing group"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0047.html">Jochen Eisinger: "Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0062.html">Jochen Eisinger: "Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0062.html">Jochen Eisinger: "Re: #include &lt;sane...&gt; instead of &quot;sane...&quot;"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#52">[ date ]</A>
<A HREF="index.html#52">[ thread ]</A>
<A HREF="subject.html#52">[ subject ]</A>
<A HREF="author.html#52">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Fri Nov 03 2000 - 23:03:52 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>