aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2017-03-15 18:42:44 +0100
committerCampus <campus@ntop.org>2017-03-15 18:42:44 +0100
commit3add72c6865e3099de9a78fed1823966a67675d8 (patch)
tree217cf0506d8220514ba791c6c125582ab0c60c37 /src/include/ndpi_api.h
parent5de6a96af5754c13846883b556f58fc79831c61d (diff)
deleted useless function - change macro name
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 79de7017e..ca295b4e1 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -1,7 +1,7 @@
/*
* ndpi_api.h
*
- * Copyright (C) 2011-16 - ntop.org
+ * Copyright (C) 2011-17 - ntop.org
*
* This file is part of nDPI, an open source deep packet inspection
* library based on the OpenDPI and PACE technology by ipoque GmbH
@@ -255,20 +255,6 @@ extern "C" {
u_int8_t *l4_protocol_return, u_int32_t flags);
-#if 0
- /**
- * returns true if the protocol history of the flow of the last packet given to the detection
- * contains the given protocol.
- *
- * @param ndpi_struct the detection module
- * @return 1 if protocol has been found, 0 otherwise
- *
- */
- u_int8_t ndpi_detection_flow_protocol_history_contains_protocol(struct ndpi_detection_module_struct *ndpi_struct,
- struct ndpi_flow_struct *flow,
- u_int16_t protocol_id);
-#endif
-
/**
* Search and return the protocol based on matched ports
*