platform/core/api/nsd.git
7 years agoModify the header and documentation 09/105609/2
chleun.moon [Mon, 19 Dec 2016 05:58:26 +0000 (14:58 +0900)]
Modify the header and documentation

Signed-off-by: cheoleun <chleun.moon@samsung.com>
Change-Id: I5bd7524351d87fbc8c7c32ed789ee5c302ec63da

7 years agoFix Svace issues WGID 158459, 158460, 158461 93/102693/2 accepted/tizen/common/20161207.184701 accepted/tizen/ivi/20161208.012348 accepted/tizen/mobile/20161208.012331 accepted/tizen/tv/20161208.012337 accepted/tizen/wearable/20161208.012345 submit/tizen/20161207.113457
Yu Jiung [Tue, 6 Dec 2016 10:14:36 +0000 (19:14 +0900)]
Fix Svace issues WGID 158459, 158460, 158461

Change-Id: Icbe824b55f148e5bf06458e4b48c90b4977b8db3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix Svace issue 150323 06/101806/1
Yu Jiung [Fri, 2 Dec 2016 07:19:27 +0000 (16:19 +0900)]
Fix Svace issue 150323

Change-Id: I7dfd8c5dd79295b73824c00c1d59d000e886c657
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoChange byte order of port number for register and resolve reply function 99/98299/3 accepted/tizen/common/20161125.095636 accepted/tizen/ivi/20161128.000834 accepted/tizen/mobile/20161128.000712 accepted/tizen/tv/20161128.000804 accepted/tizen/wearable/20161128.000818 submit/tizen/20161125.052705
Yu Jiung [Thu, 17 Nov 2016 03:35:25 +0000 (12:35 +0900)]
Change byte order of port number for register and resolve reply function

Description : Register and resolve reply  function use the port number as
"Network Byte Order". For more information about this topic, please find
https://developer.apple.com/reference/dnssd/1804733-dnsserviceregister
https://developer.apple.com/reference/dnssd/dnsserviceresolvereply

Change-Id: Icb0f0746d10adfb3815e794f7921cf7125606c48
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoRemove reference warning 62/89262/1 accepted/tizen/3.0/common/20161114.105258 accepted/tizen/3.0/ivi/20161011.055404 accepted/tizen/3.0/mobile/20161015.033941 accepted/tizen/3.0/tv/20161016.005258 accepted/tizen/3.0/wearable/20161015.083607 accepted/tizen/common/20160928.164132 accepted/tizen/ivi/20160929.081226 accepted/tizen/mobile/20160929.081117 accepted/tizen/tv/20160929.081201 accepted/tizen/wearable/20160929.081036 submit/tizen/20160928.053415 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000005 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004
chleun.moon [Fri, 23 Sep 2016 01:54:46 +0000 (10:54 +0900)]
Remove reference warning

Change-Id: If8409750f105f2e5dd44718e25b584626131c28d
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoAdded license clause to some files 93/88593/1 accepted/tizen/common/20160921.162559 accepted/tizen/ivi/20160922.041851 accepted/tizen/mobile/20160922.045936 accepted/tizen/tv/20160922.041754 accepted/tizen/wearable/20160922.041828 submit/tizen/20160921.025733 submit/tizen/20160921.055232
chleun.moon [Tue, 20 Sep 2016 02:17:25 +0000 (11:17 +0900)]
Added license clause to some files

Change-Id: Ifa32bcb067e82dd33c85049c31dc8ddc65e6c09e
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years ago[NSD] Send dbus unique name in LaunchMdns 93/88293/1
Saurav Babu [Fri, 16 Sep 2016 06:01:12 +0000 (11:31 +0530)]
[NSD] Send dbus unique name in LaunchMdns

This patch removes dbus method UnrefMdns and sends dbus unique name as
parameter in LaunchMdns so that net-config can register NameOwnerChanged
callback for unique name and identify when application exits.

