sanei_ab306.h

Go to the documentation of this file.
00001 /* sane - Scanner Access Now Easy.
00002    Copyright (C) 1997 Andreas Czechanowski
00003    This file is part of the SANE package.
00004 
00005    This program is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU General Public License as
00007    published by the Free Software Foundation; either version 2 of the
00008    License, or (at your option) any later version.
00009 
00010    This program is distributed in the hope that it will be useful, but
00011    WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the Free Software
00017    Foundation, Inc., 59 Temple Place - Suite 330, Boston,
00018    MA 02111-1307, USA.
00019 
00020    As a special exception, the authors of SANE give permission for
00021    additional uses of the libraries contained in this release of SANE.
00022 
00023    The exception is that, if you link a SANE library with other files
00024    to produce an executable, this does not by itself cause the
00025    resulting executable to be covered by the GNU General Public
00026    License.  Your use of that executable is in no way restricted on
00027    account of linking the SANE library code into it.
00028 
00029    This exception does not, however, invalidate any other reasons why
00030    the executable file might be covered by the GNU General Public
00031    License.
00032 
00033    If you submit changes to SANE to the maintainers to be included in
00034    a subsequent release, you agree by submitting the changes that
00035    those changes may be distributed with this exception intact.
00036 
00037    If you write modifications of your own for SANE, it is your choice
00038    whether to permit this exception to apply to your modifications.
00039    If you do not wish that, delete this exception notice.  */
00040 
00041 
00059 #ifndef sanei_ab306_h
00060 #define sanei_ab306_h
00061 
00062 #include <sys/types.h>
00063 
00064 #include <sane/sane.h>
00065 
00080 SANE_Status     sanei_ab306_open (const char *dev, int *fd);
00081 
00088 void            sanei_ab306_close (int fd);
00089 
00096 void            sanei_ab306_exit (void);
00097 
00112 SANE_Status     sanei_ab306_get_io_privilege (int fd);
00122 SANE_Status     sanei_ab306_test_ready (int fd);
00123 
00138 SANE_Status     sanei_ab306_cmd (int fd, const void *src, size_t src_size,
00139                                  void *dst, size_t *dst_size);
00140 
00155 SANE_Status     sanei_ab306_rdata (int fd, int planes,
00156                                    SANE_Byte *buf, int lines, int bpl);
00157 
00158 #endif /* sanei_ab306_h */

Generated on Sat Jul 26 05:45:27 2008 for SANEI by  doxygen 1.5.1