]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/interfaces/Receive.nc
The big interface switchover for Packet, Send, Receive, and AMSend.
[tinyos-2.x.git] / tos / interfaces / Receive.nc
index 91a8d6a865df37aa6c1ee08a4f7b37e52f97f9e1..d6a488cf6ed32c1d2a019f083b23d1ec7ca64f54 100644 (file)
@@ -65,27 +65,5 @@ interface Receive {
    */
   
   event message_t* receive(message_t* msg, void* payload, uint8_t len);
-
-  /**
-   * Return point to a protocol's payload region in a packet.  If len
-   * is not NULL, getPayload will return the length of the payload in
-   * it. This call is identical to <TT>Packet.getPayload</TT>, and is
-   * included in Receive as a convenience.
-   *
-   * @param  msg      the packet
-   * @param  len      a pointer to where to store the payload length
-   * @return          a pointer to the payload of the packet
-   */
-  command void* getPayload(message_t* msg, uint8_t* len);
-
-  /**
-   * Return the length of the payload of msg. This call is identical
-   * to <TT>Packet.payloadLength</TT>, and is included in Receive as a
-   * convenience.
-   *
-   * @param  msg      the packet
-   * @return          the length of the packet's payload
-   */
-  command uint8_t payloadLength(message_t* msg);
   
 }