[Asterisk-cvs] asterisk/include/asterisk devicestate.h,1.3,1.4

markster markster
Mon Oct 17 11:47:55 CDT 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv31029/include/asterisk

Modified Files:
	devicestate.h 
Log Message:
Handle device state changes properly when formatting characters are present (bug #5450, new patch)


Index: devicestate.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/devicestate.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- devicestate.h	30 Aug 2005 18:32:09 -0000	1.3
+++ devicestate.h	17 Oct 2005 15:41:55 -0000	1.4
@@ -79,6 +79,16 @@
 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




More information about the svn-commits mailing list