Hi list,

attached patches adds list copatible octstr compare functions without case 
sensitivity...

Comments?

P.S. patches made not against cvs but should be cleanly applied

-- 
Best Regards / Mit besten Gr��en aus K�ln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 K�ln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: [EMAIL PROTECTED]
web: http://www.centrium.de
msn: [EMAIL PROTECTED]
--- /home/alex/projekte/work/kannel/gateway/gwlib/octstr.c	2003-03-07 00:17:51.000000000 +0100
+++ gwlib/octstr.c	2003-03-08 18:36:35.000000000 +0100
@@ -1397,6 +1397,10 @@
     return octstr_compare(item, pattern) == 0;
 }
 
+int octstr_item_case_match(void *item, void *pattern)
+{
+    return octstr_case_compare(item, pattern) == 0;
+}
 
 void octstr_dump(Octstr *ostr, int level)
 {
--- /home/alex/projekte/work/kannel/gateway/gwlib/octstr.h	2003-03-07 00:17:51.000000000 +0100
+++ gwlib/octstr.h	2003-03-08 18:36:36.000000000 +0100
@@ -438,6 +438,10 @@
  */
 int octstr_item_match(void *item, void *pattern);
 
+/*
+ * as above , except compares bytes without case sensitivity
+ */
+int octstr_item_case_match(void *item, void *pattern);
 
 /*
  * Print debugging information about octet string.

Attachment: smime.p7s
Description: signature

Reply via email to