CORDET Framework - C2 Implementation
pustests/CrFwInStreamSocket.h
1 
95 #ifndef CRFW_INSTREAMSOCKET_H_
96 #define CRFW_INSTREAMSOCKET_H_
97 
98 /* Include Framework Files */
99 #include "CrFwConstants.h"
100 /* Include Configuration Files */
101 #include "CrFwUserConstants.h"
102 /* Include FW Profile files */
103 #include "FwSmConstants.h"
104 #include "FwSmConfig.h"
105 #include "FwSmCore.h"
106 #include "FwPrConfig.h"
107 #include "FwPrCore.h"
108 #include "FwPrConstants.h"
109 
121 void CrFwInStreamSocketInitAction(FwPrDesc_t prDesc);
122 
131 void CrFwInStreamSocketShutdownAction(FwSmDesc_t smDesc);
132 
140 void CrFwInStreamSocketInitCheck(FwPrDesc_t prDesc);
141 
148 void CrFwInStreamSocketConfigAction(FwPrDesc_t prDesc);
149 
159 void CrFwInStreamSocketPoll(FwSmDesc_t inStream);
160 
176 
192 
198 void CrFwInStreamSocketSetPort(unsigned short n);
199 
206 void CrFwInStreamSocketSetHost(char* name);
207 
208 #endif /* CRFW_INSTREAMSOCKET_H_ */
void CrFwInStreamSocketPoll(FwSmDesc_t inStream)
Poll the socket to check whether a new packet has arrived.
void CrFwInStreamSocketSetPort(unsigned short n)
Set the port number for the socket.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
CrFwPckt_t CrFwInStreamSocketPcktCollect(CrFwDestSrc_t src)
Function implementing the Packet Collect Operation for the socket-based InStream. ...
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Definition: CrFwConstants.h:30
Header file to define all invariant publicly available constants and types for the CORDET Framework...
void CrFwInStreamSocketConfigAction(FwPrDesc_t prDesc)
Configuration action for the socket-based InStream.
void CrFwInStreamSocketInitCheck(FwPrDesc_t prDesc)
Initialization check for the socket-based InStream.
void CrFwInStreamSocketInitAction(FwPrDesc_t prDesc)
Initialization action for the socket-based InStream.
void CrFwInStreamSocketSetHost(char *name)
Set the host name of the server.
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:36
CrFwBool_t CrFwInStreamSocketIsPcktAvail(CrFwDestSrc_t src)
Function implementing the Packet Available Check Operation for the InStream.
void CrFwInStreamSocketShutdownAction(FwSmDesc_t smDesc)
Shutdown action for the socket-based InStream.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved