code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div id="footer">
<div class="wrapper">
<div... | zzspring2012csci571 | tail.html | HTML | gpl3 | 1,867 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styles/layou... | zzspring2012csci571 | admin.php | PHP | gpl3 | 4,196 |
<?php
session_start();
echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
echo "<br/>Welcome ".$_COOKIE["username"];
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" conten... | zzspring2012csci571 | manager.php | PHP | gpl3 | 10,848 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styles/layout.css" typ... | zzspring2012csci571 | customer.php | PHP | gpl3 | 6,191 |
<?php
session_start();
echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
if(isset($_SESSION["userID"]) && !strcmp($_SESSION["userType"], "seller")){
$saleID =$_GET["saleID"];
$con = mysql_c... | zzspring2012csci571 | deleteSale.php | PHP | gpl3 | 627 |
<?php
session_start();
$username = $_POST["username"];
$password = $_POST["password"];
$errorMsg = "";
$displayLoginPage = true;
setcookie("username", "$username", time()+20);
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
... | zzspring2012csci571 | login.php | PHP | gpl3 | 2,349 |
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<link r... | zzspring2012csci571 | register.html | HTML | gpl3 | 4,978 |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
$username = $_POST["username"];
$password = $_POST["password"];
$firstName = $_POST["firstName"];
$lastName = $_POST["lastName"];
$year = $_POST["year"];
$month = $_POST["month"];
$day... | zzspring2012csci571 | register.php | PHP | gpl3 | 965 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styles/layout.css"... | zzspring2012csci571 | showItem.php | PHP | gpl3 | 2,601 |
<?php
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN" dir="ltr">
<head>
<title>CloudCom</title>
<link rel="stylesheet" href="styles/layout.css" type="tex... | zzspring2012csci571 | cloudcom.php | PHP | gpl3 | 14,949 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styles/layout.css"... | zzspring2012csci571 | payment.php | PHP | gpl3 | 2,739 |
<?php
session_start();
echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
if(isset($_SESSION["userID"]) && !strcmp($_SESSION["userType"], "seller")){
$productID =$_GET["productID"];
$con... | zzspring2012csci571 | deleteProduct.php | PHP | gpl3 | 661 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<?php
// put your co... | zzspring2012csci571 | customerLogin.php | PHP | gpl3 | 1,893 |
<?php
session_start();
// echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
if(isset($_SESSION["userID"]) && !strcmp($_SESSION["userType"], "manager")){
$productName = $_GET["productName"];
$categoryID = $_GET["categoryID"];
$minPrice = $_GET["minPrice"];
$maxPrice = $_GET["... | zzspring2012csci571 | showSale.php | PHP | gpl3 | 2,111 |
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<link r... | zzspring2012csci571 | customerLogin.html | HTML | gpl3 | 3,842 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styl... | zzspring2012csci571 | seller.php | PHP | gpl3 | 9,171 |
<?php
session_start();
// echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>... | zzspring2012csci571 | commitProduct.php | PHP | gpl3 | 3,198 |
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<?php
session_start();
echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
// put your code here
if(isset($_SESSION["userID"]) && !strcmp($_SESSION["userType"], "administrator")){
$... | zzspring2012csci571 | deleteUser.php | PHP | gpl3 | 684 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styles/la... | zzspring2012csci571 | showCart.php | PHP | gpl3 | 7,239 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<?php
// put your co... | zzspring2012csci571 | updateCart.php | PHP | gpl3 | 1,109 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styles/layout.css"... | zzspring2012csci571 | showOrder.php | PHP | gpl3 | 2,724 |
<?php
session_start();
echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><... | zzspring2012csci571 | updateSale.php | PHP | gpl3 | 3,753 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styles/layou... | zzspring2012csci571 | updateUser.php | PHP | gpl3 | 5,045 |
<?php
session_start();
// echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
//put your code here
if(isset($_SESSION["userID"]) && !strcmp($_SESSION["userType"], "manager")){
$productName = $_GET["productName"];
$categoryID = $_GET["categoryID"];
$minPrice = $_GET["minPri... | zzspring2012csci571 | showProduct.php | PHP | gpl3 | 2,332 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN" dir="ltr">
<head>
<title>CloudCom</title>
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<link rel="stylesheet... | zzspring2012csci571 | login.html | HTML | gpl3 | 4,731 |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
session_start();
$category = $_GET["category"];
$con = mysql_connect("localhost", "zhouzhao", "19831022");
if(!$con){
die("could not connect to DB: ".mysql_error());
}
my... | zzspring2012csci571 | changeCategory.php | PHP | gpl3 | 2,257 |
<?php
session_start();
// echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
if(isset($_SESSION["userID"]) && !strcmp($_SESSION["userType"], "manager")){
$userType = $_GET["userType"];
... | zzspring2012csci571 | showUser.php | PHP | gpl3 | 1,572 |
<?php
session_start();
// echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>... | zzspring2012csci571 | commitCategory.php | PHP | gpl3 | 1,743 |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
session_start();
/*
try {
$dbh = new PDO("mysql:host=localhost;dbname=cloudcom", "zhouzhao", "19831022");
//begin a trasaction and turn off auto-commit
$dbh->beginTransaction... | zzspring2012csci571 | placeOrder.php | PHP | gpl3 | 2,418 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN" dir="ltr">
<head profile="http://gmpg.org/xfn/11">
<title>Cloud Computing</title>
<meta http-equiv="Content-Type" content="text/htm... | zzspring2012csci571 | index.html | HTML | gpl3 | 11,707 |
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<?php
// put your code here
$firstName... | zzspring2012csci571 | customerRegister.php | PHP | gpl3 | 1,403 |
<?php
session_start();
echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><... | zzspring2012csci571 | updateCategory.php | PHP | gpl3 | 3,295 |
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div id="header">
<div class="wrapper">
<di... | zzspring2012csci571 | header.html | HTML | gpl3 | 1,195 |
<?php
session_start();
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" href="styl... | zzspring2012csci571 | updateProduct.php | PHP | gpl3 | 4,152 |
<?php
session_start();
// echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
if(isset($_SESSION["userID"]) && !strcmp($_SESSION["userType"], "manager")){
$categoryName = $_GET["categoryName"... | zzspring2012csci571 | showCategory.php | PHP | gpl3 | 1,240 |
<?php
session_start();
// echo "Login: ".$_SESSION["userID"]." ".$_SESSION["userType"];
?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title... | zzspring2012csci571 | commitSale.php | PHP | gpl3 | 1,716 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/target-subr.c | C | lgpl | 26,179 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/mirror-subr.c | C | lgpl | 3,312 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/conf.c | C | lgpl | 7,800 |
# Windows MinGW workarounds
IF(WIN32)
SET(WINDOWS_SOURCES ../contrib/win32/stdlib)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32)
# Add in the rc for version information in the dll
LIST(APPEND WINDOWS_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/../windows/libnfc.rc)
ENDIF(WIN32)
# Library's chips
S... | zzyjames55-nfc0805 | libnfc/CMakeLists.txt | CMake | lgpl | 3,718 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/nfc-internal.c | C | lgpl | 6,811 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/conf.h | C | lgpl | 1,221 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/target-subr.h | C | lgpl | 2,271 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/log.c | C | lgpl | 2,767 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/nfc-device.c | C | lgpl | 2,138 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/iso14443-subr.c | C | lgpl | 3,146 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/acr122s.h | C | lgpl | 1,301 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tarti?re
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/pn532_i2c.c | C | lgpl | 18,584 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/pn53x_usb.c | C | lgpl | 25,937 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tarti?re
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/pn532_i2c.h | C | lgpl | 1,431 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/arygon.h | C | lgpl | 1,356 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/acr122_pcsc.c | C | lgpl | 17,141 |
# set the include path found by configure
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
noinst_LTLIBRARIES = libnfcdrivers.la
libnfcdrivers_la_SOURCES =
libnfcdrivers_la_CFLAGS = @DRIVERS_CFLAGS@ -I$(top_srcdir)/libnfc -I$(top_srcdir)/libnfc/buses
libnfcdrivers_la_LIBADD =
if DRIVER_ACR122_PCSC_ENABLED
libnfcdriver... | zzyjames55-nfc0805 | libnfc/drivers/Makefile.am | Makefile | lgpl | 1,206 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/pn532_spi.h | C | lgpl | 1,384 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/pn532_uart.c | C | lgpl | 17,165 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/pn532_uart.h | C | lgpl | 1,356 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/pn532_spi.c | C | lgpl | 21,349 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/arygon.c | C | lgpl | 19,733 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/acr122_pcsc.h | C | lgpl | 1,368 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/acr122_usb.c | C | lgpl | 29,046 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/acr122_usb.h | C | lgpl | 1,384 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/pn53x_usb.h | C | lgpl | 1,338 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers/acr122s.c | C | lgpl | 19,165 |
SUBDIRS = chips buses drivers .
# set the include path found by configure
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS) -DSYSCONFDIR='"$(sysconfdir)"'
lib_LTLIBRARIES = libnfc.la
libnfc_la_SOURCES = \
conf.c \
iso14443-subr.c \
mirror-subr.c \
nfc.c \
nfc-device.c \
nfc-emulation.... | zzyjames55-nfc0805 | libnfc/Makefile.am | Makefile | lgpl | 1,238 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/mirror-subr.h | C | lgpl | 1,446 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/nfc.c | C | lgpl | 49,907 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tarti?re
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/buses/i2c.h | C | lgpl | 1,813 |
# set the include path found by configure
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
noinst_LTLIBRARIES = libnfcbuses.la
libnfcbuses_la_SOURCES =
libnfcbuses_la_CFLAGS = -I$(top_srcdir)/libnfc
libnfcbuses_la_LIBADD =
EXTRA_DIST =
if SPI_ENABLED
libnfcbuses_la_SOURCES += spi.c spi.h
libnfcbuses_la_CFLAGS +=
lib... | zzyjames55-nfc0805 | libnfc/buses/Makefile.am | Makefile | lgpl | 851 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/buses/spi.h | C | lgpl | 2,160 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/buses/uart.c | C | lgpl | 10,549 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tarti?re
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/buses/i2c.c | C | lgpl | 5,624 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/buses/uart.h | C | lgpl | 1,991 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/buses/usbbus.c | C | lgpl | 2,669 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/buses/spi.c | C | lgpl | 7,388 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/buses/usbbus.h | C | lgpl | 1,600 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/log-internal.c | C | lgpl | 1,417 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/nfc-emulation.c | C | lgpl | 2,532 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/nfc-internal.h | C | lgpl | 8,639 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/log-internal.h | C | lgpl | 1,536 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/iso7816.h | C | lgpl | 1,704 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/drivers.h | C | lgpl | 1,305 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/log.h | C | lgpl | 4,109 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/chips/pn53x.h | C | lgpl | 17,624 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/chips/pn53x-internal.h | C | lgpl | 16,012 |
# set the include path found by configure
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
noinst_LTLIBRARIES = libnfcchips.la
libnfcchips_la_SOURCES = pn53x.c pn53x.h pn53x-internal.h
libnfcchips_la_CFLAGS = -I$(top_srcdir)/libnfc
| zzyjames55-nfc0805 | libnfc/chips/Makefile.am | Makefile | lgpl | 233 |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2009-2013 Romuald Conty
* Copyright (C) 2010-2012 Romain Tartière
* Copyright (C) 2010-2013 Philippe Teuwen
* Copyright (C) 2012-2013 Ludovic Rousseau
* See AUTHORS... | zzyjames55-nfc0805 | libnfc/chips/pn53x.c | C | lgpl | 107,627 |
# General init
# /!\ Don't forget to update 'CMakeLists.txt' too /!\
AC_INIT([libnfc],[1.7.0-rc7],[nfc-tools@googlegroups.com])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADER(config.h)
# GIT revison
GIT_REVISION=`which git > /dev/null && git describe`
if test x"$GIT_REVISION" != x""; then
AC_DEFINE_UNQUOTED([GIT_RE... | zzyjames55-nfc0805 | configure.ac | M4Sugar | lgpl | 5,816 |
SET(LIBNFC_DRIVER_ACR122_PCSC OFF CACHE BOOL "Enable ACR122 support (Depends on PC/SC)")
SET(LIBNFC_DRIVER_ACR122_USB ON CACHE BOOL "Enable ACR122 support (Direct USB connection)")
SET(LIBNFC_DRIVER_ACR122S ON CACHE BOOL "Enable ACR122S support (Use serial port)")
SET(LIBNFC_DRIVER_ARYGON ON CACHE BOOL "Enable ARYGON s... | zzyjames55-nfc0805 | cmake/modules/LibnfcDrivers.cmake | CMake | lgpl | 2,579 |
# - Run Doxygen
#
# Adds a doxygen target that runs doxygen to generate the html
# and optionally the LaTeX API documentation.
# The doxygen target is added to the doc target as dependency.
# i.e.: the API documentation is built with:
# make doc
#
# USAGE: GLOBAL INSTALL
#
# Install it with:
# cmake ./ && sudo make i... | zzyjames55-nfc0805 | cmake/modules/UseDoxygen.cmake | CMake | lgpl | 2,841 |
EXTRA_DIST = \
COPYING-CMAKE-SCRIPTS \
FindLIBUSB.cmake \
FindPCSC.cmake \
FindPCRE.cmake \
UseDoxygen.cmake \
LibnfcDrivers.cmake
| zzyjames55-nfc0805 | cmake/modules/Makefile.am | Makefile | lgpl | 137 |
# This CMake script wants to use pcre functionality needed for windows
# compilation. However, since PCRE isn't really a default install location
# there isn't much to search.
#
# Operating Systems Supported:
# - Windows (requires MinGW)
# Tested with Windows XP/Windows 7
#
# This should work for both 32 bit and 64 ... | zzyjames55-nfc0805 | cmake/modules/FindPCRE.cmake | CMake | lgpl | 1,101 |
# This CMake script wants to use libusb functionality, therefore it looks
# for libusb include files and libraries.
#
# Operating Systems Supported:
# - Unix (requires pkg-config)
# Tested with Ubuntu 9.04 and Fedora 11
# - Windows (requires MinGW)
# Tested with Windows XP/Windows 7
#
# This should work for both ... | zzyjames55-nfc0805 | cmake/modules/FindLIBUSB.cmake | CMake | lgpl | 2,081 |
# - Try to find the PC/SC smart card library
# Once done this will define
#
# PCSC_FOUND - system has the PC/SC library
# PCSC_INCLUDE_DIRS - the PC/SC include directory
# PCSC_LIBRARIES - The libraries needed to use PC/SC
#
# Author: F. Kooman <fkooman@tuxed.net>
# Version: 20101019
#
FIND_PACKAGE (PkgConfig)
IF(... | zzyjames55-nfc0805 | cmake/modules/FindPCSC.cmake | CMake | lgpl | 967 |
INCLUDE(BundleUtilities)
# set bundle to the full path of the executable already existing in the install tree
SET(bundle "${CMAKE_INSTALL_PREFIX}/bin/nfc-list@CMAKE_EXECUTABLE_SUFFIX@")
# set other_libs to a list of additional libs that cannot be reached by dependency analysis
SET(other_libs "")
SET(dirs "@LIBUSB_LI... | zzyjames55-nfc0805 | cmake/FixBundle.cmake.in | CMake | lgpl | 386 |
#include "contrib/windows.h"
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
#cmakedefine LIBNFC_SYSCONFDIR "@LIBNFC_SYSCONFDIR@"
| zzyjames55-nfc0805 | cmake/config_windows.h.cmake | CMake | lgpl | 222 |
SUBDIRS = modules
EXTRA_DIST = \
FixBundle.cmake.in \
config_posix.h.cmake \
config_windows.h.cmake
| zzyjames55-nfc0805 | cmake/Makefile.am | Makefile | lgpl | 119 |
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
#cmakedefine _XOPEN_SOURCE @_XOPEN_SOURCE@
#cmakedefine SYSCONFDIR "@SYSCONFDIR@"
| zzyjames55-nfc0805 | cmake/config_posix.h.cmake | CMake | lgpl | 221 |
PROJECT(libnfc C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "7")
SET(VERSION_PATCH "0")
SET(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
SET(PACKAGE_NAME "libnfc")
SET(PACKAGE_VERSION ${VERSION})
SET(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
# config.h
I... | zzyjames55-nfc0805 | CMakeLists.txt | CMake | lgpl | 6,520 |
#include <cutter.h>
#include <nfc/nfc.h>
#define NTESTS 10
#define MAX_DEVICE_COUNT 8
#define MAX_TARGET_COUNT 8
/*
* This is basically a stress-test to ensure we don't left a device in an
* inconsistent state after use.
*/
void test_access_storm(void);
void
test_access_storm(void)
{
int n = NTESTS;
nfc_conn... | zzyjames55-nfc0805 | test/test_access_storm.c | C | lgpl | 1,447 |
#include <cutter.h>
#include <nfc/nfc.h>
#define MAX_DEVICE_COUNT 1
#define MAX_TARGET_COUNT 1
void test_register_endianness(void);
#include "chips/pn53x.h"
void
test_register_endianness(void)
{
nfc_connstring connstrings[MAX_DEVICE_COUNT];
int res = 0;
nfc_context *context;
nfc_init(&context);
size_t ... | zzyjames55-nfc0805 | test/test_register_endianness.c | C | lgpl | 952 |