Subversion Repositories HelenOS

Rev

Rev 4261 | Rev 4350 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4261 Rev 4307
Line 28... Line 28...
28
 
28
 
29
/** @addtogroup net_nil
29
/** @addtogroup net_nil
30
 *  @{
30
 *  @{
31
 */
31
 */
32
 
32
 
33
#ifndef __NET_NIL_WRAPPERS_H__
-
 
34
#define __NET_NIL_WRAPPERS_H__
33
#include "../messages.h"
35
 
34
 
36
#include "../include/device.h"
35
#include "../include/device.h"
-
 
36
#include "../include/nil_interface.h"
37
 
37
 
38
#include "../structures/packet/packet.h"
38
#include "../structures/packet/packet.h"
-
 
39
#include "../structures/packet/packet_client.h"
39
 
40
 
40
void    nil_device_state_wrapper( device_id_t device_id, int state );
41
#include "nil_messages.h"
41
int nil_receive_wrapper( device_id_t device_id, packet_t packet );
-
 
42
 
42
 
-
 
43
int nil_device_state_msg( int nil_phone, device_id_t device_id, int state ){
-
 
44
    return generic_device_state_msg( nil_phone, NET_NIL_DEVICE_STATE, device_id, state );
-
 
45
}
-
 
46
 
-
 
47
int nil_received_msg( int nil_phone, device_id_t device_id, packet_t packet, services_t target ){
-
 
48
    return generic_received_msg( nil_phone, NET_NIL_RECEIVED, device_id, packet_get_id( packet ), target );
43
#endif
49
}
44
 
50
 
45
/** @}
51
/** @}
46
 */
52
 */