Subversion Repositories HelenOS

Rev

Rev 4705 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4705 Rev 4756
Line 64... Line 64...
64
 */
64
 */
65
void    module_print_name( void );
65
void    module_print_name( void );
66
 
66
 
67
/** Starts the TCP module.
67
/** Starts the TCP module.
68
 *  Initializes the client connection serving function, initializes the module, registers the module service and starts the async manager, processing IPC messages in an infinite loop.
68
 *  Initializes the client connection serving function, initializes the module, registers the module service and starts the async manager, processing IPC messages in an infinite loop.
69
 *  @param client_connection The client connection processing function. The module skeleton propagates its own one. Input parameter.
69
 *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
70
 *  @returns EOK on successful module termination.
70
 *  @returns EOK on successful module termination.
71
 *  @returns Other error codes as defined for the tcp_initialize() function.
71
 *  @returns Other error codes as defined for the tcp_initialize() function.
72
 *  @returns Other error codes as defined for the REGISTER_ME() macro function.
72
 *  @returns Other error codes as defined for the REGISTER_ME() macro function.
73
 */
73
 */
74
int module_start( async_client_conn_t client_connection );
74
int module_start( async_client_conn_t client_connection );
75
 
75
 
76
/** Processes the TCP message.
76
/** Processes the TCP message.
77
 *  @param callid The message identifier. Input parameter.
77
 *  @param[in] callid The message identifier.
78
 *  @param call The message parameters. Input parameter.
78
 *  @param[in] call The message parameters.
79
 *  @param answer The message answer parameters. Output parameter.
79
 *  @param[out] answer The message answer parameters.
80
 *  @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter.
80
 *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
81
 *  @returns EOK on success.
81
 *  @returns EOK on success.
82
 *  @returns Other error codes as defined for the tcp_message() function.
82
 *  @returns Other error codes as defined for the tcp_message() function.
83
 */
83
 */
84
int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
84
int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
85
 
85