Subversion Repositories HelenOS

Rev

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

Rev 4350 Rev 4351
Line 44... Line 44...
44
#include "../structures/packet/packet_client.h"
44
#include "../structures/packet/packet_client.h"
45
 
45
 
46
#include "nil_messages.h"
46
#include "nil_messages.h"
47
 
47
 
48
int nil_device_state_msg( int nil_phone, device_id_t device_id, int state ){
48
int nil_device_state_msg( int nil_phone, device_id_t device_id, int state ){
49
    return generic_device_state_msg( nil_phone, NET_NIL_DEVICE_STATE, device_id, state );
49
    return generic_device_state_msg( nil_phone, NET_NIL_DEVICE_STATE, device_id, state, 0 );
50
}
50
}
51
 
51
 
52
int nil_received_msg( int nil_phone, device_id_t device_id, packet_t packet, services_t target ){
52
int nil_received_msg( int nil_phone, device_id_t device_id, packet_t packet, services_t target ){
53
    return generic_received_msg( nil_phone, NET_NIL_RECEIVED, device_id, packet_get_id( packet ), target );
53
    return generic_received_msg( nil_phone, NET_NIL_RECEIVED, device_id, packet_get_id( packet ), target );
54
}
54
}