summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2012-10-19 17:39:19 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-25 13:34:23 +0300
commit3a4473bbae884f915ab8adc8f0fdd43df93db42e (patch)
tree35e6eb820946c7606baffa7bdc9aa98b0ed039da
parent1541c28068b6daa097b56e0845ad0b410e80e81d (diff)
network: Trivial function rename
Avoid the connection_ prefix for local functions implementing the D-Bus API.
-rw-r--r--profiles/network/connection.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/profiles/network/connection.c b/profiles/network/connection.c
index 8564bca1..afa8a6be 100644
--- a/profiles/network/connection.c
+++ b/profiles/network/connection.c
@@ -397,7 +397,7 @@ failed:
}
/* Connect and initiate BNEP session */
-static DBusMessage *connection_connect(DBusConnection *conn,
+static DBusMessage *local_connect(DBusConnection *conn,
DBusMessage *msg, void *data)
{
struct network_peer *peer = data;
@@ -465,7 +465,7 @@ static DBusMessage *connection_cancel(DBusConnection *conn,
return g_dbus_create_reply(msg, DBUS_TYPE_INVALID);
}
-static DBusMessage *connection_disconnect(DBusConnection *conn,
+static DBusMessage *local_disconnect(DBusConnection *conn,
DBusMessage *msg, void *data)
{
struct network_peer *peer = data;
@@ -483,7 +483,7 @@ static DBusMessage *connection_disconnect(DBusConnection *conn,
return btd_error_not_connected(msg);
}
-static DBusMessage *connection_get_properties(DBusConnection *conn,
+static DBusMessage *local_get_properties(DBusConnection *conn,
DBusMessage *msg, void *data)
{
struct network_peer *peer = data;
@@ -568,12 +568,12 @@ static const GDBusMethodTable connection_methods[] = {
{ GDBUS_ASYNC_METHOD("Connect",
GDBUS_ARGS({"uuid", "s"}),
GDBUS_ARGS({"interface", "s"}),
- connection_connect) },
+ local_connect) },
{ GDBUS_METHOD("Disconnect",
- NULL, NULL, connection_disconnect) },
+ NULL, NULL, local_disconnect) },
{ GDBUS_METHOD("GetProperties",
NULL, GDBUS_ARGS({ "properties", "a{sv}" }),
- connection_get_properties) },
+ local_get_properties) },
{ }
};