Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

ipcservicelayer.h File Reference

#include <chameleon/ipcmessagelayer.h>
#include <chameleon/ipcmessage.h>
#include <chameleon/error.h>

Go to the source code of this file.

Defines

#define CHAMELEON_IPCSERVICELAYER_H   "$Id: ipcservicelayer.h,v 1.3 2003/05/08 12:26:38 aquamaniac Exp $"

Functions

CHIPCARD_API IPCSERVICELAYERIPCServiceLayer_new ()
CHIPCARD_API void IPCServiceLayer_share (IPCSERVICELAYER *sl)
CHIPCARD_API void IPCServiceLayer_free (IPCSERVICELAYER *sl)
CHIPCARD_API ERRORCODE IPCServiceLayer_SendMessage (IPCSERVICELAYER *sl, IPCMESSAGELAYER *ml, IPCMESSAGE *msg)
CHIPCARD_API ERRORCODE IPCServiceLayer_NextMessage (IPCSERVICELAYER *sl, IPCMESSAGELAYER **ml, IPCMESSAGE **msg, int mark)
CHIPCARD_API void IPCServiceLayer_AddMessageLayer (IPCSERVICELAYER *sl, IPCMESSAGELAYER *ml)
CHIPCARD_API void IPCServiceLayer_UnlinkMessageLayer (IPCSERVICELAYER *sl, IPCMESSAGELAYER *ml)
CHIPCARD_API ERRORCODE IPCServiceLayer_Work (IPCSERVICELAYER *sl, int timeout)
CHIPCARD_API void IPCServiceLayer_RemoveDisconnected (IPCSERVICELAYER *sl)
CHIPCARD_API void IPCServiceLayer_ShutDown (IPCSERVICELAYER *sl)
CHIPCARD_API IPCMESSAGELAYERIPCServiceLayer_FindMessageLayer (IPCSERVICELAYER *sl, int id)

Variables

typedefCHIPCARD_API struct
IPCSERVICELAYERSTRUCT 
IPCSERVICELAYER


Define Documentation

#define CHAMELEON_IPCSERVICELAYER_H   "$Id: ipcservicelayer.h,v 1.3 2003/05/08 12:26:38 aquamaniac Exp $"
 


Function Documentation

CHIPCARD_API void IPCServiceLayer_AddMessageLayer IPCSERVICELAYER sl,
IPCMESSAGELAYER ml
 

CHIPCARD_API IPCMESSAGELAYER* IPCServiceLayer_FindMessageLayer IPCSERVICELAYER sl,
int  id
 

CHIPCARD_API void IPCServiceLayer_free IPCSERVICELAYER sl  ) 
 

Free the service layer, but only if the reference counter becomes 0.

CHIPCARD_API IPCSERVICELAYER* IPCServiceLayer_new  ) 
 

Creates a service layer with a reference count of 1.

CHIPCARD_API ERRORCODE IPCServiceLayer_NextMessage IPCSERVICELAYER sl,
IPCMESSAGELAYER **  ml,
IPCMESSAGE **  msg,
int  mark
 

If mark is 0, then every message layer matches. Otherwise Only those messagelayers are scanned for new messages, whoes mark equals the given one.

CHIPCARD_API void IPCServiceLayer_RemoveDisconnected IPCSERVICELAYER sl  ) 
 

CHIPCARD_API ERRORCODE IPCServiceLayer_SendMessage IPCSERVICELAYER sl,
IPCMESSAGELAYER ml,
IPCMESSAGE msg
 

CHIPCARD_API void IPCServiceLayer_share IPCSERVICELAYER sl  ) 
 

Tells Chameleon that another object is using this service layer. This increments the internal reference counter. When you call IPCServiceLayer_free the reference counter is decremented. If then this counter reaches zero, the service layer really gets freed.

CHIPCARD_API void IPCServiceLayer_ShutDown IPCSERVICELAYER sl  ) 
 

CHIPCARD_API void IPCServiceLayer_UnlinkMessageLayer IPCSERVICELAYER sl,
IPCMESSAGELAYER ml
 

CHIPCARD_API ERRORCODE IPCServiceLayer_Work IPCSERVICELAYER sl,
int  timeout
 


Variable Documentation

typedefCHIPCARD_API struct IPCSERVICELAYERSTRUCT IPCSERVICELAYER
 


Generated on Mon Jun 6 18:17:40 2005 for libchipcard by  doxygen 1.4.2