Index: octstr.h
===================================================================
RCS file: /home/cvs/gateway/gwlib/octstr.h,v
retrieving revision 1.87
diff -u -r1.87 octstr.h
--- octstr.h	11 Feb 2005 15:35:48 -0000	1.87
+++ octstr.h	25 Feb 2005 00:10:03 -0000
@@ -333,6 +333,11 @@
  */
 int octstr_str_compare(const Octstr *ostr1, const char *str);
 
+/*
+ * Same as octstr_compare, but compares the content of the octet string to 
+ * a C string without case sensitivity.
+ */
+int octstr_case_str_compare(const Octstr *os1, const char*str);
 
 /*
  * Same as octstr_str_compare, but comparing is done only up to n bytes.
@@ -723,4 +728,7 @@
  */
 void octstr_convert_from_html_entities(Octstr* input);
 
+#define OctStrCreate(s) s ? octstr_create(s) : octstr_create("")
+#define STRLEN(s) ((s) ? strlen(s) : 0)
+
 #endif
