X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Finterfaces%2FSend.nc;h=fc8b1c4beb753c9ad1586dc3cc59c2a6ce7160d4;hb=13e400e82fdf39ec7807c7b290136408044d6273;hp=a211460c298a68550af4b06d5bcab4b4f6e6aaef;hpb=da0cfeda9689aa64cfce0aa209f51803dcb11c21;p=tinyos-2.x.git diff --git a/tos/interfaces/Send.nc b/tos/interfaces/Send.nc index a211460c..fc8b1c4b 100644 --- a/tos/interfaces/Send.nc +++ b/tos/interfaces/Send.nc @@ -1,5 +1,5 @@ // $Id$ -/* tab:4 +/* * "Copyright (c) 2004-5 The Regents of the University of California. * All rights reserved. * @@ -53,7 +53,7 @@ interface Send { * cannot satisfy; in this case, it will signal sendDone with an * appropriate error code. * - * @param msg the packet to send + * @param 'message_t* ONE msg' the packet to send * @param len the length of the packet payload * @return SUCCESS if the request was accepted and will issue * a sendDone event, EBUSY if the component cannot accept @@ -71,7 +71,7 @@ interface Send { * handling much of the logic; in this case, a component * should be conservative and return an appropriate error code. * - * @param msg the packet whose transmission should be cancelled + * @param 'message_t* ONE msg' the packet whose transmission should be cancelled * @return SUCCESS if the packet was successfully cancelled, FAIL * otherwise */ @@ -82,7 +82,7 @@ interface Send { * is the sent buffer, and error indicates whether the * send was succesful, and if not, the cause of the failure. * - * @param msg the message which was requested to send + * @param 'message_t* ONE msg' the message which was requested to send * @param error SUCCESS if it was transmitted successfully, FAIL if * it was not, ECANCEL if it was cancelled via cancel */ @@ -108,8 +108,8 @@ interface Send { * behaves identicallt to Packet.getPayload and is * included in this interface as a convenience. * - * @param msg the packet - * @return a pointer to the packet's payload + * @param 'message_t* ONE msg' the packet + * @return 'void* COUNT_NOK(len)' a pointer to the packet's payload */ command void* getPayload(message_t* msg, uint8_t len);