aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/devicestate.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-17 15:41:55 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-17 15:41:55 +0000
commit76bd457fcd1744499e2185919ac9dc915e131e2f (patch)
treef9fd3105f5cc9a16da23695ab3828ff1527d95fb /include/asterisk/devicestate.h
parentc28828ebddf2d472ed379a164fd9e244fcb97e69 (diff)
Handle device state changes properly when formatting characters are present (bug #5450, new patch)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6806 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/devicestate.h')
-rwxr-xr-xinclude/asterisk/devicestate.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/devicestate.h b/include/asterisk/devicestate.h
index 687e6819f..ec8c6620b 100755
--- a/include/asterisk/devicestate.h
+++ b/include/asterisk/devicestate.h
@@ -79,6 +79,16 @@ int ast_device_state(const char *device);
int ast_device_state_changed(const char *fmt, ...)
__attribute__ ((format (printf, 1, 2)));
+
+/*! Tells Asterisk the State for Device is changed */
+/*!
+ * \param device devicename like a dialstrin
+ * Asterisk polls the new extensionstates and calls the registered
+ * callbacks for the changed extensions
+ * Returns 0 on success, -1 on failure
+ */
+int ast_device_state_changed_literal(const char *device);
+
/*! Registers a device state change callback */
/*!
* \param data to pass to callback