Change-Id: I93827860a89e9e6e99be2b5d9295b642324d6451
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[NSD] No need to process DNSServiceResolve reply if kDNSServiceFlagsMoreComing is set 50/87150/1 accepted/tizen/common/20160907.154216 accepted/tizen/ivi/20160908.003641 accepted/tizen/mobile/20160908.003513 accepted/tizen/tv/20160908.003550 accepted/tizen/wearable/20160908.003615 submit/tizen/20160907.003226 submit/tizen/20160907.012754
Saurav Babu [Tue, 6 Sep 2016 13:23:28 +0000 (18:53 +0530)]
[NSD] No need to process DNSServiceResolve reply if kDNSServiceFlagsMoreComing is set

Change-Id: Ief64422e5bb4a82cddb77f05b17b82b4d691a5c2
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoAdd internal header to devel package 19/86419/1
Yu Jiung [Thu, 1 Sep 2016 06:21:48 +0000 (15:21 +0900)]
Add internal header to devel package

Change-Id: I3e4bbe653c62811b700ce5a0787dfcce84527ebd
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoMerge "Added functions to support using a specific interface for registration and... accepted/tizen/common/20160831.161418 accepted/tizen/ivi/20160831.124354 accepted/tizen/mobile/20160831.124306 accepted/tizen/tv/20160831.124316 accepted/tizen/wearable/20160831.124337 submit/tizen/20160831.004932
chleun.moon [Tue, 30 Aug 2016 10:17:27 +0000 (03:17 -0700)]
Merge "Added functions to support using a specific interface for registration and browsing" into tizen

7 years agoAdded functions to support using a specific interface for registration and browsing 27/85627/1
chleun.moon [Fri, 26 Aug 2016 07:27:02 +0000 (16:27 +0900)]
Added functions to support using a specific interface for registration and browsing

Change-Id: Ie1f5d1cf497f8aff036142a6992af913b4f92d0e
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFixed feature check 49/83949/1 accepted/tizen/common/20160818.144049 accepted/tizen/ivi/20160818.231620 accepted/tizen/mobile/20160818.231603 accepted/tizen/tv/20160818.231612 accepted/tizen/wearable/20160818.231554 submit/tizen/20160818.002458
chleun.moon [Tue, 16 Aug 2016 02:56:29 +0000 (11:56 +0900)]
Fixed feature check

Change-Id: Ic86022a323e6ff507c1eea11036724a53e0827f9
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoRevised to reduce the launch delay of mdnsresponder 60/82160/1 accepted/tizen/common/20160805.125955 accepted/tizen/ivi/20160809.010808 accepted/tizen/mobile/20160809.010714 accepted/tizen/tv/20160809.010726 accepted/tizen/wearable/20160809.010747 submit/tizen/20160805.043523
chleun.moon [Mon, 1 Aug 2016 08:12:13 +0000 (17:12 +0900)]
Revised to reduce the launch delay of mdnsresponder
It causes large delay to check whether the mdnsd is alive or not by
querying the version of mdnsresponder when the mdnsd daemon is not
loaded.

Change-Id: I8c37f4e0bfa05c27698cd0c2399382c9b7054548

8 years agoAdd comments for line coverage 10/78610/1 accepted/tizen/common/20160712.150403 accepted/tizen/ivi/20160711.084615 accepted/tizen/mobile/20160711.084558 accepted/tizen/tv/20160711.084555 accepted/tizen/wearable/20160711.084538 submit/tizen/20160711.045150
chleun.moon [Wed, 6 Jul 2016 08:15:21 +0000 (17:15 +0900)]
Add comments for line coverage

Change-Id: Ie7f3971201fbfb8e35dc2527ee331d29c257c7f9
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoApplied coding rules 50/78550/1 accepted/tizen/common/20160706.142332 accepted/tizen/ivi/20160706.083116 accepted/tizen/mobile/20160706.083044 accepted/tizen/tv/20160706.083013 accepted/tizen/wearable/20160706.083032 submit/tizen/20160706.055116
chleun.moon [Wed, 6 Jul 2016 05:17:20 +0000 (14:17 +0900)]
Applied coding rules

