Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
23d95cfe
Commit
23d95cfe
authored
11 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #29736: presence: removed dead code
parent
a532ebbe
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/src/sip/sippresence.cpp
+0
-17
0 additions, 17 deletions
daemon/src/sip/sippresence.cpp
daemon/src/sip/sippresence.h
+0
-5
0 additions, 5 deletions
daemon/src/sip/sippresence.h
with
0 additions
and
22 deletions
daemon/src/sip/sippresence.cpp
+
0
−
17
View file @
23d95cfe
...
@@ -222,7 +222,6 @@ void SIPPresence::notifyPresSubServer() {
...
@@ -222,7 +222,6 @@ void SIPPresence::notifyPresSubServer() {
s
->
notify
();
s
->
notify
();
}
}
void
SIPPresence
::
lock
()
void
SIPPresence
::
lock
()
{
{
pj_mutex_lock
(
mutex_
);
pj_mutex_lock
(
mutex_
);
...
@@ -237,22 +236,6 @@ void SIPPresence::unlock()
...
@@ -237,22 +236,6 @@ void SIPPresence::unlock()
pj_mutex_unlock
(
mutex_
);
pj_mutex_unlock
(
mutex_
);
}
}
bool
SIPPresence
::
tryLock
()
{
pj_status_t
status
;
status
=
pj_mutex_trylock
(
mutex_
);
if
(
status
==
PJ_SUCCESS
)
{
mutex_owner_
=
pj_thread_this
();
++
mutex_nesting_level_
;
}
return
status
;
}
bool
SIPPresence
::
isLocked
()
{
return
mutex_owner_
==
pj_thread_this
();
}
void
SIPPresence
::
fillDoc
(
pjsip_tx_data
*
tdata
,
const
pres_msg_data
*
msg_data
)
void
SIPPresence
::
fillDoc
(
pjsip_tx_data
*
tdata
,
const
pres_msg_data
*
msg_data
)
{
{
...
...
This diff is collapsed.
Click to expand it.
daemon/src/sip/sippresence.h
+
0
−
5
View file @
23d95cfe
...
@@ -209,13 +209,8 @@ public:
...
@@ -209,13 +209,8 @@ public:
return
pres_sub_client_list_
;
return
pres_sub_client_list_
;
}
}
/**
* Lock methods
*/
void
lock
();
void
lock
();
void
unlock
();
void
unlock
();
bool
tryLock
();
bool
isLocked
();
pjsip_pres_status
pres_status_data
;
/**< Presence Data.*/
pjsip_pres_status
pres_status_data
;
/**< Presence Data.*/
pjsip_publishc
*
publish_sess
;
/**< Client publication session.*/
pjsip_publishc
*
publish_sess
;
/**< Client publication session.*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment