Luiz Augusto von Dentz
5a30030a32
Make use of g_slist_free_full on network plugin
2011-06-30 12:32:23 +03:00
Szymon Janc
a834df8c7d
Report error from ioctl in bnep_if_down
...
Make bnep_if_down report error from ioctl similar to bnep_if_up.
2011-05-15 01:47:12 +03:00
Szymon Janc
24c6dee3b3
Remove redundant local copy of GSlist* from functions
...
Those functions already get copy of pointer to list so local copy is
not needed.
2011-05-15 01:47:05 +03:00
Lukasz Rymanowski
a709b2119b
network: Fix for TP_BNEP_CTRL_BV_01_C qualification test
...
With this fix network plugin will correctly respond on unknown
BNEP control command.
2011-03-14 17:10:38 +02:00
Luiz Augusto von Dentz
a0d572c600
Fix use of deprecated glib on network plugin
2011-01-19 13:54:17 +02:00
Gustavo F. Padovan
2a9d1e7357
network: use btd_error_failed()
2010-12-14 10:31:18 +02:00
Gustavo F. Padovan
0d39f2db3c
Add btd_error_already_connected()
2010-12-08 22:54:58 +02:00
Gustavo F. Padovan
d1bc7a947c
convert error to btd_error_not_supported()
2010-12-08 22:54:56 +02:00
Gustavo F. Padovan
57c9bf4d91
convert error to btd_error_not_connected()
2010-12-08 22:54:53 +02:00
Gustavo F. Padovan
09be5d6efa
convert errors to btd_error_not_authorized()
2010-12-08 22:54:45 +02:00
Gustavo F. Padovan
73774f1b25
Add btd_error_already_exists()
2010-12-07 22:59:28 +02:00
Gustavo F. Padovan
696c18c48f
Create btd_error_invalid_args()
...
DBus error handling in BlueZ is a mess. This is the first patch to unify
all DBus error handling like in ConnMan and oFono. This unifies all
.InvalidArguments errors.
2010-12-07 22:58:32 +02:00
Johan Hedberg
20ccc578c8
Remove unused includes
2010-11-28 13:41:35 +02:00
Johan Hedberg
da446f5edd
Fix format string warnings for g_dbus_create_error
...
This patch fixes gcc warnings for "format not a string literal and no
format arguments".
2010-08-19 23:24:42 +03:00
Marcel Holtmann
73dadb5311
Refuse connections if no NAP server is registered
2010-07-13 11:21:26 -03:00
Marcel Holtmann
e85f7a782b
Handle network server application disconnects
2010-07-13 10:50:18 -03:00
Marcel Holtmann
bba79d2da1
Use "Network service" for network SDP record description
2010-07-13 10:40:55 -03:00
Marcel Holtmann
4c421dbfdb
Add support for starting/stopping network NAP server
2010-07-13 10:30:36 -03:00
Marcel Holtmann
d078b85e57
Remove last crufts of overbloated network configuration
2010-07-13 09:57:25 -03:00
Marcel Holtmann
48349b6430
Remove unused network configuration disable checking
2010-07-13 09:54:50 -03:00
Marcel Holtmann
d1aee812cd
Don't show an error if network.conf is not available
2010-07-13 00:00:44 -03:00
Marcel Holtmann
1321287be7
Provide only new network server D-Bus API
2010-07-12 23:56:49 -03:00
Marcel Holtmann
7b669f5cf5
Remove unused options from network example configuration
2010-07-12 23:46:49 -03:00
Marcel Holtmann
8311b1dfc8
Remove some outdated server code from network plugin
2010-07-12 23:46:09 -03:00
Luiz Augusto von Dentz
0f775bfff6
Remove redundant information that is already present in DBG
2010-06-29 10:29:10 +03:00
Gustavo F. Padovan
8e58667ef0
Move debug() to DBG()
...
Use the new dynamic debug feature
2010-05-21 18:21:48 +02:00
Gustavo F. Padovan
e891f7df62
Move logging.{c,h} to log.{c,h}
...
Try to make log stuff more similar to ConnMan and oFono.
2010-05-21 14:40:36 +02:00
Marcel Holtmann
5581e8d5b4
Rename network "Device" to "Interface"
2010-02-02 10:20:59 -08:00
Marcel Holtmann
9184e2eeb7
Update copyright information
2010-01-01 17:08:17 -08:00
Marcel Holtmann
a5b1e3d02c
Switch to a full non-recursive build system
2009-08-23 00:40:59 -07:00
Marcel Holtmann
f5f61c23d7
Make all major plugins builtin to simplify debugging
2009-08-09 14:35:39 -07:00
Luiz Augusto von Dentz
62d9b9ac1b
Make network plugin to use adapter references.
2009-05-27 11:25:25 -03:00
Luiz Augusto von Dentz
c4f3b52e2f
Fix bug which cause disconnect watches to run on freed data.
...
Watches were not being removed when the pointer passed as user_data is freed.
2009-05-04 10:16:46 -03:00
Johan Hedberg
a746025869
Fix address variable type
2009-05-02 23:32:07 +03:00
Luiz Augusto von Dentz
a381d5342d
Make disconnect watch callback to take removal flag.
...
This should make watches aware of a force disconnection for permanent device
removal making possible to remove any persistent data associate with the
device.
2009-04-27 10:43:29 -03:00
Luiz Augusto von Dentz
3bcd43d2d3
Make network plugin to use disconnect watches.
2009-04-22 15:41:59 -03:00
Alok Barsode
e050cc3d14
Using # operator to stringify plugin name.
2009-04-21 13:25:35 +01:00
Alok Barsode
2f28c39a63
Add priority field to plugin descriptor definition and load plugins in priority order.
2009-04-21 13:23:51 +01:00
Johan Hedberg
8e706e2d4f
Convert some not-so-important info logs to debug logs
2009-03-24 12:31:10 +02:00
Alok Barsode
bf6a4a5774
Adding version check for plugins.
2009-03-14 07:11:47 +01:00
Marcel Holtmann
92bd92f851
Use GCC visibility for exporting symbols
2009-03-11 12:02:00 +01:00
Luiz Augusto von Dentz
88b59d5500
Fix network regression which caused disconnections.
2009-03-12 11:55:16 -03:00
Luiz Augusto von Dentz
c4c03a457d
Make use of AF_INET instead of AF_INET6.
2009-03-10 20:16:16 -03:00
Johan Hedberg
1c195ab280
Fix strncpy length parameters to avoid non-nul-terminated strings
2009-02-25 17:48:40 +02:00
Johan Hedberg
d7aa6d1b2d
Use safer strncpy instead of strcpy
2009-02-25 17:34:16 +02:00
Johan Hedberg
1d5d3e7b16
Fix leaked sdp_record_t
2009-02-24 19:45:37 +02:00
Luiz Augusto von Dentz
231ba99b01
Convert Network plugin to use confirm callback.
2009-02-23 11:23:15 +02:00
Luiz Augusto von Dentz
10d6858927
Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.
2009-02-19 16:23:10 -03:00
Luiz Augusto von Dentz
2ecef94bcd
Make network plugin to use BtIO API.
2009-02-19 13:41:44 +02:00
Marcel Holtmann
9c0b5859e6
Fix mostly every warning caused by -Wsign-compare
2009-01-29 17:58:28 +01:00