From 8d07f52bae6fa7e85988125293f08a72e39de8c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Thu, 15 Mar 2018 14:01:50 +0100 Subject: Add ABI check for otr_core module. --- src/otr/module.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/otr/module.c b/src/otr/module.c index ca3107b1..0d83629f 100644 --- a/src/otr/module.c +++ b/src/otr/module.c @@ -24,6 +24,7 @@ #include "module.h" +#include "common.h" #include "signals.h" #include "queries.h" #include "commands.h" @@ -259,3 +260,8 @@ void otr_core_deinit(void) otr_lib_uninit(); } + +void otr_core_abicheck(int *version) +{ + *version = IRSSI_ABI_VERSION; +} -- cgit v1.2.3