Function Prototypes:ttDevFreeRecvFunc

Jump to: navigation, search

Table of Contents >> Programmer's Reference >> tfAddInterface


int ttDevFreeRecvFunc (
ttUserInterface interfaceHandle,
char TM_FAR * dataPtr
);


Function Description

This device driver function is defined by the user and called by Treck to free a user buffer used to receive a frame. This function is used ONLY if you use your own buffer allocation for the received packets. For more details click here.


Parameters

  • interfaceHandle
    A pointer to the interface.
  • dataPtr
    A pointer to the buffer to be freed.


Returns

  • int
    One of the two following values:
    TM_DEV_OKAY: Success
    TM_DEV_ERROR: Error.


Table of Contents >> Programmer's Reference >> tfAddInterface