summaryrefslogtreecommitdiff
path: root/CommonCode.c
diff options
context:
space:
mode:
Diffstat (limited to 'CommonCode.c')
-rw-r--r--CommonCode.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/CommonCode.c b/CommonCode.c
index f00b8f6..f5d5125 100644
--- a/CommonCode.c
+++ b/CommonCode.c
@@ -1124,6 +1124,11 @@ int CompareNode(struct DEST_LIST ** a, struct DEST_LIST ** b)
return memcmp(a[0]->DEST_CALL, b[0]->DEST_CALL, 7);
}
+int CompareRoutes(struct ROUTE ** a, struct ROUTE ** b)
+{
+ return memcmp(a[0]->NEIGHBOUR_CALL, b[0]->NEIGHBOUR_CALL, 7);
+}
+
DllExport int APIENTRY CountFramesQueuedOnStream(int Stream)
{
BPQVECSTRUC * PORTVEC = &BPQHOSTVECTOR[Stream-1]; // API counts from 1