summaryrefslogtreecommitdiffstats
path: root/src/device_link_service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_link_service.c')
-rw-r--r--src/device_link_service.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/device_link_service.c b/src/device_link_service.c
index e9ca5f6..007223e 100644
--- a/src/device_link_service.c
+++ b/src/device_link_service.c
@@ -1,22 +1,22 @@
1 /* 1/*
2 * device_link_service.c 2 * device_link_service.c
3 * DeviceLink service implementation. 3 * DeviceLink service implementation.
4 * 4 *
5 * Copyright (c) 2010 Nikias Bassen, All Rights Reserved. 5 * Copyright (c) 2010 Nikias Bassen, All Rights Reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version. 10 * version 2.1 of the License, or (at your option) any later version.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details. 15 * Lesser General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software 18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21#include <string.h> 21#include <string.h>
22#include <stdlib.h> 22#include <stdlib.h>
@@ -149,7 +149,7 @@ device_link_service_error_t device_link_service_version_exchange(device_link_ser
149{ 149{
150 if (!client) 150 if (!client)
151 return DEVICE_LINK_SERVICE_E_INVALID_ARG; 151 return DEVICE_LINK_SERVICE_E_INVALID_ARG;
152 152
153 device_link_service_error_t err = DEVICE_LINK_SERVICE_E_UNKNOWN_ERROR; 153 device_link_service_error_t err = DEVICE_LINK_SERVICE_E_UNKNOWN_ERROR;
154 154
155 /* perform version exchange */ 155 /* perform version exchange */
@@ -240,7 +240,7 @@ leave:
240 * 240 *
241 * @param client The device link service client to disconnect. 241 * @param client The device link service client to disconnect.
242 * @param message Optional message to send send to the device or NULL. 242 * @param message Optional message to send send to the device or NULL.
243 * 243 *
244 * @return DEVICE_LINK_SERVICE_E_SUCCESS on success, 244 * @return DEVICE_LINK_SERVICE_E_SUCCESS on success,
245 * DEVICE_LINK_SERVICE_E_INVALID_ARG if client is NULL, 245 * DEVICE_LINK_SERVICE_E_INVALID_ARG if client is NULL,
246 * or DEVICE_LINK_SERVICE_E_MUX_ERROR when there's an error when sending 246 * or DEVICE_LINK_SERVICE_E_MUX_ERROR when there's an error when sending