Rev 4577 | Rev 4714 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4577 | Rev 4704 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | 40 | ||
41 | #include <ipc/ipc.h> |
41 | #include <ipc/ipc.h> |
42 | 42 | ||
43 | #include "err.h" |
43 | #include "err.h" |
44 | 44 | ||
- | 45 | /** @name External module functions. |
|
- | 46 | * This functions have to be implemented in every module. |
|
- | 47 | */ |
|
- | 48 | /*@{*/ |
|
- | 49 | ||
45 | /** External message processing function. |
50 | /** External message processing function. |
46 | * Should process the messages. |
51 | * Should process the messages. |
47 | * The function has to be defined in each module. |
52 | * The function has to be defined in each module. |
48 | * @param callid The message identifier. Input parameter. |
53 | * @param callid The message identifier. Input parameter. |
49 | * @param call The message parameters. Input parameter. |
54 | * @param call The message parameters. Input parameter. |
Line 62... | Line 67... | ||
62 | extern void module_print_name( void ); |
67 | extern void module_print_name( void ); |
63 | 68 | ||
64 | /** External module startup function. |
69 | /** External module startup function. |
65 | * Should start and initialize the module and register the given client connection function. |
70 | * Should start and initialize the module and register the given client connection function. |
66 | * The function has to be defined in each module. |
71 | * The function has to be defined in each module. |
67 | * @param client_connection The client connection functio to be registered. Input parameter. |
72 | * @param client_connection The client connection function to be registered. Input parameter. |
68 | */ |
73 | */ |
69 | extern int module_start( async_client_conn_t client_connection ); |
74 | extern int module_start( async_client_conn_t client_connection ); |
70 | 75 | ||
- | 76 | /*@}*/ |
|
- | 77 | ||
71 | /** Default thread for new connections. |
78 | /** Default thread for new connections. |
72 | * @param iid The initial message identifier. Input parameter. |
79 | * @param iid The initial message identifier. Input parameter. |
73 | * @param icall The initial message call structure. Input parameter. |
80 | * @param icall The initial message call structure. Input parameter. |
74 | */ |
81 | */ |
75 | void client_connection( ipc_callid_t iid, ipc_call_t * icall ); |
82 | void client_connection( ipc_callid_t iid, ipc_call_t * icall ); |