Changeset 89c57b6 in mainline for uspace/lib/net/include/il_skel.h
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/il_skel.h
rcefb126 r89c57b6 27 27 */ 28 28 29 /** @addtogroup tl_local30 * 29 /** @addtogroup libnet 30 * @{ 31 31 */ 32 32 33 #ifndef __TL_LOCAL_H__34 #define __TL_LOCAL_H__33 #ifndef LIBNET_IL_SKEL_H_ 34 #define LIBNET_IL_SKEL_H_ 35 35 36 #include <ipc/ipc.h> 36 /** @file 37 * Internetwork layer module skeleton. 38 * The skeleton has to be part of each internetwork layer module. 39 */ 40 37 41 #include <async.h> 42 #include <fibril_synch.h> 43 #include <ipc/services.h> 38 44 39 extern int tl_module_message_standalone(ipc_callid_t, ipc_call_t *, 40 ipc_call_t *, int *); 41 extern int tl_module_start_standalone(async_client_conn_t); 45 #include <adt/measured_strings.h> 46 #include <net/device.h> 47 #include <net/packet.h> 48 49 /** Module initialization. 50 * 51 * This has to be implemented in user code. 52 * 53 * @param[in] net_phone Networking module phone. 54 * 55 * @return EOK on success. 56 * @return Other error codes as defined for each specific module 57 * initialize function. 58 * 59 */ 60 extern int il_initialize(int net_phone); 61 62 /** Process the internetwork layer module message. 63 * 64 * This has to be implemented in user code. 65 * 66 * @param[in] callid Message identifier. 67 * @param[in] call Message parameters. 68 * @param[out] answer Answer. 69 * @param[out] count Number of arguments of the answer. 70 * 71 * @return EOK on success. 72 * @return Other error codes as defined for each specific module. 73 * 74 */ 75 extern int il_module_message(ipc_callid_t callid, ipc_call_t *call, 76 ipc_call_t *answer, size_t *answer_count); 77 78 extern int il_module_start(int); 42 79 43 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.