libosmo-sigtran 2.1.0.165-6ea6 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>
5#include <osmocom/sigtran/mtp_sap.h>
6
7/***********************************************************************
8 * SS7 Linksets
9 ***********************************************************************/
10
11struct osmo_ss7_instance;
12
13 struct osmo_ss7_user {
14 /* pointer back to SS7 instance */
15 struct osmo_ss7_instance *inst;
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
24int ss7_mtp_to_user(struct osmo_ss7_instance *inst, struct osmo_mtp_prim *omp);
mtp_sap.h
ss7_mtp_to_user
int ss7_mtp_to_user(struct osmo_ss7_instance *inst, struct osmo_mtp_prim *omp)
Definition: ss7_user.c:123
osmo_mtp_prim
Definition: mtp_sap.h:56
osmo_ss7_instance
Definition: ss7_instance.h:21
osmo_ss7_user
Definition: ss7_user.h:13
osmo_ss7_user::name
const char * name
Definition: ss7_user.h:17
osmo_ss7_user::prim_cb
osmo_prim_cb prim_cb
Definition: ss7_user.h:19
osmo_ss7_user::priv
void * priv
Definition: ss7_user.h:21
osmo_ss7_user::inst
struct osmo_ss7_instance * inst
Definition: ss7_user.h:15