CORDET Framework - C2 Implementation
CrFwServerSocket.h
Go to the documentation of this file.
1 
108 #ifndef CRFW_SERVERSOCKET_H_
109 #define CRFW_SERVERSOCKET_H_
110 
111 /* Include Framework Files */
112 #include "CrFwConstants.h"
113 /* Include Configuration Files */
114 #include "CrFwUserConstants.h"
115 /* Include FW Profile files */
116 #include "FwSmConstants.h"
117 #include "FwSmConfig.h"
118 #include "FwSmCore.h"
119 #include "FwPrConfig.h"
120 #include "FwPrCore.h"
121 #include "FwPrConstants.h"
122 
136 void CrFwServerSocketInitAction(FwPrDesc_t prDesc);
137 
143 void CrFwServerSocketInitCheck(FwPrDesc_t prDesc);
144 
151 void CrFwServerSocketConfigCheck(FwPrDesc_t prDesc);
152 
162 void CrFwServerSocketShutdownAction(FwSmDesc_t smDesc);
163 
172 
179 void CrFwServerSocketConfigAction(FwPrDesc_t prDesc);
180 
196 void CrFwServerSocketPoll();
197 
216 
237 
243 void CrFwServerSocketSetPort(unsigned short n);
244 
245 #endif /* CRFW_SERVERSOCKET_H_ */
Header file to define all invariant publicly available constants and types for the CORDET Framework.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:38
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Definition: CrFwConstants.h:32
CrFwPckt_t CrFwServerSocketPcktCollect(CrFwDestSrc_t nofPcktSrc, CrFwDestSrc_t *pcktSrcs)
Function implementing the Packet Collect Operation for the server socket.
void CrFwServerSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the server socket.
CrFwBool_t CrFwServerSocketIsPcktAvail(CrFwDestSrc_t nofPcktSrc, CrFwDestSrc_t *pcktSrcs)
Function implementing the Packet Available Check Operation for the server socket.
void CrFwServerSocketConfigCheck(FwPrDesc_t prDesc)
Configuration check for the server socket.
void CrFwServerSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the server socket.
void CrFwServerSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the server socket.
void CrFwServerSocketPoll()
Poll the server socket to check whether a new packet has arrived.
void CrFwServerSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the server socket.
void CrFwServerSocketSetPort(unsigned short n)
Set the port number for the socket.
CrFwBool_t CrFwServerSocketPcktHandover(CrFwPckt_t pckt)
Function implementing the hand-over operation for the server socket.
Header file to define all user-configurable constants and types for the CORDET Framework (the non-con...
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved