From 2c34867fc3250186474c1f1c3a20c2a01285e974 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 7 May 2011 12:50:08 +0200 Subject: plugin: use namespace prefix osmo_* Summary of changes: s/plugin_load_all/osmo_plugin_load_all/g --- include/osmocom/core/plugin.h | 2 +- src/gsm/gprs_cipher_core.c | 2 +- src/plugin.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/osmocom/core/plugin.h b/include/osmocom/core/plugin.h index 98f9b56d..6c0eccc6 100644 --- a/include/osmocom/core/plugin.h +++ b/include/osmocom/core/plugin.h @@ -1,6 +1,6 @@ #ifndef _OSMO_PLUGIN_H #define _OSMO_PLUGIN_H -int plugin_load_all(const char *directory); +int osmo_plugin_load_all(const char *directory); #endif diff --git a/src/gsm/gprs_cipher_core.c b/src/gsm/gprs_cipher_core.c index 0ff85e2d..7884be01 100644 --- a/src/gsm/gprs_cipher_core.c +++ b/src/gsm/gprs_cipher_core.c @@ -53,7 +53,7 @@ int gprs_cipher_register(struct gprs_cipher_impl *ciph) int gprs_cipher_load(const char *path) { /* load all plugins available from path */ - return plugin_load_all(path); + return osmo_plugin_load_all(path); } /* function to be called by core code */ diff --git a/src/plugin.c b/src/plugin.c index 4d9fd314..998bca35 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -32,7 +32,7 @@ #include -int plugin_load_all(const char *directory) +int osmo_plugin_load_all(const char *directory) { unsigned int num = 0; char fname[PATH_MAX]; @@ -55,7 +55,7 @@ int plugin_load_all(const char *directory) return num; } #else -int plugin_load_all(const char *directory) +int osmo_plugin_load_all(const char *directory) { return 0; } -- cgit v1.2.3