- * Description : Compare domain names.
- * domaincmp("a.b.c", "a.b.c") => 0 (MATCH)
- * domaincmp("a*.b.c", "a.b.c") => 0 (MATCH)
- * domaincmp("a*.b.c", "abc.b.c") => 0 (MATCH)
- * domaincmp("a*c.b.c","abbc.b.c") => 0 (MATCH)
- * domaincmp("*a.b.c", "dabc.b.c") => 0 (MATCH)
- * domaincmp("b.c" , "a.b.c") => 0 (MATCH)
- * domaincmp("a.b" , "a.b.c") => 1 (DIFF)
- * domaincmp("a.b." , "a.b.c") => 0 (MATCH)
- * domaincmp("" , "a.b.c") => 0 (MATCH)
- *
- * FIXME: I need a definition!
+ * Description : Domain-wise Compare fqdn's. Governed by the bimap in
+ * pattern->unachored, the comparison is un-, left-,
+ * right-anchored, or both.
+ * The individual domain names are compared with
+ * trivialmatch().