NetSim Source Code Help
Loading...
Searching...
No Matches
HWI.h
Go to the documentation of this file.
1/************************************************************************************
2* Copyright (C) 2020 *
3* TETCOS, Bangalore. India *
4* *
5* Tetcos owns the intellectual property rights in the Product and its content. *
6* The copying, redistribution, reselling or publication of any or all of the *
7* Product or its content without express prior written consent of Tetcos is *
8* prohibited. Ownership and / or any other right relating to the software and all *
9* intellectual property rights therein shall remain at all times with Tetcos. *
10* *
11* Author: Shashi Kant Suman
12* *
13* ---------------------------------------------------------------------------------*/
14#pragma once
15
16#define RCVSIZ 8192 //Bytes
17
18typedef struct stru_HWI_CallBack
19{
20 int(*fnHWIConfigure)(void* xmlNode);
21 int(*fnHWIStart)();
22 int(*fnHWIStop)();
24 int(*fnCleanup)();
27
28//Function prototype
struct stru_HWI_CallBack * ptrHWICALLBACK
EXPORTED ptrHWICALLBACK hwiCallback
Definition: HWI.h:26
struct stru_HWI_CallBack HWICALLBACK
int fn_NetSim_Stack_RegisterHWI()
#define EXPORTED
Definition: Stack.h:46
int(* fnHWIStop)()
Definition: HWI.h:22
int(* fnHWIStart)()
Definition: HWI.h:21
int(* fnCleanup)()
Definition: HWI.h:24
int(* fnHWIConfigure)(void *xmlNode)
Definition: HWI.h:20
bool(* fnHWISend)(NetSim_PACKET *)
Definition: HWI.h:23