Functions

nfc-utils.h File Reference

Provide some examples shared functions like print, parity calculation, options parsing. More...

#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

nfc_device_desc_tparse_device_desc (int argc, const char *argv[], size_t *szFound)
 Tries to parse arguments to find device descriptions.

Detailed Description

Provide some examples shared functions like print, parity calculation, options parsing.

Public platform independent Near Field Communication (NFC) library

Copyright (C) 2010, 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 <http://www.gnu.org/licenses/>

Definition in file nfc-utils.h.


Function Documentation

nfc_device_desc_t* parse_device_desc ( int  argc,
const char *  argv[],
size_t *  szFound 
)

Tries to parse arguments to find device descriptions.

Returns:
Returns the list of found device descriptions.

Definition at line 155 of file nfc-utils.c.