Browse code

Kamailio compatiblity changes: REPLACE_BUFFER_SIZE

* Move the definition of MAX_REPLACE_WITH to the beginning of the file
* Add the macro configuring default size of static buffer
REPLACE_BUFFER_SIZE

Jan Janak authored on 08/03/2009 03:17:54
Showing 1 changed files
... ...
@@ -40,7 +40,8 @@
40 40
 
41 41
 #include <string.h>
42 42
 
43
-
43
+#define MAX_REPLACE_WITH 100
44
+#define REPLACE_BUFFER_SIZE 1024
44 45
 
45 46
 void subst_expr_free(struct subst_expr* se)
46 47
 {