Macros


T_ASSERT — program verification macro

void T_ASSERT(expression) 
int expression; 

T_CALLOC — convenience macro to allocate and clear memory

void T_CALLOC(ptr, size, type) 
type ptr; 
int size; 

T_ENTRY — required in the definition and prototype of callback and thread functions

void T_ENTRY(thread or callback function) 
void thread or callback_function; 

T_FREE — return allocated memory to the heap

void T_FREE(ptr) 
T_PTR ptr; 

T_MALLOC — convenience macro to allocate memory

void T_MALLOC(ptr, size, type) 
type ptr; 
int size; 

T_REALLOC — convenience macro to reallocate memory

void T_REALLOC(ptr, size, type) 
type ptr; 
int size; 

T_STRDUP — duplicate a string

void T_STRDUP(dest, src) 
T_STR dest; 
T_STR src; 

TIBCO SmartSockets™ API Quick Reference
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com