From 67f2ed4254be330c8d7bbaddf2dd17458c736ac1 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 4 Oct 2001 23:44:08 +0000 Subject: [PATCH] Change all the file headers to LGPL --- lib/buffer.c | 23 +++++++++++++++++++++++ lib/cmd.c | 22 ++++++++++++++++++++++ lib/comedi.c | 28 ++++++++++++++-------------- lib/data.c | 28 ++++++++++++++-------------- lib/dio.c | 28 ++++++++++++++-------------- lib/error.c | 28 ++++++++++++++-------------- lib/filler.c | 28 ++++++++++++++-------------- lib/get.c | 28 ++++++++++++++-------------- lib/ioctl.c | 28 ++++++++++++++-------------- lib/libinternal.h | 29 ++++++++++++++--------------- lib/range.c | 28 ++++++++++++++-------------- lib/sv.c | 28 ++++++++++++++-------------- lib/timed.c | 30 +++++++++++++++--------------- lib/timer.c | 30 +++++++++++++++--------------- 14 files changed, 215 insertions(+), 171 deletions(-) diff --git a/lib/buffer.c b/lib/buffer.c index ef1ff91..dee67d1 100644 --- a/lib/buffer.c +++ b/lib/buffer.c @@ -1,3 +1,26 @@ +/* + lib/buffer.c + functions for manipulating buffers + + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. +*/ + #include #include diff --git a/lib/cmd.c b/lib/cmd.c index df480f2..8496a96 100644 --- a/lib/cmd.c +++ b/lib/cmd.c @@ -1,3 +1,25 @@ +/* + lib/cmd.c + support functions for commands + + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. +*/ #include #include diff --git a/lib/comedi.c b/lib/comedi.c index 2b7499b..853857f 100644 --- a/lib/comedi.c +++ b/lib/comedi.c @@ -1,24 +1,24 @@ /* lib/comedi.c - comedi library routines + generic functions - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/data.c b/lib/data.c index b5b203d..f80a473 100644 --- a/lib/data.c +++ b/lib/data.c @@ -1,24 +1,24 @@ /* lib/data.c - comedi library routines + functions for reading/writing data - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/dio.c b/lib/dio.c index 5f97dfd..86b5fa8 100644 --- a/lib/dio.c +++ b/lib/dio.c @@ -1,24 +1,24 @@ /* lib/dio.c - comedi library routines + digital I/O routines - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/error.c b/lib/error.c index 8d98de0..4093f31 100644 --- a/lib/error.c +++ b/lib/error.c @@ -1,24 +1,24 @@ /* lib/error.c - error handling routines + error functions and data - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/filler.c b/lib/filler.c index 5386412..1d40e99 100644 --- a/lib/filler.c +++ b/lib/filler.c @@ -1,24 +1,24 @@ /* lib/filler.c - comedi library routines + functions to retrieve kernel data - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/get.c b/lib/get.c index 3370c67..85f5d35 100644 --- a/lib/get.c +++ b/lib/get.c @@ -1,24 +1,24 @@ /* lib/get.c - comedi library routines + functions to return information about comedi devices - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/ioctl.c b/lib/ioctl.c index 7b5b91d..63e6b92 100644 --- a/lib/ioctl.c +++ b/lib/ioctl.c @@ -1,24 +1,24 @@ /* lib/ioctl.c - comedi library routines + low-level functions - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/libinternal.h b/lib/libinternal.h index 85ed5b9..5052251 100644 --- a/lib/libinternal.h +++ b/lib/libinternal.h @@ -1,27 +1,26 @@ /* lib/libinternal.h - header file for comedilib internals + internal definitions for comedilib - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1998 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ - #ifndef _LIBINTERNAL_H #define _LIBINTERNAL_H diff --git a/lib/range.c b/lib/range.c index fdefa0c..de2b92e 100644 --- a/lib/range.c +++ b/lib/range.c @@ -1,24 +1,24 @@ /* lib/range.c - comedi library routines for voltage ranges + functions to manipulate physical unit conversion - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/sv.c b/lib/sv.c index 2145690..e582e95 100644 --- a/lib/sv.c +++ b/lib/sv.c @@ -1,24 +1,24 @@ /* lib/sv.c - comedi library routines - sv section + functions for slowly varying inputs - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/timed.c b/lib/timed.c index d2876ef..6291fef 100644 --- a/lib/timed.c +++ b/lib/timed.c @@ -1,24 +1,24 @@ /* - lib/sv.c - comedi library routines - sv section + lib/timed.c + description - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include diff --git a/lib/timer.c b/lib/timer.c index 4129e13..dc2817e 100644 --- a/lib/timer.c +++ b/lib/timer.c @@ -1,24 +1,24 @@ /* - lib/comedi.c - comedi library routines + lib/timer.c + legacy timer crap - COMEDI - Linux Control and Measurement Device Interface - Copyright (C) 1997-8 David A. Schleef + COMEDILIB - Linux Control and Measurement Device Interface Library + Copyright (C) 1997-2001 David A. Schleef - 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation, version 2.1 + of the License. - This program is distributed in the hope that it will be useful, + This library 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., 675 Mass Ave, Cambridge, MA 02139, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. */ #include