mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc.git
synced 2025-10-23 08:22:19 +00:00
Move vty stuff to its own header cbc_vty.h
Change-Id: Ib793a74befb7eaad66d19967c28acb4baf52ea69
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
noinst_HEADERS = \
|
||||
cbc_data.h \
|
||||
cbc_peer.h \
|
||||
cbc_vty.h \
|
||||
cbsp_server.h \
|
||||
charset.h \
|
||||
internal.h \
|
||||
|
10
include/osmocom/cbc/cbc_vty.h
Normal file
10
include/osmocom/cbc/cbc_vty.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
enum cbc_vty_node {
|
||||
CBC_NODE = _LAST_OSMOVTY_NODE + 1,
|
||||
PEER_NODE,
|
||||
CBSP_NODE,
|
||||
SBcAP_NODE,
|
||||
ECBE_NODE,
|
||||
};
|
||||
void cbc_vty_init(void);
|
@@ -41,16 +41,6 @@ enum sbcap_server_event {
|
||||
int rest_api_init(void *ctx, const char *bind_addr, uint16_t port);
|
||||
void rest_api_fin(void);
|
||||
|
||||
/* cbc_vty.c */
|
||||
enum cbc_vty_node {
|
||||
CBC_NODE = _LAST_OSMOVTY_NODE + 1,
|
||||
PEER_NODE,
|
||||
CBSP_NODE,
|
||||
SBcAP_NODE,
|
||||
ECBE_NODE,
|
||||
};
|
||||
void cbc_vty_init(void);
|
||||
|
||||
/* message_handling.c */
|
||||
struct cbc_message *cbc_message_alloc(void *ctx, const struct cbc_message *cbcmsg);
|
||||
int cbc_message_new(const struct cbc_message *cbcmsg, struct rest_it_op *op);
|
||||
|
@@ -49,6 +49,7 @@
|
||||
#include <osmocom/cbc/cbsp_server.h>
|
||||
#include <osmocom/cbc/sbcap_server.h>
|
||||
#include <osmocom/cbc/cbc_data.h>
|
||||
#include <osmocom/cbc/cbc_vty.h>
|
||||
|
||||
static void *tall_cbc_ctx;
|
||||
struct cbc *g_cbc;
|
||||
|
@@ -32,6 +32,7 @@
|
||||
|
||||
#include <osmocom/cbc/cbc_data.h>
|
||||
#include <osmocom/cbc/cbc_peer.h>
|
||||
#include <osmocom/cbc/cbc_vty.h>
|
||||
#include <osmocom/cbc/internal.h>
|
||||
#include <osmocom/cbc/cbsp_server.h>
|
||||
#include <osmocom/cbc/sbcap_server.h>
|
||||
|
Reference in New Issue
Block a user