aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-08 16:41:35 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-08 16:41:35 +0000
commita4e5260e905791608bec4fecd32d933c4ee2c52d (patch)
treed93cd3a4f30307efaec9d01dda56befb27eb2dd4 /include
parentc4452e1d94008b0ddfad9bce8236eadaf20bfaaa (diff)
I noted this on the dev list but got no response, so I just did it myself.
Lock the call features when being used in chan_sip. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63447 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/features.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/features.h b/include/asterisk/features.h
index 2174e99e1..1a5d760f3 100644
--- a/include/asterisk/features.h
+++ b/include/asterisk/features.h
@@ -96,6 +96,9 @@ void ast_unregister_feature(struct ast_call_feature *feature);
/*! \brief look for a call feature entry by its sname
\param name a string ptr, should match "automon", "blindxfer", "atxfer", etc. */
-struct ast_call_feature *ast_find_call_feature(char *name);
+struct ast_call_feature *ast_find_call_feature(const char *name);
+
+void ast_rdlock_call_features(void);
+void ast_unlock_call_features(void);
#endif /* _AST_FEATURES_H */