Change-Id: I7a258a4d5c249fe67b336f21c0ec26fc76e99062
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[NSD] Allow application to add/browse multiple TXT Records 44/75544/1 accepted/tizen/common/20160621.184455 accepted/tizen/ivi/20160623.120453 accepted/tizen/mobile/20160623.120354 accepted/tizen/tv/20160623.120412 accepted/tizen/wearable/20160623.120434 submit/tizen/20160621.060739 submit/tizen/20160621.234856
Saurav Babu [Mon, 20 Jun 2016 10:21:19 +0000 (15:51 +0530)]
[NSD] Allow application to add/browse multiple TXT Records

Change-Id: I77e58bf9237ed52f53a410baa094f46f34f2c8c2
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoApply coding rules 07/74407/3 accepted/tizen/common/20160616.151804 accepted/tizen/ivi/20160617.081458 accepted/tizen/mobile/20160617.081146 accepted/tizen/tv/20160617.081234 accepted/tizen/wearable/20160617.081309 submit/tizen/20160615.100519 submit/tizen/20160616.005920
chleun.moon [Tue, 14 Jun 2016 07:05:26 +0000 (16:05 +0900)]
Apply coding rules

Change-Id: I01ef59be6723fcc137a83003e4420901723057b6
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[nsd] Add Asynchronous method to handle mDNSResponder events 49/73549/1 accepted/tizen/common/20160610.182317 accepted/tizen/ivi/20160613.021719 accepted/tizen/mobile/20160613.021659 accepted/tizen/tv/20160613.021715 accepted/tizen/wearable/20160613.021647 submit/tizen/20160610.015106
Saurav Babu [Wed, 8 Jun 2016 12:14:43 +0000 (17:44 +0530)]
[nsd] Add Asynchronous method to handle mDNSResponder events

Change-Id: I7262e3cfd5f340f11d0f5e034ec1a29f5e8fece1
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoMerge "Remove unused build flag & Remove the gcov flag" into tizen accepted/tizen/common/20160603.151059 accepted/tizen/ivi/20160606.040628 accepted/tizen/mobile/20160606.035238 accepted/tizen/tv/20160606.035926 accepted/tizen/wearable/20160606.040126 submit/tizen/20160603.083223
taesub kim [Fri, 3 Jun 2016 08:02:18 +0000 (01:02 -0700)]
Merge "Remove unused build flag & Remove the gcov flag" into tizen

8 years agoRemove unused build flag & Remove the gcov flag 72/71372/6
Yu Jiung [Wed, 25 May 2016 07:03:16 +0000 (16:03 +0900)]
Remove unused build flag & Remove the gcov flag

Change-Id: I51725e80874c2438107b84fbb2078987c9558adf

8 years ago[NSD] Check for DNS Service Flag before calling Browse Service Callback 06/71906/1 accepted/tizen/common/20160602.140306 accepted/tizen/ivi/20160602.231006 accepted/tizen/mobile/20160602.231029 accepted/tizen/tv/20160602.230950 accepted/tizen/wearable/20160602.230943 submit/tizen/20160602.082230
Saurav Babu [Fri, 27 May 2016 11:52:57 +0000 (17:22 +0530)]
[NSD] Check for DNS Service Flag before calling Browse Service Callback

Change-Id: Ifefbbc682dd4f3c359e95351fed454883796257d
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years ago[NSD] No need to notify application if kDNSServiceFlagsMoreComing is set 98/71898/1
Saurav Babu [Fri, 27 May 2016 11:23:22 +0000 (16:53 +0530)]
[NSD] No need to notify application if kDNSServiceFlagsMoreComing is set

Change-Id: Idcc079d1fa17740b5d8bb17d9beac0ed9dbf45b0
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years ago[NSD] Check found handle before calling browse callback 81/71681/1
Saurav Babu [Thu, 26 May 2016 12:03:24 +0000 (17:33 +0530)]
[NSD] Check found handle before calling browse callback

