Data Structures


There are a number of SmartSockets IPC data structures accessible from user-written programs. This is how these structures are defined in <rtworks/ipc.h>:

typedef struct T_IPC_MT_STRUCT T_IPC_MT_STRUCT, *T_IPC_MT; 
typedef struct T_IPC_MSG_STRUCT T_IPC_MSG_STRUCT, *T_IPC_MSG; 
typedef struct T_IPC_MSG_FIELD_STRUCT T_IPC_MSG_FIELD_STRUCT, 
  *T_IPC_MSG_FIELD; 
typedef struct T_IPC_MSG_FILE_STRUCT T_IPC_MSG_FILE_STRUCT,  
  *T_IPC_MSG_FILE; 
typedef struct T_IPC_CONN_STRUCT T_IPC_CONN_STRUCT, *T_IPC_CONN; 

These structure definitions are incomplete in the sense that none of the fields in the structure are defined here. This is one way of creating an opaque data type in C. Pointers to these structures cannot be dereferenced to look at what they point to. These pointers can only be manipulated through access functions. This protects users from changes to the underlying data structures.


TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com