mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc.git
synced 2025-11-02 13:13:35 +00:00
add cbc_peer_proto_name value_string
Change-Id: I695cd5030c4bae79e215d3a3f9a6bd56c80788cd
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
#include "cbc_data.h"
|
||||
#include "cbsp_server.h"
|
||||
|
||||
const struct value_string cbc_peer_proto_name[] = {
|
||||
{ CBC_PEER_PROTO_CBSP, "CBSP" },
|
||||
{ CBC_PEER_PROTO_SABP, "SABP" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
/* remove a peer from the message */
|
||||
int cbc_message_del_peer(struct cbc_message *cbcmsg, struct cbc_peer *peer)
|
||||
{
|
||||
|
||||
@@ -29,6 +29,8 @@ struct cbc_peer {
|
||||
} client;
|
||||
};
|
||||
|
||||
extern const struct value_string cbc_peer_proto_name[];
|
||||
|
||||
/*********************************************************************************
|
||||
* CBC Message
|
||||
*********************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user