File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,9 @@ int pdn_default_apn_get(char *buf, size_t len);
262262 *
263263 * @param cb The PDN event handler.
264264 *
265- * @return int Zero on success or a negative errno otherwise.
265+ * @retval 0 Callback registered successfully, or the callback is already registered.
266+ * @retval -EFAULT The provided cb parameter was \c NULL.
267+ * @retval -ENOMEM Insufficient heap to allocate the PDP context.
266268 */
267269int pdn_default_ctx_cb_reg (pdn_event_handler_t cb );
268270
@@ -271,7 +273,10 @@ int pdn_default_ctx_cb_reg(pdn_event_handler_t cb);
271273 *
272274 * @param cb The PDN event handler.
273275 *
274- * @return int Zero on success or a negative errno otherwise.
276+ * @retval 0 Callback deregistered successfully.
277+ * @retval -EFAULT The provided cb parameter was \c NULL.
278+ * @retval -EINVAL PDP context with the provided callback was not found. This can be returned if
279+ * the callback was not registered upon calling this function.
275280 */
276281int pdn_default_ctx_cb_dereg (pdn_event_handler_t cb );
277282
You can’t perform that action at this time.
0 commit comments