Subversion Repositories HelenOS

Rev

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

Rev 4751 Rev 4756
Line 60... Line 60...
60
 */
60
 */
61
void    module_print_name( void );
61
void    module_print_name( void );
62
 
62
 
63
/** Starts the dummy nil module.
63
/** Starts the dummy nil module.
64
 *  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.
64
 *  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.
65
 *  @param client_connection The client connection processing function. The module skeleton propagates its own one. Input parameter.
65
 *  @param[in] client_connection The client connection processing function. The module skeleton propagates its own one.
66
 *  @returns EOK on success.
66
 *  @returns EOK on success.
67
 *  @returns Other error codes as defined for the pm_init() function.
67
 *  @returns Other error codes as defined for the pm_init() function.
68
 *  @returns Other error codes as defined for the nil_initialize() function.
68
 *  @returns Other error codes as defined for the nil_initialize() function.
69
 *  @returns Other error codes as defined for the REGISTER_ME() macro function.
69
 *  @returns Other error codes as defined for the REGISTER_ME() macro function.
70
 */
70
 */
71
int module_start( async_client_conn_t client_connection );
71
int module_start( async_client_conn_t client_connection );
72
 
72
 
73
/** Passes the parameters to the module specific nil_message() function.
73
/** Passes the parameters to the module specific nil_message() function.
74
 *  @param callid The message identifier. Input parameter.
74
 *  @param[in] callid The message identifier.
75
 *  @param call The message parameters. Input parameter.
75
 *  @param[in] call The message parameters.
76
 *  @param answer The message answer parameters. Output parameter.
76
 *  @param[out] answer The message answer parameters.
77
 *  @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter.
77
 *  @param[out] answer_count The last parameter for the actual answer in the answer parameter.
78
 *  @returns EOK on success.
78
 *  @returns EOK on success.
79
 *  @returns ENOTSUP if the message is not known.
79
 *  @returns ENOTSUP if the message is not known.
80
 *  @returns Other error codes as defined for each specific module message function.
80
 *  @returns Other error codes as defined for each specific module 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 );