# Re: Passing duplex data from reader process

From: Oliver Rauch (oliver.rauch@rauch-domain.de)
Date: Fri Mar 02 2001 - 13:48:19 PST

- Next message: Daniel Karlsson: "Re: No scanners identified"
  - Previous message: Shea A Martin: "kerneld and necessary scanning modules"
  - In reply to: Frederik Ramm: "Passing duplex data from reader process"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Frederik Ramm wrote:
  >
  > Any suggestions?
  >

  Hi Frederik,

  I would do it this way:

  the reader process separates both images, the first
  is sent through the pipe, the second one is stored
  in a file. When the first image is transmitted the
  pipe is closed.

  The second image is read from the file by the backend.

  When the backend does create a random filename before
  fork() is called you do not have any problems with
  needed additional information.

  Bye
  Oliver

      --
      Homepage:	http://www.rauch-domain.de
      sane-umax:	http://www.rauch-domain.de/sane-umax
      xsane:		http://www.xsane.org
      E-Mail:		mailto:Oliver.Rauch@rauch-domain.de
      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: Daniel Karlsson: "Re: No scanners identified"
  - Previous message: Shea A Martin: "kerneld and necessary scanning modules"
  - In reply to: Frederik Ramm: "Passing duplex data from reader process"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Fri Mar 02 2001 - 13:48:05 PST