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
d375ab41
Commit
d375ab41
authored
Mar 22, 2012
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
sipvoiplink: functions need not be static if they are in an anonymous namespace
parent
8d2ccf70
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/sipvoiplink.cpp
+11
-13
11 additions, 13 deletions
daemon/src/sip/sipvoiplink.cpp
daemon/src/sip/sipvoiplink.h
+0
-5
0 additions, 5 deletions
daemon/src/sip/sipvoiplink.h
with
11 additions
and
18 deletions
daemon/src/sip/sipvoiplink.cpp
+
11
−
13
View file @
d375ab41
...
@@ -88,7 +88,7 @@ static std::map<std::string, std::string> transferCallID;
...
@@ -88,7 +88,7 @@ static std::map<std::string, std::string> transferCallID;
* localport, localip, localexternalport
* localport, localip, localexternalport
* @param call a SIPCall valid pointer
* @param call a SIPCall valid pointer
*/
*/
static
void
setCallMediaLocal
(
SIPCall
*
call
,
const
std
::
string
&
localIP
);
void
setCallMediaLocal
(
SIPCall
*
call
,
const
std
::
string
&
localIP
);
/**
/**
* Helper function to parser header from incoming sip messages
* Helper function to parser header from incoming sip messages
...
@@ -101,17 +101,17 @@ static pjsip_endpoint *endpt_;
...
@@ -101,17 +101,17 @@ static pjsip_endpoint *endpt_;
static
pjsip_module
mod_ua_
;
static
pjsip_module
mod_ua_
;
static
pj_thread_t
*
thread
;
static
pj_thread_t
*
thread
;
static
void
sdp_media_update_cb
(
pjsip_inv_session
*
inv
,
pj_status_t
status
UNUSED
);
void
sdp_media_update_cb
(
pjsip_inv_session
*
inv
,
pj_status_t
status
UNUSED
);
static
void
sdp_request_offer_cb
(
pjsip_inv_session
*
inv
,
const
pjmedia_sdp_session
*
offer
);
void
sdp_request_offer_cb
(
pjsip_inv_session
*
inv
,
const
pjmedia_sdp_session
*
offer
);
static
void
sdp_create_offer_cb
(
pjsip_inv_session
*
inv
,
pjmedia_sdp_session
**
p_offer
);
void
sdp_create_offer_cb
(
pjsip_inv_session
*
inv
,
pjmedia_sdp_session
**
p_offer
);
static
void
invite_session_state_changed_cb
(
pjsip_inv_session
*
inv
,
pjsip_event
*
e
);
void
invite_session_state_changed_cb
(
pjsip_inv_session
*
inv
,
pjsip_event
*
e
);
static
void
outgoing_request_forked_cb
(
pjsip_inv_session
*
inv
,
pjsip_event
*
e
);
void
outgoing_request_forked_cb
(
pjsip_inv_session
*
inv
,
pjsip_event
*
e
);
static
void
transaction_state_changed_cb
(
pjsip_inv_session
*
inv
,
pjsip_transaction
*
tsx
,
pjsip_event
*
e
);
void
transaction_state_changed_cb
(
pjsip_inv_session
*
inv
,
pjsip_transaction
*
tsx
,
pjsip_event
*
e
);
static
void
registration_cb
(
pjsip_regc_cbparam
*
param
);
void
registration_cb
(
pjsip_regc_cbparam
*
param
);
static
pj_bool_t
transaction_request_cb
(
pjsip_rx_data
*
rdata
);
pj_bool_t
transaction_request_cb
(
pjsip_rx_data
*
rdata
);
static
pj_bool_t
transaction_response_cb
(
pjsip_rx_data
*
rdata
UNUSED
)
;
pj_bool_t
transaction_response_cb
(
pjsip_rx_data
*
rdata
UNUSED
)
;
static
void
transfer_client_cb
(
pjsip_evsub
*
sub
,
pjsip_event
*
event
);
void
transfer_client_cb
(
pjsip_evsub
*
sub
,
pjsip_event
*
event
);
/**
/**
* Send a reINVITE inside an active dialog to modify its state
* Send a reINVITE inside an active dialog to modify its state
...
@@ -533,8 +533,6 @@ SIPVoIPLink* SIPVoIPLink::instance()
...
@@ -533,8 +533,6 @@ SIPVoIPLink* SIPVoIPLink::instance()
void
SIPVoIPLink
::
init
()
{}
void
SIPVoIPLink
::
init
()
{}
void
SIPVoIPLink
::
terminate
()
{}
void
void
SIPVoIPLink
::
getEvent
()
SIPVoIPLink
::
getEvent
()
{
{
...
...
...
...
This diff is collapsed.
Click to expand it.
daemon/src/sip/sipvoiplink.h
+
0
−
5
View file @
d375ab41
...
@@ -75,11 +75,6 @@ class SIPVoIPLink : public VoIPLink {
...
@@ -75,11 +75,6 @@ class SIPVoIPLink : public VoIPLink {
*/
*/
virtual
void
init
();
virtual
void
init
();
/**
* Shut the library and clean up
*/
virtual
void
terminate
();
/**
/**
* Event listener. Each event send by the call manager is received and handled from here
* Event listener. Each event send by the call manager is received and handled from here
*/
*/
...
...
...
...
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
sign in
to comment