removed some useless spaces; not very important, I know :)
[senf.git] / Socket / Protocols / INet / INet6Address.ih
index 782880d..2f4cbe2 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -182,12 +182,18 @@ namespace detail {
         : public CheckINet6Network_impl2<a0,0,0,0,0,0,0,0,a1>
     {};
 
-    template <boost::uint64_t net, boost::uint64_t id, unsigned bits, unsigned bytes>
-    struct IsINet6Network_impl
-    {};
-
 #   endif
 
+    boost::uint8_t low_bits_mask(unsigned bits);
+
+    template <class ForwardIterator, class Function>
+    void apply_mask(unsigned bits, ForwardIterator b, ForwardIterator e, Function fn);
+
+    template <class ForwardIterator1, class ForwardIterator2, class Function>
+    ForwardIterator1 find_if_mask(unsigned bits, 
+                                  ForwardIterator1 b1, ForwardIterator1 e1, ForwardIterator2 b2,
+                                  Function fn);
+
 }}
 
 ///////////////////////////////ih.e////////////////////////////////////////