diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-11-09 10:50:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 10:50:59 +0100 |
commit | b08c787fe267053afdea82701071f3878c09244b (patch) | |
tree | cbdc12984d11e1999ea90c07d1c838442199fa24 /src/lib/protocols/line.c | |
parent | 0673da54b5db6be849e5ad3b22e80f3cadfccca9 (diff) |
Have a clear distinction between public and private/internal API (#2137)
1) Public API/headers in `src/include/` [as it has always been]
2) Private API/headers in `src/lib/`
Try to keep the "ndpi_" prefix only for the public functions
Diffstat (limited to 'src/lib/protocols/line.c')
-rw-r--r-- | src/lib/protocols/line.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/protocols/line.c b/src/lib/protocols/line.c index 4ad249844..0de5e856e 100644 --- a/src/lib/protocols/line.c +++ b/src/lib/protocols/line.c @@ -24,8 +24,7 @@ #define NDPI_CURRENT_PROTO NDPI_PROTOCOL_LINE_CALL #include "ndpi_api.h" - -extern int is_valid_rtp_payload_type(uint8_t type); +#include "ndpi_private.h" static void ndpi_int_line_add_connection(struct ndpi_detection_module_struct * const ndpi_struct, struct ndpi_flow_struct * const flow) |