diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 09:27:48 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 09:27:48 +0900 |
commit | 9ce49f22724f3c2aa78572bcfea74f4f0685dbb8 (patch) | |
tree | a0242e95c5c6da9b89cd0c6b368509db58a1988e | |
parent | 341272b87ca2559879e4e094149ceeb7d066f4f4 (diff) | |
download | neard-9ce49f22724f3c2aa78572bcfea74f4f0685dbb8.tar.gz neard-9ce49f22724f3c2aa78572bcfea74f4f0685dbb8.tar.bz2 neard-9ce49f22724f3c2aa78572bcfea74f4f0685dbb8.zip |
sync
-rw-r--r-- | .mailmap | 1 | ||||
-rw-r--r-- | doc/target-api.txt | 38 | ||||
-rw-r--r-- | src/log.h | 47 | ||||
-rw-r--r-- | src/types.h | 31 |
4 files changed, 1 insertions, 116 deletions
diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..f02e1dd --- /dev/null +++ b/.mailmap @@ -0,0 +1 @@ +Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com> <ravikumar.veeramally@linux.intel.com> diff --git a/doc/target-api.txt b/doc/target-api.txt deleted file mode 100644 index 3172b78..0000000 --- a/doc/target-api.txt +++ /dev/null @@ -1,38 +0,0 @@ -Target hierarchy -================ - -Service org.neard -Interface org.neard.Target -Object path [variable prefix]/{nfc0,nfc1,...}/target_UID - -Method dict GetProperties() - - Returns all properties for the device. See the - properties section for available properties. - - Possible Errors: org.neard.Error.DoesNotExist - - void SetProperty(string name, variant value) - - Changes the value of the specified property. Only - properties that are listed a read-write are changeable. - On success this will emit a PropertyChanged signal. - - Possible Errors: org.neard.Error.DoesNotExist - org.neard.Error.InvalidArguments - -Signals PropertyChanged(string name, variant value) - - This signal indicates a changed value of the given - property. - -Properties string Type [readonly] - - The NFC target type. - - Valid types are "tag" and "device". - - array{dict} Records [readwrite] - - List of NDEF records. - This is only valid for tag type targets. diff --git a/src/log.h b/src/log.h deleted file mode 100644 index 6183b88..0000000 --- a/src/log.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * - * neard - Near Field Communication manager - * - * Copyright (C) 2011 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 - * - */ - -void near_info(const char *format, ...) - __attribute__((format(printf, 1, 2))); -void near_warn(const char *format, ...) - __attribute__((format(printf, 1, 2))); -void near_error(const char *format, ...) - __attribute__((format(printf, 1, 2))); -void near_debug(const char *format, ...) - __attribute__((format(printf, 1, 2))); - -struct near_debug_desc { - const char *name; - const char *file; -#define NEAR_DEBUG_FLAG_DEFAULT (0) -#define NEAR_DEBUG_FLAG_PRINT (1 << 0) - unsigned int flags; -} __attribute__((aligned(8))); - -#define DBG(fmt, arg...) do { \ - static struct near_debug_desc __near_debug_desc \ - __attribute__((used, section("__debug"), aligned(8))) = { \ - .file = __FILE__, .flags = NEAR_DEBUG_FLAG_DEFAULT, \ - }; \ - if (__near_debug_desc.flags & NEAR_DEBUG_FLAG_PRINT) \ - near_debug("%s:%s() " fmt, \ - __FILE__, __FUNCTION__ , ## arg); \ -} while (0) diff --git a/src/types.h b/src/types.h deleted file mode 100644 index ef7fdec..0000000 --- a/src/types.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * - * neard - Near Field Communication manager - * - * Copyright (C) 2011 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 FALSE -#define FALSE (0) -#endif - -#ifndef TRUE -#define TRUE (!FALSE) -#endif - -typedef int near_bool_t; - |