Changes in uspace/lib/net/include/nil_skel.h [6b82009:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/nil_skel.h
r6b82009 rffa2c8ef 39 39 #define LIBNET_NIL_SKEL_H_ 40 40 41 #include <async.h> 42 #include <fibril_synch.h> 41 43 #include <ipc/services.h> 44 42 45 #include <adt/measured_strings.h> 43 46 #include <net/device.h> 44 47 #include <net/packet.h> 45 #include <async.h>46 48 47 49 /** Module initialization. … … 49 51 * This has to be implemented in user code. 50 52 * 51 * @param[in] sess Networking module session.53 * @param[in] net_phone Networking module phone. 52 54 * 53 55 * @return EOK on success. … … 56 58 * 57 59 */ 58 extern int nil_initialize( async_sess_t *sess);60 extern int nil_initialize(int net_phone); 59 61 60 62 /** Notify the network interface layer about the device state change. … … 62 64 * This has to be implemented in user code. 63 65 * 66 * @param[in] nil_phone Network interface layer phone. 64 67 * @param[in] device_id Device identifier. 65 68 * @param[in] state New device state. … … 70 73 * 71 74 */ 72 extern int nil_device_state_msg_local( device_id_t device_id, sysarg_t state);75 extern int nil_device_state_msg_local(int, device_id_t, int); 73 76 74 77 /** Pass the packet queue to the network interface layer. … … 79 82 * This has to be implemented in user code. 80 83 * 84 * @param[in] nil_phone Network interface layer phone. 81 85 * @param[in] device_id Source device identifier. 82 86 * @param[in] packet Received packet or the received packet queue. … … 88 92 * 89 93 */ 90 extern int nil_received_msg_local(device_id_t device_id, packet_t *packet, 91 services_t target); 94 extern int nil_received_msg_local(int, device_id_t, packet_t *, services_t); 92 95 93 96 /** Message processing function. … … 95 98 * This has to be implemented in user code. 96 99 * 100 * @param[in] name Module name. 97 101 * @param[in] callid Message identifier. 98 102 * @param[in] call Message parameters. … … 108 112 * 109 113 */ 110 extern int nil_module_message(ipc_callid_t callid, ipc_call_t *call,111 ipc_call_t *answer, size_t *count);114 extern int nil_module_message(ipc_callid_t, ipc_call_t *, ipc_call_t *, 115 size_t *); 112 116 113 extern int nil_module_start( sysarg_t);117 extern int nil_module_start(int); 114 118 115 119 #endif
Note:
See TracChangeset
for help on using the changeset viewer.