From d72d5c536e1118cb81a022a972a534e376222892 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 30 Mar 2011 09:39:08 +0000 Subject: [PATCH] Add licence and document a bit some files. --- libnfc/iso7816.h | 5 +++++ libnfc/nfc-device.c | 24 ++++++++++++++++++++++++ libnfc/nfc-emulation.c | 5 +++++ 3 files changed, 34 insertions(+) diff --git a/libnfc/iso7816.h b/libnfc/iso7816.h index 4e058a3..250f053 100644 --- a/libnfc/iso7816.h +++ b/libnfc/iso7816.h @@ -17,6 +17,11 @@ * along with this program. If not, see */ + /** + * @file iso7816.h + * @brief Defines some macros extracted for ISO/IEC 7816-4 + */ + #ifndef __LIBNFC_ISO7816_H__ #define __LIBNFC_ISO7816_H__ diff --git a/libnfc/nfc-device.c b/libnfc/nfc-device.c index 567fc75..b62e877 100644 --- a/libnfc/nfc-device.c +++ b/libnfc/nfc-device.c @@ -1,3 +1,27 @@ +/*- + * Public platform independent Near Field Communication (NFC) library + * + * Copyright (C) 2011, Romain Tartière, Romuald Conty + * + * This program 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, either version 3 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 Lesser General Public License + * along with this program. If not, see + */ + + /** + * @file nfc-device.c + * @brief Provide internal function to manipulate nfc_device_t type + */ + /* vim:set et sw=2 ts=2: */ #include diff --git a/libnfc/nfc-emulation.c b/libnfc/nfc-emulation.c index 0686917..c32b564 100644 --- a/libnfc/nfc-emulation.c +++ b/libnfc/nfc-emulation.c @@ -17,6 +17,11 @@ * along with this program. If not, see */ + /** + * @file nfc-emulate.c + * @brief Provide a small API to ease emulation in libnfc + */ + #include #include