]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/interfaces/Intercept.nc
get rid of +5 for rounding, change arg name in functions in CtpInfo to match the...
[tinyos-2.x.git] / tos / interfaces / Intercept.nc
index 69ae697615783cf54b6b0b35d22df58012f64444..0de35ba938ef37a327a8dbccca031183100abf25 100644 (file)
@@ -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);
 }