]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/util/PacketData.nc
change metadata handling,
[tinyos-2.x.git] / tos / chips / rf2xx / util / PacketData.nc
index ea4259516ed9a14f05247f4d766f5ae6ee7e637e..b33382803aa1078fe84d83ce22a4a7e7dda6a9b8 100644 (file)
@@ -27,11 +27,11 @@ interface PacketData<data_t>
         * This command returns a pointer to a set of packet fields (in the header, footer 
         * or metadata) with the given data type.
         */
-       async command data_t* getData(message_t* msg);
+       async command data_t* get(message_t* msg);
 
        /**
         * This event is signalled, when the these fields should be reset to their default
         * value (usually called from Packet.clear)
         */
-       async event void clear(data_t* data);
+       async event void clear(message_t* msg);
 }