Subversion Repositories HelenOS

Rev

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

Rev 4719 Rev 4756
Line 62... Line 62...
62
 */
62
 */
63
void    module_print_name( void );
63
void    module_print_name( void );
64
 
64
 
65
/** Starts the ICMP module.
65
/** Starts the ICMP module.
66
 *  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.
66
 *  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.
67
 *  @param client_connection The client connection processing function. The module skeleton propagates its own one. Input parameter.
67
 *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
68
 *  @returns EOK on successful module termination.
68
 *  @returns EOK on successful module termination.
69
 *  @returns Other error codes as defined for the arp_initialize() function.
69
 *  @returns Other error codes as defined for the arp_initialize() function.
70
 *  @returns Other error codes as defined for the REGISTER_ME() macro function.
70
 *  @returns Other error codes as defined for the REGISTER_ME() macro function.
71
 */
71
 */
72
int module_start( async_client_conn_t client_connection );
72
int module_start( async_client_conn_t client_connection );
73
 
73
 
74
/** Processes the ICMP message.
74
/** Processes the ICMP message.
75
 *  @param callid The message identifier. Input parameter.
75
 *  @param[in] callid The message identifier.
76
 *  @param call The message parameters. Input parameter.
76
 *  @param[in] call The message parameters.
77
 *  @param answer The message answer parameters. Output parameter.
77
 *  @param[out] answer The message answer parameters.
78
 *  @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter.
78
 *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
79
 *  @returns EOK on success.
79
 *  @returns EOK on success.
80
 *  @returns Other error codes as defined for the icmp_message() function.
80
 *  @returns Other error codes as defined for the icmp_message() function.
81
 */
81
 */
82
int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
82
int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count );
83
 
83