summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-10 08:58:01 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-10 08:58:01 +0100
commit191c95c1c2e747fb3279a03326e7ca3d7c13df05 (patch)
tree15744fc993096cefafb26fc60d4b22771a2629b4 /src/util.h
parent0a4c488712152d299fe05c3ae19e3ecde5cb68ff (diff)
downloadcmumble-191c95c1c2e747fb3279a03326e7ca3d7c13df05.tar.gz
cmumble-191c95c1c2e747fb3279a03326e7ca3d7c13df05.tar.bz2
cmumble-191c95c1c2e747fb3279a03326e7ca3d7c13df05.zip
s/ctx/cm/g; s/struct cmumble_context/struct cmumlbe/g
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util.h b/src/util.h
index dc27dd0..ec180be 100644
--- a/src/util.h
+++ b/src/util.h
@@ -8,17 +8,17 @@ gpointer
cmumble_find_by_id(GList *list, gsize member_offset, guint id);
static inline struct cmumble_user *
-find_user(struct cmumble_context *ctx, uint32_t session_id)
+find_user(struct cmumlbe *cm, uint32_t session_id)
{
- return cmumble_find_by_id(ctx->users,
+ return cmumble_find_by_id(cm->users,
G_STRUCT_OFFSET(struct cmumble_user, session),
session_id);
}
static inline struct cmumble_channel *
-find_channel(struct cmumble_context *ctx, guint channel_id)
+find_channel(struct cmumlbe *cm, guint channel_id)
{
- return cmumble_find_by_id(ctx->channels,
+ return cmumble_find_by_id(cm->channels,
G_STRUCT_OFFSET(struct cmumble_channel, id),
channel_id);
}