We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5285353 commit 99c5fe8Copy full SHA for 99c5fe8
smtp/smtpc.h
@@ -155,6 +155,8 @@ smtpc_request_delete(struct smtpc_request *req);
155
* @brief Add recipient to the request
156
* @param req - reference to object
157
* @param @recipient - a mail recipient
158
+ * @retval 0 on success
159
+ * @retval -1 on error
160
*/
161
int
162
smtpc_add_recipient(struct smtpc_request *req, const char *recipient);
@@ -164,6 +166,8 @@ smtpc_add_recipient(struct smtpc_request *req, const char *recipient);
164
166
* @param req request
165
167
* @param body body
168
* @param bytes sizeof body
169
170
+ * @retval -1 on error, check diag
171
172
173
smtpc_set_body(struct smtpc_request *req, const char *body, size_t size);
0 commit comments