From 0a7402d83c9f5b64632656373a49e7bfacac4830 Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 29 May 2005 18:21:58 +0000 Subject: add gpl disclaimers git-svn-id: https://svn.gnumonks.org/trunk/librfid@1182 e0336214-984f-0b4b-a45f-81c69e1f0ede --- openct-escape.c | 19 +++++++++++++++++++ rfid.c | 15 ++++++++++++++- rfid_asic_rc632.c | 16 +++++++++++++++- rfid_iso14443_common.c | 17 +++++++++++++++++ rfid_layer2.c | 16 ++++++++++++++++ rfid_layer2_iso14443a.c | 15 +++++++++++++++ rfid_layer2_iso14443b.c | 15 +++++++++++++++ rfid_proto_tcl.c | 15 +++++++++++++++ rfid_protocol.c | 15 +++++++++++++++ rfid_reader.c | 16 ++++++++++++++++ rfid_reader_cm5121.c | 15 +++++++++++++++ 11 files changed, 172 insertions(+), 2 deletions(-) diff --git a/openct-escape.c b/openct-escape.c index ed28c8d..7533d0f 100644 --- a/openct-escape.c +++ b/openct-escape.c @@ -1,3 +1,19 @@ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + #include #include #include @@ -63,6 +79,7 @@ static int init() return -1; } + printf("initializing librfid\n"); rfid_init(); printf("opening reader handle\n"); @@ -100,6 +117,8 @@ static int init() return -1; } + printf("we now have T=CL up and running\n"); + return 0; } diff --git a/rfid.c b/rfid.c index 3c375b2..4d0d2c2 100644 --- a/rfid.c +++ b/rfid.c @@ -1,4 +1,17 @@ - +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ #include #include diff --git a/rfid_asic_rc632.c b/rfid_asic_rc632.c index 3d5b621..fac968b 100644 --- a/rfid_asic_rc632.c +++ b/rfid_asic_rc632.c @@ -2,7 +2,21 @@ * * (C) Harald Welte * - * Licensed under GNU General Public License, Version 2 + */ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 */ #include diff --git a/rfid_iso14443_common.c b/rfid_iso14443_common.c index aacb45d..38fed6b 100644 --- a/rfid_iso14443_common.c +++ b/rfid_iso14443_common.c @@ -1,3 +1,20 @@ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + + static unsigned int fsdi_table[] = { 16, 24, 32, 40, 48, 64, 96, 128, 256 }; int iso14443_fsdi_to_fsd(unsigned int *fsd, unsigned char fsdi) diff --git a/rfid_layer2.c b/rfid_layer2.c index eb7cb2d..aa3b767 100644 --- a/rfid_layer2.c +++ b/rfid_layer2.c @@ -1,6 +1,22 @@ /* librfid - layer 2 protocol handler * (C) 2005 by Harald Welte */ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + #include #include diff --git a/rfid_layer2_iso14443a.c b/rfid_layer2_iso14443a.c index fbad9d8..b3e5958 100644 --- a/rfid_layer2_iso14443a.c +++ b/rfid_layer2_iso14443a.c @@ -4,6 +4,21 @@ * */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + #include #include #include diff --git a/rfid_layer2_iso14443b.c b/rfid_layer2_iso14443b.c index c785826..6207827 100644 --- a/rfid_layer2_iso14443b.c +++ b/rfid_layer2_iso14443b.c @@ -4,6 +4,21 @@ * */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + #include #include #include diff --git a/rfid_proto_tcl.c b/rfid_proto_tcl.c index 299360e..269024f 100644 --- a/rfid_proto_tcl.c +++ b/rfid_proto_tcl.c @@ -4,6 +4,21 @@ * */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + #include #include #include diff --git a/rfid_protocol.c b/rfid_protocol.c index 33aa10c..3340b25 100644 --- a/rfid_protocol.c +++ b/rfid_protocol.c @@ -2,6 +2,21 @@ * (C) 2005 by Harald Welte */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + #include #include diff --git a/rfid_reader.c b/rfid_reader.c index 834f926..b39e0f8 100644 --- a/rfid_reader.c +++ b/rfid_reader.c @@ -1,6 +1,22 @@ /* librfid - core reader handling * (C) 2005 by Harald Welte */ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + #include #include diff --git a/rfid_reader_cm5121.c b/rfid_reader_cm5121.c index 30d1c67..f5271e9 100644 --- a/rfid_reader_cm5121.c +++ b/rfid_reader_cm5121.c @@ -12,6 +12,21 @@ * */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation + * + * 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 + */ + #include #include #include -- cgit v1.2.3