make distinct names for structs and tyepdefs

This commit is contained in:
Laurent THOMAS
2026-02-27 16:53:58 +01:00
parent 46b7670672
commit d6858d01a0
38 changed files with 264 additions and 346 deletions
+4 -7
View File
@@ -20,20 +20,17 @@
#include "nfapi_pnf_interface.h"
typedef struct pnf_s {
nfapi_pnf_config_t _public;
struct pnf_t {
nfapi_pnf_config_t _public;
int p5_sock;
int p5_sock;
uint8_t tx_message_buffer[NFAPI_MAX_PACKED_MESSAGE_SIZE];
uint8_t sctp;
uint8_t terminate;
};
} pnf_t;
int pnf_connect(pnf_t *pnf);
int pnf_message_pump(pnf_t *pnf);
+4 -6
View File
@@ -80,12 +80,10 @@ typedef struct {
} pnf_p7_rx_reassembly_queue_t;
typedef struct pnf_p7_s {
nfapi_pnf_p7_config_t _public;
struct pnf_p7_t {
nfapi_pnf_p7_config_t _public;
//private data
//private data
int p7_sock;
uint8_t terminate;
@@ -138,7 +136,7 @@ struct pnf_p7_t {
pnf_p7_stats_t stats;
pnf_p7_nr_stats_t nr_stats;
};
} pnf_p7_t;
int pnf_p7_message_pump(pnf_p7_t* pnf_p7);
int pnf_nr_p7_message_pump(pnf_p7_t* pnf_p7);
@@ -31,8 +31,8 @@ extern "C" {
#include <sys/types.h>
#include "openair1/PHY/defs_gNB.h"
typedef struct pnf_t pnf_t;
typedef struct pnf_p7_t pnf_p7_t;
typedef struct pnf_s pnf_t;
typedef struct pnf_p7_s pnf_p7_t;
/*! This enum is used to describe the states of the pnf
*/