Changeset 24ab58b3 in mainline for uspace/lib/net/include/nil_module.h
- Timestamp:
- 2010-04-06T11:41:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 14f1db0
- Parents:
- 4dd8529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/nil_module.h
r4dd8529 r24ab58b3 42 42 43 43 /** Module initialization. 44 * Is called by the module_start() function. 45 * @param[in] net_phone The networking moduel phone. 46 * @returns EOK on success. 47 * @returns Other error codes as defined for each specific module initialize function. 44 * 45 * Is called by the module_start() function. 46 * 47 * @param[in] net_phone The networking moduel phone. 48 * 49 * @return EOK on success. 50 * @return Other error codes as defined for each specific module initialize function. 51 * 48 52 */ 49 extern int nil_initialize(int net_phone);53 extern int nil_initialize(int); 50 54 51 55 /** Message processing function. 52 * @param[in] callid The message identifier. 53 * @param[in] call The message parameters. 54 * @param[out] answer The message answer parameters. 55 * @param[out] answer_count The last parameter for the actual answer in the answer parameter. 56 * @returns EOK on success. 57 * @returns ENOTSUP if the message is not known. 58 * @returns Other error codes as defined for each specific module message function. 59 * @see nil_interface.h 60 * @see IS_NET_NIL_MESSAGE() 56 * 57 * @param[in] name Module name. 58 * @param[in] callid The message identifier. 59 * @param[in] call The message parameters. 60 * @param[out] answer The message answer parameters. 61 * @param[out] answer_count The last parameter for the actual answer 62 * in the answer parameter. 63 * 64 * @return EOK on success. 65 * @return ENOTSUP if the message is not known. 66 * @return Other error codes as defined for each specific 67 * module message function. 68 * 69 * @see nil_interface.h 70 * @see IS_NET_NIL_MESSAGE() 71 * 61 72 */ 62 extern int nil_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count); 73 extern int nil_message(const char *, ipc_callid_t, ipc_call_t *, ipc_call_t *, 74 int *); 63 75 64 76 #endif
Note:
See TracChangeset
for help on using the changeset viewer.