summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jingle/libjingle/talk/third_party/ortp/sessionset.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit2bc1d72869b62af05ae4feafd878203b526da8c5 (patch)
tree2676903bb600bd9646644856e354940471ad84e2 /kopete/protocols/jabber/jingle/libjingle/talk/third_party/ortp/sessionset.c
parent937b2991d8e78166eea904c80ad04d34607017a4 (diff)
downloadtdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz
tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/jabber/jingle/libjingle/talk/third_party/ortp/sessionset.c')
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/third_party/ortp/sessionset.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/ortp/sessionset.c b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/ortp/sessionset.c
index 36856a99..7b5ad921 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/ortp/sessionset.c
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/ortp/sessionset.c
@@ -60,27 +60,27 @@ void session_set_destroy(SessionSet *set)
gint session_set_and(SessionSet *sched_set, gint maxs, SessionSet *user_set, SessionSet *result_set)
{
- guint32 *tqmask1,*tqmask2,*tqmask3;
+ guint32 *mask1,*mask2,*mask3;
gint i=0;
gint j,ret=0;
- tqmask1=(guint32*)&sched_set->rtpset;
- tqmask2=(guint32*)&user_set->rtpset;
- tqmask3=(guint32*)&result_set->rtpset;
+ mask1=(guint32*)&sched_set->rtpset;
+ mask2=(guint32*)&user_set->rtpset;
+ mask3=(guint32*)&result_set->rtpset;
while(i<maxs+1){
- *tqmask3=(*tqmask1) & (*tqmask2); /* computes the AND between the two masks*/
+ *mask3=(*mask1) & (*mask2); /* computes the AND between the two masks*/
/* and unset the sessions that have been found from the sched_set */
- *tqmask1=(*tqmask1) & (~(*tqmask3));
- if ((*tqmask3)!=0){
+ *mask1=(*mask1) & (~(*mask3));
+ if ((*mask3)!=0){
for (j=0;j<32;j++){
- if ( ((*tqmask3)>>j) & 1){
+ if ( ((*mask3)>>j) & 1){
ret++;
}
}
}
i+=32;
- tqmask1++;
- tqmask2++;
- tqmask3++;
+ mask1++;
+ mask2++;
+ mask3++;
}
//printf("session_set_and: ret=%i\n",ret);
return ret;
@@ -120,8 +120,8 @@ int session_set_select(SessionSet *recvs, SessionSet *sends, SessionSet *errors)
rtp_scheduler_lock(sched);
while(1){
- /* computes the SessionSet intersection (in the other words tqmask intersection) between
- the tqmask given by the user and scheduler masks */
+ /* computes the SessionSet intersection (in the other words mask intersection) between
+ the mask given by the user and scheduler masks */
if (recvs!=NULL){
bits=session_set_and(&sched->r_sessions,sched->all_max,recvs,&temp);
if (bits>0){