From 54b68279714582b9ab547bc9feed29d01f4e9a5f Mon Sep 17 00:00:00 2001
From: Audrey Diacre <adiacre@il4p.fr>
Date: Tue, 22 Nov 2011 15:23:18 +0000
Subject: [PATCH] add missing manpages.

---
 utils/nfc-emulate-forum-tag2.1 | 39 +++++++++++++++++++++++++++++++++
 utils/nfc-read-forum-tag3.1    | 40 ++++++++++++++++++++++++++++++++++
 utils/nfc-read-forum-tag3.c    |  1 -
 3 files changed, 79 insertions(+), 1 deletion(-)
 create mode 100644 utils/nfc-emulate-forum-tag2.1
 create mode 100644 utils/nfc-read-forum-tag3.1

diff --git a/utils/nfc-emulate-forum-tag2.1 b/utils/nfc-emulate-forum-tag2.1
new file mode 100644
index 0000000..23c9890
--- /dev/null
+++ b/utils/nfc-emulate-forum-tag2.1
@@ -0,0 +1,39 @@
+.TH nfc-emulate-forum-tag2 1 "November 22, 2011" "libnfc" "NFC Utilities"
+.SH NAME
+nfc-emulate-forum-tag2 \- NFC Forum tag type 2 emulation command line demonstration tool
+.SH SYNOPSIS
+.B nfc-emulate-forum-tag2
+.SH DESCRIPTION
+.B nfc-emulate-forum-tag2
+is a demonstration tool that emulates a NFC Forum tag type 2 that contains a read-only NDEF message.
+.SH NOTES
+It have been developed using PN533 USB hardware as target and Google Nexus S phone as initiator.
+
+This is know to NOT work with Nokia 6212 Classic and could not work with several NFC Forum compiliant devices due to these reasons:
+   - The emulated target only have a 4 bytes UID where 7 bytes UID (as a real Mifare Ultralight tag) are usually attempted;
+   - The chip is emulating a ISO/IEC 14443-3 tag, without any hardware helper.
+   
+If the initiator have too short timeouts for software-based emulation (which is usually the case), this example will failed, this is not a bug and we can't do anything using this kind of hardware (PN531/PN533).
+.SH BUGS
+Please report any bugs on the
+.B libnfc
+issue tracker at:
+.br
+.BR http://code.google.com/p/libnfc/issues
+.SH LICENCE
+.B libnfc
+is licensed under the GNU Lesser General Public License (LGPL), version 3.
+.br
+.B libnfc-utils
+and
+.B libnfc-examples
+are covered by the the BSD 2-Clause license.
+.SH AUTHORS
+Roel Verdult <roel@libnfc.org>, 
+.br
+Romain Tartière <romain@libnfc.org>, 
+.br
+Romuald Conty <romuald@libnfc.org>.
+.PP
+This manual page was written by Audrey Diacre <adiacre@il4p.fr>.
+It is licensed under the terms of the GNU GPL (version 2 or later).
\ No newline at end of file
diff --git a/utils/nfc-read-forum-tag3.1 b/utils/nfc-read-forum-tag3.1
new file mode 100644
index 0000000..61404bc
--- /dev/null
+++ b/utils/nfc-read-forum-tag3.1
@@ -0,0 +1,40 @@
+.TH nfc-read-forum-tag3 1 "November 22, 2011" "libnfc" "NFC Utilities"
+.SH NAME
+nfc-read-forum-tag3 \- Extract NDEF Message from a NFC Forum Tag Type 3
+.SH SYNOPSIS
+.B nfc-read-forum-tag3
+.RI \fR\fB\-o\fR
+.IR FILE 
+.SH DESCRIPTION
+.B nfc-read-forum-tag3
+This utility extracts (if available) NDEF Messages contained in a NFC Forum Tag Type 3 to
+.IR FILE
+.
+.SH OPTIONS
+\fR\fB\-o\fR 
+output extracted NDEF Message to
+.IR FILE
+
+.SH BUGS
+Please report any bugs on the
+.B libnfc
+issue tracker at:
+.br
+.BR http://code.google.com/p/libnfc/issues
+.SH LICENCE
+.B libnfc
+is licensed under the GNU Lesser General Public License (LGPL), version 3.
+.br
+.B libnfc-utils
+and
+.B libnfc-examples
+are covered by the the BSD 2-Clause license.
+.SH AUTHORS
+Roel Verdult <roel@libnfc.org>, 
+.br
+Romain Tartière <romain@libnfc.org>, 
+.br
+Romuald Conty <romuald@libnfc.org>.
+.PP
+This manual page was written by Audrey Diacre <adiacre@il4p.fr>.
+It is licensed under the terms of the GNU GPL (version 2 or later).
\ No newline at end of file
diff --git a/utils/nfc-read-forum-tag3.c b/utils/nfc-read-forum-tag3.c
index cf68e23..7f1b76c 100644
--- a/utils/nfc-read-forum-tag3.c
+++ b/utils/nfc-read-forum-tag3.c
@@ -53,7 +53,6 @@
 #include <unistd.h>
 
 #include <nfc/nfc.h>
-#include <nfc/nfc-emulation.h>
 
 #include "nfc-utils.h"