[Asterisk-cvs] asterisk/include/asterisk ast_expr.h,1.1,1.2

kpfleming kpfleming
Mon Aug 29 18:02:18 CDT 2005


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

Modified Files:
	ast_expr.h 
Log Message:
don't make expression evaluator allocate a memory buffer for each result 
to 
be returned; use the buffers already present in the PBX for this purpose
update testexpr2/check_expr to allocate buffers for expression 
evaluation


Index: ast_expr.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/ast_expr.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ast_expr.h	26 Jul 2002 15:44:05 -0000	1.1
+++ ast_expr.h	29 Aug 2005 22:03:37 -0000	1.2
@@ -1 +1,25 @@
-extern char *ast_expr (char *arg);
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
+ * Copyright (C) 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster at digium.com>
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2
+ */
+
+#ifndef _ASTERISK_EXPR_H
+#define _ASTERISK_EXPR_H
+
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
+
+int ast_expr(char *expr, char *buf, int length);
+
+#if defined(__cplusplus) || defined(c_plusplus)
+}
+#endif
+
+#endif /* _ASTERISK_EXPR_H */




More information about the svn-commits mailing list