mirror of https://gerrit.osmocom.org/libosmocore
plugin: use namespace prefix osmo_*
Summary of changes: s/plugin_load_all/osmo_plugin_load_all/g
This commit is contained in:
parent
619b8b3292
commit
2c34867fc3
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include <osmocom/core/plugin.h>
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue