mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
use osmo_st2_ or osmo_ prefix for [shared] library symbols
Change-Id: Ie2686b30717b9541b1217802ca967cd0a4cbde9b
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user