libosmo-sigtran  2.1.0.101-af06.202506182026
Osmocom SIGTRAN library
ss7_link.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 #include <osmocom/core/linuxlist.h>
5 
6 /***********************************************************************
7  * SS7 Linksets
8  ***********************************************************************/
9 
10 struct osmo_ss7_linkset;
11 
17 };
18 
19 struct osmo_ss7_link {
22  struct {
23  char *name;
24  char *description;
25  uint32_t id;
26 
28  } cfg;
29 };
30 
31 void ss7_link_destroy(struct osmo_ss7_link *link);
32 struct osmo_ss7_link *
33 ss7_link_find_or_create(struct osmo_ss7_linkset *lset, uint32_t id);
34 
35 bool
36 ss7_link_is_available(const struct osmo_ss7_link *link);
Definition: ss7_linkset.h:13