add cbc_peer_proto_name value_string

Change-Id: I695cd5030c4bae79e215d3a3f9a6bd56c80788cd
This commit is contained in:
Harald Welte
2019-08-05 21:42:25 +02:00
parent fdb29d94e3
commit fb6ea76b76
2 changed files with 8 additions and 0 deletions

View File

@@ -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)
{

View File

@@ -29,6 +29,8 @@ struct cbc_peer {
} client;
};
extern const struct value_string cbc_peer_proto_name[];
/*********************************************************************************
* CBC Message
*********************************************************************************/