From b9ce51c5fd9773694856802a175efdd9b37a2242 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 30 Jun 2010 19:43:11 +0200 Subject: Add support for plugins (and specifically GPRS encryption plugins) --- include/osmocore/Makefile.am | 3 ++- include/osmocore/plugin.h | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 include/osmocore/plugin.h (limited to 'include/osmocore') diff --git a/include/osmocore/Makefile.am b/include/osmocore/Makefile.am index 647b5c00..84859a4b 100644 --- a/include/osmocore/Makefile.am +++ b/include/osmocore/Makefile.am @@ -1,7 +1,8 @@ osmocore_HEADERS = signal.h linuxlist.h timer.h select.h msgb.h \ tlv.h bitvec.h comp128.h statistics.h gsm_utils.h utils.h \ gsmtap.h write_queue.h rsl.h gsm48.h rxlev_stat.h mncc.h \ - gsm48_ie.h logging.h gsm0808.h rate_ctr.h gsmtap_util.h + gsm48_ie.h logging.h gsm0808.h rate_ctr.h gsmtap_util.h \ + plugin.h if ENABLE_TALLOC osmocore_HEADERS += talloc.h diff --git a/include/osmocore/plugin.h b/include/osmocore/plugin.h new file mode 100644 index 00000000..98f9b56d --- /dev/null +++ b/include/osmocore/plugin.h @@ -0,0 +1,6 @@ +#ifndef _OSMO_PLUGIN_H +#define _OSMO_PLUGIN_H + +int plugin_load_all(const char *directory); + +#endif -- cgit v1.2.3