diff --git a/include/sane/sanei_pio.h b/include/sane/sanei_pio.h deleted file mode 100644 index 61ac414..0000000 --- a/include/sane/sanei_pio.h +++ /dev/null @@ -1,55 +0,0 @@ -/* sane - Scanner Access Now Easy. - Copyright (C) 1998 Christian Bucher - Copyright (C) 1998 Kling & Hautzinger GmbH - This file is part of the SANE package. - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. - - As a special exception, the authors of SANE give permission for - additional uses of the libraries contained in this release of SANE. - - The exception is that, if you link a SANE library with other files - to produce an executable, this does not by itself cause the - resulting executable to be covered by the GNU General Public - License. Your use of that executable is in no way restricted on - account of linking the SANE library code into it. - - This exception does not, however, invalidate any other reasons why - the executable file might be covered by the GNU General Public - License. - - If you submit changes to SANE to the maintainers to be included in - a subsequent release, you agree by submitting the changes that - those changes may be distributed with this exception intact. - - If you write modifications of your own for SANE, it is your choice - whether to permit this exception to apply to your modifications. - If you do not wish that, delete this exception notice. */ - -#ifndef sanei_pio_h -#define sanei_pio_h - -#include - -#include - -extern SANE_Status sanei_pio_open (const char * dev, int * fd); -extern void sanei_pio_close (int fd); -extern int sanei_pio_read (int fd, u_char * buf, int n); -extern int sanei_pio_write (int fd, const u_char * buf, int n); - -#endif /* sanei_pio_h */ - diff --git a/include/sane/sanei_signal.h b/include/sane/sanei_signal.h deleted file mode 100644 index 0033c1c..0000000 --- a/include/sane/sanei_signal.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifdef HAVE_SIGPROCMASK -# define SIGACTION sigaction -#else - -/* Just enough backwards compatibility that we get by in the backends - without making handstands. */ -# ifdef sigset_t -# undef sigset_t -# endif -# ifdef sigemptyset -# undef sigemptyset -# endif -# ifdef sigfillset -# undef sigfillset -# endif -# ifdef sigaddset -# undef sigaddset -# endif -# ifdef sigdelset -# undef sigdelset -# endif -# ifdef sigprocmask -# undef sigprocmask -# endif -# ifdef SIG_BLOCK -# undef SIG_BLOCK -# endif -# ifdef SIG_UNBLOCK -# undef SIG_UNBLOCK -# endif -# ifdef SIG_SETMASK -# undef SIG_SETMASK -# endif - -# define sigset_t int -# define sigemptyset(set) do { *(set) = 0; } while (0) -# define sigfillset(set) do { *(set) = ~0; } while (0) -# define sigaddset(set,signal) do { *(set) |= sigmask (signal); } while (0) -# define sigdelset(set,signal) do { *(set) &= ~sigmask (signal); } while (0) -# define sigaction(sig,new,old) sigvec (sig,new,old) - - /* Note: it's not safe to just declare our own "struct sigaction" since - some systems (e.g., some versions of OpenStep) declare that structure, - but do not implement sigprocmask(). Hard to believe, aint it? */ -# define SIGACTION sigvec -# define SIG_BLOCK 1 -# define SIG_UNBLOCK 2 -# define SIG_SETMASK 3 -#endif /* !HAVE_SIGPROCMASK */ - diff --git a/include/sane/sanei_thread.h b/include/sane/sanei_thread.h deleted file mode 100644 index 977b84d..0000000 --- a/include/sane/sanei_thread.h +++ /dev/null @@ -1,33 +0,0 @@ -/* sane - Scanner Access Now Easy. - Copyright (C) 2000 Yuri Dario - This file is part of the SANE package. - - SANE is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License as published by the Free - Software Foundation; either version 2 of the License, or (at your - option) any later version. - - SANE is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with sane; see the file COPYING. If not, write to the Free - Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - This file declares a _proposed_ internal SANE interface. It was - proposed 2000-02-19 by Yuri Dario to wrap UNIX functions fork(), - kill(), waitpid() and wait(), which are missing on OS/2. -*/ - -#ifndef sanei_thread_h -#define sanei_thread_h - -extern int sanei_thread_begin( void (*start)(void *arg), - void *arg_list); -extern int sanei_thread_kill( int pid, int sig); -extern int sanei_thread_waitpid( int pid, int *stat_loc, int options); -extern int sanei_thread_wait( int *stat_loc); - -#endif /* sanei_thread_h */ diff --git a/include/sane/stamp-h b/include/sane/stamp-h deleted file mode 100644 index 9788f70..0000000 --- a/include/sane/stamp-h +++ /dev/null @@ -1 +0,0 @@ -timestamp