Skip to content

Commit 4921b4b

Browse files
committed
remove dead code
There are there functions declared but not implemented: pjsip_endpt_find_tsx() pjsip_endpt_register_tsx() pjsip_endpt_destroy_tsx()
1 parent f94b18e commit 4921b4b

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

pjsip/include/pjsip/sip_endpoint.h

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -352,39 +352,6 @@ PJ_DECL(pj_pool_t*) pjsip_endpt_create_pool( pjsip_endpoint *endpt,
352352
PJ_DECL(void) pjsip_endpt_release_pool( pjsip_endpoint *endpt,
353353
pj_pool_t *pool );
354354

355-
/**
356-
* Find transaction in endpoint's transaction table by the transaction's key.
357-
* This function normally is only used by modules. The key for a transaction
358-
* can be created by calling #pjsip_tsx_create_key.
359-
*
360-
* @param endpt The endpoint instance.
361-
* @param key Transaction key, as created with #pjsip_tsx_create_key.
362-
*
363-
* @return The transaction, or NULL if it's not found.
364-
*/
365-
PJ_DECL(pjsip_transaction*) pjsip_endpt_find_tsx( pjsip_endpoint *endpt,
366-
const pj_str_t *key );
367-
368-
/**
369-
* Register the transaction to the endpoint's transaction table.
370-
* This function should only be used internally by the stack.
371-
*
372-
* @param endpt The SIP endpoint.
373-
* @param tsx The transaction.
374-
*/
375-
PJ_DECL(void) pjsip_endpt_register_tsx( pjsip_endpoint *endpt,
376-
pjsip_transaction *tsx);
377-
378-
/**
379-
* Forcefull destroy the transaction. This function should only be used
380-
* internally by the stack.
381-
*
382-
* @param endpt The endpoint.
383-
* @param tsx The transaction to destroy.
384-
*/
385-
PJ_DECL(void) pjsip_endpt_destroy_tsx( pjsip_endpoint *endpt,
386-
pjsip_transaction *tsx);
387-
388355
/**
389356
* Create a new transmit data buffer.
390357
* This function, like all other endpoint functions, is thread safe.

0 commit comments

Comments
 (0)