libosmo-sigtran  2.1.0.134-a6b3.202507062026
Osmocom SIGTRAN library
ss7_user.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 #include <osmocom/core/prim.h>
6 
7 /***********************************************************************
8  * SS7 Linksets
9  ***********************************************************************/
10 
11 struct osmo_ss7_instance;
12 
13 struct osmo_ss7_user {
14  /* pointer back to SS7 instance */
16  /* name of the user */
17  const char *name;
18  /* primitive call-back for incoming MTP primitives */
19  osmo_prim_cb prim_cb;
20  /* private data */
21  void *priv;
22 };
23 
24 int ss7_mtp_to_user(struct osmo_ss7_instance *inst, struct osmo_mtp_prim *omp);
int ss7_mtp_to_user(struct osmo_ss7_instance *inst, struct osmo_mtp_prim *omp)
Definition: ss7_user.c:123
Definition: mtp_sap.h:56
Definition: ss7_instance.h:21
Definition: ss7_user.h:13
const char * name
Definition: ss7_user.h:17
osmo_prim_cb prim_cb
Definition: ss7_user.h:19
void * priv
Definition: ss7_user.h:21
struct osmo_ss7_instance * inst
Definition: ss7_user.h:15