Rev 4714 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4714 | Rev 4756 | ||
|---|---|---|---|
| Line 49... | Line 49... | ||
| 49 | /*@{*/ |
49 | /*@{*/ |
| 50 | 50 | ||
| 51 | /** External message processing function. |
51 | /** External message processing function. |
| 52 | * Should process the messages. |
52 | * Should process the messages. |
| 53 | * The function has to be defined in each module. |
53 | * The function has to be defined in each module. |
| 54 | * @param callid The message identifier. Input parameter. |
54 | * @param[in] callid The message identifier. |
| 55 | * @param call The message parameters. Input parameter. |
55 | * @param[in] call The message parameters. |
| 56 | * @param answer The message answer parameters. Output parameter. |
56 | * @param[out] answer The message answer parameters. |
| 57 | * @param answer_count The last parameter for the actual answer in the answer parameter. Output parameter. |
57 | * @param[out] answer_count The last parameter for the actual answer in the answer parameter. |
| 58 | * @returns EOK on success. |
58 | * @returns EOK on success. |
| 59 | * @returns ENOTSUP if the message is not known. |
59 | * @returns ENOTSUP if the message is not known. |
| 60 | * @returns Other error codes as defined for each specific module message function. |
60 | * @returns Other error codes as defined for each specific module message function. |
| 61 | */ |
61 | */ |
| 62 | extern int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count ); |
62 | extern int module_message( ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count ); |
| Line 68... | Line 68... | ||
| 68 | extern void module_print_name( void ); |
68 | extern void module_print_name( void ); |
| 69 | 69 | ||
| 70 | /** External module startup function. |
70 | /** External module startup function. |
| 71 | * Should start and initialize the module and register the given client connection function. |
71 | * Should start and initialize the module and register the given client connection function. |
| 72 | * The function has to be defined in each module. |
72 | * The function has to be defined in each module. |
| 73 | * @param client_connection The client connection function to be registered. Input parameter. |
73 | * @param[in] client_connection The client connection function to be registered. |
| 74 | */ |
74 | */ |
| 75 | extern int module_start( async_client_conn_t client_connection ); |
75 | extern int module_start( async_client_conn_t client_connection ); |
| 76 | 76 | ||
| 77 | /*@}*/ |
77 | /*@}*/ |
| 78 | 78 | ||
| 79 | /** Default thread for new connections. |
79 | /** Default thread for new connections. |
| 80 | * @param iid The initial message identifier. Input parameter. |
80 | * @param[in] iid The initial message identifier. |
| 81 | * @param icall The initial message call structure. Input parameter. |
81 | * @param[in] icall The initial message call structure. |
| 82 | */ |
82 | */ |
| 83 | void client_connection( ipc_callid_t iid, ipc_call_t * icall ); |
83 | void client_connection( ipc_callid_t iid, ipc_call_t * icall ); |
| 84 | 84 | ||
| 85 | /** Starts the module. |
85 | /** Starts the module. |
| 86 | * @param argc The count of the command line arguments. Ignored parameter. |
86 | * @param argc The count of the command line arguments. Ignored parameter. |