Added quantiling UDAFs
[com/gs-lite.git] / include / filter.h
index 9fe1141..0162d2c 100644 (file)
@@ -1,46 +1,46 @@
-/* ------------------------------------------------
-Copyright 2014 AT&T Intellectual Property
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
- ------------------------------------------- */
-
-/*
- * filter.h: hash table function which match the interface
- */
-#ifndef FILTER_H
-#define FILTER_H
-
-/* FILTER FUNCTIONS */
-/* ===============  */
-
-/* The following functions are used to manage filter sets for flow
-   and connection filters
-*/
-
-struct filter {
-    gs_uint32_t size;
-    gs_uint8_t data[1];
-};
-
-struct filter * ftafilter_create(gs_int32_t size);
-void ftafilter_delete(struct filter * filter);
-void ftafilter_add_flow ( struct filter * filter, gs_uint32_t ip, gs_uint32_t port);
-void fyafilter_add_connection ( struct filter * filter, gs_uint32_t ip1,
-                            gs_uint32_t port1, gs_uint32_t ip2, gs_uint32_t port2);
-void ftafilter_rm_flow ( struct filter * filter, gs_uint32_t ip, gs_uint32_t port);
-void ftafilter_rm_connection ( struct filter * filter, gs_uint32_t ip1,
-                           gs_uint32_t port1, gs_uint32_t ip2, gs_uint32_t port2);
-struct vstring * ftafilter_to_vstring(struct filter * f );
-void ftafilter_vstring_free(struct vstring * res);
-
-
-#endif
+/* ------------------------------------------------\r
+Copyright 2014 AT&T Intellectual Property\r
+   Licensed under the Apache License, Version 2.0 (the "License");\r
+   you may not use this file except in compliance with the License.\r
+   You may obtain a copy of the License at\r
+\r
+     http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+   Unless required by applicable law or agreed to in writing, software\r
+   distributed under the License is distributed on an "AS IS" BASIS,\r
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+   See the License for the specific language governing permissions and\r
+   limitations under the License.\r
+ ------------------------------------------- */\r
+\r
+/*\r
+ * filter.h: hash table function which match the interface\r
+ */\r
+#ifndef FILTER_H\r
+#define FILTER_H\r
+\r
+/* FILTER FUNCTIONS */\r
+/* ===============  */\r
+\r
+/* The following functions are used to manage filter sets for flow\r
+   and connection filters\r
+*/\r
+\r
+struct filter {\r
+    gs_uint32_t size;\r
+    gs_uint8_t data[1];\r
+};\r
+\r
+struct filter * ftafilter_create(gs_int32_t size);\r
+void ftafilter_delete(struct filter * filter);\r
+void ftafilter_add_flow ( struct filter * filter, gs_uint32_t ip, gs_uint32_t port);\r
+void fyafilter_add_connection ( struct filter * filter, gs_uint32_t ip1,\r
+                            gs_uint32_t port1, gs_uint32_t ip2, gs_uint32_t port2);\r
+void ftafilter_rm_flow ( struct filter * filter, gs_uint32_t ip, gs_uint32_t port);\r
+void ftafilter_rm_connection ( struct filter * filter, gs_uint32_t ip1,\r
+                           gs_uint32_t port1, gs_uint32_t ip2, gs_uint32_t port2);\r
+struct vstring * ftafilter_to_vstring(struct filter * f );\r
+void ftafilter_vstring_free(struct vstring * res);\r
+\r
+\r
+#endif\r