Subversion Repositories HelenOS

Rev

Rev 2872 | Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /** @addtogroup sctrace
  2.  * @{
  3.  */
  4. /** @file
  5.  */
  6.  
  7. #ifndef IPC_H_
  8. #define IPC_H_
  9.  
  10. #include <ipc/ipc.h>
  11. #include "proto.h"
  12.  
  13. typedef struct {
  14.     int phone_hash;
  15.     ipc_call_t question;
  16.  
  17.     int call_hash;
  18.  
  19.     link_t link;
  20. } pending_call_t;
  21.  
  22. void ipcp_init(void);
  23. void ipcp_cleanup(void);
  24.  
  25. void ipc_parse_call_out(int phone, ipc_call_t *call, ipc_callid_t hash);
  26. void ipc_parse_call_sync(int phone, ipc_call_t *call, ipc_call_t *answer);
  27. void ipc_parse_call_in(ipc_call_t *call, ipc_callid_t hash);
  28. void ipc_parse_hangup(int phone, int rc);
  29.  
  30. #endif
  31.  
  32. /** @}
  33.  */
  34.