diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-21 10:29:46 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-21 10:29:46 +0100 |
commit | 689436f2adac58c77619c8bda2f0e19a910e427f (patch) | |
tree | 03276f086b2b068c936755fb603f352c250babdd /plugins/p2p.h | |
parent | 8cd2b078997cc3d286b630d1cb894261bb831c29 (diff) | |
download | neard-689436f2adac58c77619c8bda2f0e19a910e427f.tar.gz neard-689436f2adac58c77619c8bda2f0e19a910e427f.tar.bz2 neard-689436f2adac58c77619c8bda2f0e19a910e427f.zip |
p2p: Separate npp support from the core p2p one
Diffstat (limited to 'plugins/p2p.h')
-rw-r--r-- | plugins/p2p.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/p2p.h b/plugins/p2p.h new file mode 100644 index 0000000..9608344 --- /dev/null +++ b/plugins/p2p.h @@ -0,0 +1,28 @@ +/* + * + * neard - Near Field Communication manager + * + * Copyright (C) 2012 Intel Corporation. All rights reserved. + * + * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef AF_NFC +#define AF_NFC 39 +#endif + +#define TLV_SIZE 2 + +int npp_bind(uint32_t adapter_idx, uint32_t target_idx, near_tag_io_cb cb); |