Change-Id: I490f75c50b7f827157c8853c0617f4595adb4b9c
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoPrevent unexpected mdns termination 74/69074/1 accepted/tizen/common/20160512.143754 accepted/tizen/common/20160513.123326 accepted/tizen/ivi/20160513.004551 accepted/tizen/mobile/20160513.004238 accepted/tizen/tv/20160513.004538 accepted/tizen/wearable/20160513.004544 submit/tizen/20160511.111211 submit/tizen/20160512.075241
chleun.moon [Wed, 11 May 2016 10:25:51 +0000 (19:25 +0900)]
Prevent unexpected mdns termination

Change-Id: I7eefd94221d5a2e3d5c432c467ce6781d7a9d57a
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[SVACE] Fixed svace errors 65/68165/1 accepted/tizen/common/20160504.130243 accepted/tizen/ivi/20160504.012625 accepted/tizen/mobile/20160504.012533 accepted/tizen/tv/20160504.012549 accepted/tizen/wearable/20160504.012606 submit/tizen/20160503.120331
chleun.moon [Tue, 3 May 2016 00:52:04 +0000 (09:52 +0900)]
[SVACE] Fixed svace errors

Change-Id: I1b1b1a4d67b2d09a5c0db51c3dbd3eca155cd666
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoFix build error for 64-bit target 69/65069/1 accepted/tizen/common/20160407.133034 accepted/tizen/ivi/20160407.112025 accepted/tizen/mobile/20160407.111937 accepted/tizen/tv/20160407.111951 accepted/tizen/wearable/20160407.112008 submit/tizen/20160407.075511
chleun.moon [Thu, 7 Apr 2016 06:46:40 +0000 (15:46 +0900)]
Fix build error for 64-bit target

Change-Id: Ib7e7edb00e2c719cd338ef2b9aa9ab574826a4ad
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdd logic for on-demand mdnsd daemon 40/65040/2 submit/tizen/20160407.054315
chleun.moon [Thu, 7 Apr 2016 04:41:00 +0000 (13:41 +0900)]
Add logic for on-demand mdnsd daemon

Change-Id: I688c0fb7cd9fdd6e0579daf7f6e4824f64638bb9
Signed-off-by: cheoleun <chleun.moon@samsung.com
8 years agoApplied code conventions 79/64379/2
chleun.moon [Fri, 1 Apr 2016 01:44:44 +0000 (10:44 +0900)]
Applied code conventions

Change-Id: Ic59c8977f353aa3300fccae62bdf26ee088297fd
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdded comments to exclude coverage 73/64373/1
chleun.moon [Fri, 1 Apr 2016 01:04:17 +0000 (10:04 +0900)]
Added comments to exclude coverage

Change-Id: I1e6b0dcd2363fdd31683d56c7b4387cf82c3a66f
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdd resetting g_is_init 35/63835/1 accepted/tizen/common/20160329.050545 accepted/tizen/ivi/20160328.070918 accepted/tizen/mobile/20160328.070825 accepted/tizen/tv/20160328.070846 accepted/tizen/wearable/20160328.070905 submit/tizen/20160328.051732
chleun.moon [Mon, 28 Mar 2016 05:10:22 +0000 (14:10 +0900)]
Add resetting g_is_init

Change-Id: I0fa7023366c1088605d89ebcd72f21fcf147c98b
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoRemove build warnings 40/62240/2
chleun.moon [Tue, 15 Mar 2016 04:37:17 +0000 (13:37 +0900)]
Remove build warnings

Change-Id: I994f127448c3fd1f0dd79f9a7772d8923d4201c5
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoFix misused strtok_r parameter 08/61508/1 accepted/tizen/common/20160311.200923 accepted/tizen/ivi/20160310.054900 accepted/tizen/mobile/20160310.054737 accepted/tizen/tv/20160310.054758 accepted/tizen/wearable/20160310.054822 submit/tizen/20160309.063152
Yu Jiung [Tue, 8 Mar 2016 09:35:29 +0000 (18:35 +0900)]
Fix misused strtok_r parameter

Change-Id: I0fe54e9facc04b9959964450107f0ae8aaa7c78a

