sane-project-website/old-archive/2000-10/0242.html

160 wiersze
6.1 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: Patches for sanei_debug.h/sanei_init_debug.c an</TITLE>
<META NAME="Author" CONTENT="Peter Kirchgessner (peter@kirchgessner.net)">
<META NAME="Subject" CONTENT="Re: Patches for sanei_debug.h/sanei_init_debug.c and the HP-backend">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Patches for sanei_debug.h/sanei_init_debug.c and the HP-backend</H1>
<!-- received="Sun Oct 22 00:48:11 2000" -->
<!-- isoreceived="20001022074811" -->
<!-- sent="Sun, 22 Oct 2000 10:00:17 +0200" -->
<!-- isosent="20001022080017" -->
<!-- name="Peter Kirchgessner" -->
<!-- email="peter@kirchgessner.net" -->
<!-- subject="Re: Patches for sanei_debug.h/sanei_init_debug.c and the HP-backend" -->
<!-- id="39F29E91.C41740FA@kirchgessner.net" -->
<!-- inreplyto="39F1C44D.7B12547D@gno.de" -->
<STRONG>From:</STRONG> Peter Kirchgessner (<A HREF="mailto:peter@kirchgessner.net?Subject=Re:%20Patches%20for%20sanei_debug.h/sanei_init_debug.c%20and%20the%20HP-backend&In-Reply-To=&lt;39F29E91.C41740FA@kirchgessner.net&gt;"><EM>peter@kirchgessner.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Oct 22 2000 - 01:00:17 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0243.html">Petter Reinholdtsen: "Re: sane fronten packages"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0241.html">Sebastien Sable: "Re: Problems with Acer ScanPrisa 640S"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0247.html">Jochen Eisinger: "Re: Patches for sanei_debug.h/sanei_init_debug.c and the HP-backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0247.html">Jochen Eisinger: "Re: Patches for sanei_debug.h/sanei_init_debug.c and the HP-backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#242">[ date ]</A>
<A HREF="index.html#242">[ thread ]</A>
<A HREF="subject.html#242">[ subject ]</A>
<A HREF="author.html#242">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi Jochen,
<BR>
<P>my answer to your e-mail address returned to me with a mailer-error.
<BR>
Therefore another try through the SANE-mailing list.
<BR>
I have added the patches to my local copy. Please tell me when I should
<BR>
submit the changes to the CVS. I will include some other changes too.
<BR>
One hint: In sanei_debug.h the function DBG_LOCAL should be declared as
<BR>
static void, not as void static.
<BR>
<P>--Peter
<BR>
<P>Jochen Eisinger wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi!
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I've rewritten the SANE DBG-Interface to avoid the use of vararg
</EM><BR>
<EM>&gt; macros... with the help of Heninng Meier-Geinitz I brought it to a point
</EM><BR>
<EM>&gt; where everything works fine... however, I had to patch the HP backend:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I introduced two new #defines
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; 1. #define DEBUG_NOT_STATIC which is declared in hp.h and forces
</EM><BR>
<EM>&gt; sanei_debug.h not to declare the sanei_debug_call_hp function as static
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; 2. #define DEBUG_DECLARE_ONLY which is declared in all hp*.c files but
</EM><BR>
<EM>&gt; hp.c itself. This definition forces sanei_debug.h to define prototypes
</EM><BR>
<EM>&gt; instead of real declarations... int DBG_LEVEL and void DBG (level, msg,
</EM><BR>
<EM>&gt; ...) are only declared in hp.c...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I also removed the #define STUBS; extern int DBG_LEVEL; -stuff because
</EM><BR>
<EM>&gt; it's obsolete now.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Please have a look at it, whether you want to include these patches in
</EM><BR>
<EM>&gt; your backend. If you're Ok with it, I'll commit the patches for
</EM><BR>
<EM>&gt; sanei_debug.h, sanei_init_debug.c &amp; saned.c - the patches for the
</EM><BR>
<EM>&gt; HP-backend should be commited from you
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; thanx
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; -- jochen
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; ------------------------------------------------------------------------
</EM><BR>
<EM>&gt; Name: sane-debug.patch.tar.gz
</EM><BR>
<EM>&gt; sane-debug.patch.tar.gz Type: Unix Tape Archive (application/x-tar)
</EM><BR>
<EM>&gt; Encoding: base64
</EM><BR>
<P><PRE>
--
Peter Kirchgessner
<A HREF="http://www.kirchgessner.net">http://www.kirchgessner.net</A>
mailto:<A HREF="mailto:peter@kirchgessner.net?Subject=Re:%20Patches%20for%20sanei_debug.h/sanei_init_debug.c%20and%20the%20HP-backend&In-Reply-To=&lt;39F29E91.C41740FA@kirchgessner.net&gt;">peter@kirchgessner.net</A>
<P><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:%20Patches%20for%20sanei_debug.h/sanei_init_debug.c%20and%20the%20HP-backend&In-Reply-To=&lt;39F29E91.C41740FA@kirchgessner.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0243.html">Petter Reinholdtsen: "Re: sane fronten packages"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0241.html">Sebastien Sable: "Re: Problems with Acer ScanPrisa 640S"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0247.html">Jochen Eisinger: "Re: Patches for sanei_debug.h/sanei_init_debug.c and the HP-backend"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0247.html">Jochen Eisinger: "Re: Patches for sanei_debug.h/sanei_init_debug.c and the HP-backend"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#242">[ date ]</A>
<A HREF="index.html#242">[ thread ]</A>
<A HREF="subject.html#242">[ subject ]</A>
<A HREF="author.html#242">[ 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>Sun Oct 22 2000 - 02:12:17 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>