projects
/
routeros-api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add compiletime and runtime versioning information.
[routeros-api.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
5f77a5d
..
53e96c2
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-908,4
+908,14
@@
const char *ros_reply_param_val_by_key (const ros_reply_t *r, /* {{{ */
return (NULL);
} /* }}} char *ros_reply_param_val_by_key */
return (NULL);
} /* }}} char *ros_reply_param_val_by_key */
+int ros_version (void) /* {{{ */
+{
+ return (ROS_VERSION);
+} /* }}} int ros_version */
+
+const char *ros_version_string (void) /* {{{ */
+{
+ return (ROS_VERSION_STRING);
+} /* }}} char *ros_version_string */
+
/* vim: set ts=2 sw=2 noet fdm=marker : */
/* vim: set ts=2 sw=2 noet fdm=marker : */