sanei_access.h

Go to the documentation of this file.
00001 /* sane - Scanner Access Now Easy.
00002 
00003    Copyright (C) 2005 Gerhard Jaeger <gerhard@gjaeger.de>
00004 
00005    This file is part of the SANE package.
00006 
00007    This program is free software; you can redistribute it and/or
00008    modify it under the terms of the GNU General Public License as
00009    published by the Free Software Foundation; either version 2 of the
00010    License, or (at your option) any later version.
00011 
00012    This program is distributed in the hope that it will be useful, but
00013    WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015    General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with this program; if not, write to the Free Software
00019    Foundation, Inc., 59 Temple Place - Suite 330, Boston,
00020    MA 02111-1307, USA.
00021 
00022    As a special exception, the authors of SANE give permission for
00023    additional uses of the libraries contained in this release of SANE.
00024 
00025    The exception is that, if you link a SANE library with other files
00026    to produce an executable, this does not by itself cause the
00027    resulting executable to be covered by the GNU General Public
00028    License.  Your use of that executable is in no way restricted on
00029    account of linking the SANE library code into it.
00030 
00031    This exception does not, however, invalidate any other reasons why
00032    the executable file might be covered by the GNU General Public
00033    License.
00034 
00035    If you submit changes to SANE to the maintainers to be included in
00036    a subsequent release, you agree by submitting the changes that
00037    those changes may be distributed with this exception intact.
00038 
00039    If you write modifications of your own for SANE, it is your choice
00040    whether to permit this exception to apply to your modifications.
00041    If you do not wish that, delete this exception notice.
00042 
00043 */
00044 
00053 #ifndef sanei_access_h
00054 #define sanei_access_h
00055 
00056 #include "../include/sane/config.h"
00057 #include "../include/sane/sane.h"
00058 
00065 extern void sanei_access_init( const char * backend );
00066 
00084 extern SANE_Status sanei_access_lock( const char * devicename, SANE_Word timeout );
00085 
00095 extern SANE_Status sanei_access_unlock( const char * devicename );
00096 
00097 #endif /* sanei_access_h */

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