projects
/
routeros-api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the mt_reply_status function.
[routeros-api.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
3f844ab
..
a0d6dcc
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-673,6
+673,13
@@
int mt_reply_num (const mt_reply_t *r) /* {{{ */
return (ret);
} /* }}} int mt_reply_num */
return (ret);
} /* }}} int mt_reply_num */
+const char *mt_reply_status (const mt_reply_t *r) /* {{{ */
+{
+ if (r == NULL)
+ return (NULL);
+ return (r->status);
+} /* }}} char *mt_reply_status */
+
const char *mt_reply_param_key_by_index (const mt_reply_t *r, /* {{{ */
unsigned int index)
{
const char *mt_reply_param_key_by_index (const mt_reply_t *r, /* {{{ */
unsigned int index)
{