[Asterisk-cvs] asterisk/include/asterisk config.h,1.7,1.7.2.1
citats at lists.digium.com
citats at lists.digium.com
Tue Mar 2 03:08:03 CST 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv15354/include/asterisk
Modified Files:
Tag: v1-0_stable
config.h
Log Message:
Add function ast_false, like ast_true
Index: config.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/config.h,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- config.h 25 Apr 2003 20:33:27 -0000 1.7
+++ config.h 2 Mar 2004 07:58:29 -0000 1.7.2.1
@@ -87,6 +87,14 @@
*/
int ast_true(char *val);
+//! Make sure something is false
+/*!
+ * Determine falseness of a boolean value.
+ * This function checks to see whether a string passed to it is an indication of a negatirve value. It checks to see if the string is "no", "false", "n", "f", and "0".
+ * Returns 0 if the value of s is a NULL pointer, 0 on "truth", and -1 on falsehood.
+ */
+int ast_false(char *val);
+
//! Check for category duplicates
/*!
* \param config which config to use
More information about the svn-commits
mailing list