Subversion Repositories HelenOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* Shared prototypes for tasks Cat and FS */
  2.  
  3. #ifndef _SHARED_PROTO_H
  4. #define _SHARED_PROTO_H
  5.  
  6. #include "message.h"
  7.  
  8.  
  9.     /* Connections to services. */
  10.     int common_connection(int *phone, int service, int attempts);
  11.     int connect_to_rd(int *phone, int attempts);
  12.     int connect_to_con(int *phone, int attempts);
  13.     int connect_to_fs(int *phone, int attempts);
  14.  
  15.     /* Extended messaging. */
  16.     int send_request(int phoneid, ipcarg_t method,
  17.         message_params_t *params, void *shared_buffer);
  18.     void unpack_message(message_params_t *message, ipc_call_t m_input,
  19.             void *shared_buffer);
  20.  
  21.  
  22. #endif /* _SHARED_PROTO_H */
  23.