X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Finterfaces%2FIntercept.nc;h=0de35ba938ef37a327a8dbccca031183100abf25;hb=738579ccc0bce339be74aad761c7286258433e93;hp=69ae697615783cf54b6b0b35d22df58012f64444;hpb=1ba974b83d19fc41bf80acd52726f36f7f1df297;p=tinyos-2.x.git diff --git a/tos/interfaces/Intercept.nc b/tos/interfaces/Intercept.nc index 69ae6976..0de35ba9 100644 --- a/tos/interfaces/Intercept.nc +++ b/tos/interfaces/Intercept.nc @@ -17,9 +17,9 @@ interface Intercept { * Signals that a message has been received, which is supposed to be * forwarded to another destination. * - * @param msg The complete message received. + * @param 'message_t* ONE msg' The complete message received. * - * @param payload The payload portion of the packet for this + * @param 'void* COUNT(len) payload' The payload portion of the packet for this * protocol layer. * * @param len The length of the payload buffer. @@ -28,5 +28,5 @@ interface Intercept { * indicates that it should not be forwarded. * */ - event bool forward(message_t* msg, void* payload, uint16_t len); + event bool forward(message_t* msg, void* payload, uint8_t len); }