8 years agoFix SVace issue 870871 21/61421/1 accepted/tizen/common/20160310.065029 accepted/tizen/ivi/20160308.100524 accepted/tizen/mobile/20160308.100414 accepted/tizen/tv/20160308.100443 accepted/tizen/wearable/20160308.100504 submit/tizen/20160308.010201
Yu Jiung [Mon, 7 Mar 2016 23:37:52 +0000 (08:37 +0900)]
Fix SVace issue 870871

Change-Id: Ib8a542f088df21de02a7db530e7b58737f7a8e08
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoMerge changes Ie48698d1,I330dcb96 into tizen
taesub kim [Mon, 7 Mar 2016 04:23:22 +0000 (20:23 -0800)]
Merge changes Ie48698d1,I330dcb96 into tizen

* changes:
  Fix found_cb call and register error handling
  Fix static analysis tool checker

8 years agoMerge "Add service not found error for dns-sd" into tizen
taesub kim [Mon, 7 Mar 2016 04:22:14 +0000 (20:22 -0800)]
Merge "Add service not found error for dns-sd" into tizen

8 years agoMerge "Fix strcmp error" into tizen
taesub kim [Mon, 7 Mar 2016 04:21:55 +0000 (20:21 -0800)]
Merge "Fix strcmp error" into tizen

8 years agoFix found_cb call and register error handling 46/61146/1
chleun.moon [Fri, 4 Mar 2016 07:43:01 +0000 (16:43 +0900)]
Fix found_cb call and register error handling

Change-Id: Ie48698d14c0f1aa0fa6645dad30e9fd163b7f736
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoFix static analysis tool checker 92/60892/1
Yu Jiung [Thu, 3 Mar 2016 00:51:47 +0000 (09:51 +0900)]
Fix static analysis tool checker

Change-Id: I330dcb962c1ad435fd099abb10edce374e68deb8

8 years agoAdd service not found error for dns-sd 83/60783/1
Yu Jiung [Wed, 2 Mar 2016 07:45:06 +0000 (16:45 +0900)]
Add service not found error for dns-sd

Change-Id: Ib51e18981f526b2085ceb4c7ae70227ed9689809
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years ago[nsd] Fixed memory leak in dns-sd-test application 79/60679/1
Saurav Babu [Tue, 1 Mar 2016 12:01:34 +0000 (17:31 +0530)]
[nsd] Fixed memory leak in dns-sd-test application

This patch fixes memory leak in dnssd_browse_reply() when service_state
is other than DNSSD_SERVICE_STATE_AVAILABLE

Change-Id: I2fcce50ba052608848f9a7583660f5f629a78f33
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoFix strcmp error 22/60022/1
chleun.moon [Mon, 22 Feb 2016 10:11:10 +0000 (19:11 +0900)]
Fix strcmp error

Change-Id: I4d92636e644573ca91b0ff160d1a779d1e30e506
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdd CAPI for ssdp 80/59480/1 accepted/tizen/ivi/20160218.084201 accepted/tizen/mobile/20160218.060059 accepted/tizen/tv/20160218.060122 accepted/tizen/wearable/20160218.060145 submit/tizen/20160218.041451
Yu Jiung [Tue, 16 Feb 2016 02:57:55 +0000 (11:57 +0900)]
Add CAPI for ssdp

Change-Id: Icef10b30f3e36b16f921489e8ab89a56b74cee1b

8 years ago[DNS-SD] Implement Basic DNS SD CAPI 31/58331/3
Saurav Babu [Fri, 29 Jan 2016 10:23:53 +0000 (15:53 +0530)]
[DNS-SD] Implement Basic DNS SD CAPI

Change-Id: Ie7fd341515aeebe62f006fb7212b06f60d5290eb
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years ago[DNS-SD] Added Basic DNS SD CAPI prototypes 36/57036/17
Saurav Babu [Thu, 14 Jan 2016 14:23:18 +0000 (19:53 +0530)]
[DNS-SD] Added Basic DNS SD CAPI prototypes

Change-Id: I1e8acc2b1a97fe06bb7d32b1849491d81af426fa
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoInitial empty repository master
Jinkun Jang [Mon, 21 Dec 2015 01:08:52 +0000 (17:08 -0800)]
Initial empty repository