use osmo_st2_ or osmo_ prefix for [shared] library symbols

Change-Id: Ie2686b30717b9541b1217802ca967cd0a4cbde9b
This commit is contained in:
Harald Welte
2019-11-24 22:46:51 +01:00
parent 964cda309d
commit 208890ad6e
6 changed files with 87 additions and 75 deletions

View File

@@ -8,9 +8,10 @@
#include <unistd.h>
#include <stdio.h>
/* global GSMTAP instance */
/*! global GSMTAP instance */
static struct gsmtap_inst *g_gti;
/*! initialize the global GSMTAP instance for SIM traces */
int osmo_st2_gsmtap_init(const char *gsmtap_host)
{
if (g_gti)
@@ -26,6 +27,11 @@ int osmo_st2_gsmtap_init(const char *gsmtap_host)
return 0;
}
/*! log one APDU via the global GSMTAP instance.
* \param[in] sub_type GSMTAP sub-type (GSMTAP_SIM_* constant)
* \param[in] apdu User-provided buffer with APDU to log
* \param[in] len Length of apdu in bytes
*/
int osmo_st2_gsmtap_send_apdu(uint8_t sub_type, const uint8_t *apdu, unsigned int len)
{
struct gsmtap_hdr *gh;