diff options
Diffstat (limited to 'openct-escape.c')
-rw-r--r-- | openct-escape.c | 19 |
1 files changed, 19 insertions, 0 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; } |