X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_sctp.h;fp=src%2Fdu_app%2Fdu_sctp.h;h=94e0c0c4fe1f2c5b383d968c49fb85dc6a8e093a;hb=2a310f38af13dafd243ef7b24d5a721ed34355b3;hp=8a734fb63797780612866bf85a05ce71474f8508;hpb=e96cb439cd4a7a6f55e3fab7caed978e38bd62b4;p=o-du%2Fl2.git diff --git a/src/du_app/du_sctp.h b/src/du_app/du_sctp.h index 8a734fb63..94e0c0c4f 100644 --- a/src/du_app/du_sctp.h +++ b/src/du_app/du_sctp.h @@ -27,12 +27,12 @@ #define MAX_RETRY 5 /* Global variable declaration */ -uint8_t socket_type; /* Socket type */ -bool nonblocking; /* Blocking/Non-blocking socket */ -bool connUp; /* Is connection up */ -bool pollingState; -CmInetNetAddrLst localAddrLst; -CmInetNetAddrLst remoteAddrLst; +extern uint8_t socket_type; /* Socket type */ +extern bool nonblocking; /* Blocking/Non-blocking socket */ +extern bool connUp; /* Is connection up */ +extern bool pollingState; +extern CmInetNetAddrLst localAddrLst; +extern CmInetNetAddrLst remoteAddrLst; typedef struct { @@ -61,8 +61,8 @@ typedef struct }DuSctpDestCb; /* Global variable declaration */ -DuSctpDestCb f1Params; /* SCTP configurations at DU */ -DuSctpDestCb ricParams; /* SCTP configurations at DU */ +extern DuSctpDestCb f1Params; /* SCTP configurations at DU */ +extern DuSctpDestCb ricParams; /* SCTP configurations at DU */ uint8_t sctpActvInit(Ent entity, Inst inst, Region region, Reason reason);