summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openct-escape.c19
-rw-r--r--rfid.c15
-rw-r--r--rfid_asic_rc632.c16
-rw-r--r--rfid_iso14443_common.c17
-rw-r--r--rfid_layer2.c16
-rw-r--r--rfid_layer2_iso14443a.c15
-rw-r--r--rfid_layer2_iso14443b.c15
-rw-r--r--rfid_proto_tcl.c15
-rw-r--r--rfid_protocol.c15
-rw-r--r--rfid_reader.c16
-rw-r--r--rfid_reader_cm5121.c15
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 <stdio.h>
#include <unistd.h>
#include <stdlib.h>
@@ -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 <stdio.h>
#include <string.h>
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 <laforge@gnumonks.org>
*
- * 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 <unistd.h>
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 <laforge@gnumonks.org>
*/
+
+/*
+ * 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 <stdlib.h>
#include <stdio.h>
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 <stdlib.h>
#include <unistd.h>
#include <string.h>
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 <stdlib.h>
#include <unistd.h>
#include <string.h>
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 <stdio.h>
#include <stdlib.h>
#include <unistd.h>
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 <laforge@gnumonks.org>
*/
+/*
+ * 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 <stdlib.h>
#include <unistd.h>
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 <laforge@gnumonks.org>
*/
+
+/*
+ * 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 <stdlib.h>
#include <stdio.h>
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 <stdlib.h>
#include <unistd.h>
#include <string.h>
personal git repositories of Harald Welte. Your mileage may vary