projects
/
routeros-api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
README: Wrote initial file.
[routeros-api.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
5f77a5d
..
82e8c7f
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1,5
+1,5
@@
/**
/**
- * lib
mikrotik
- src/main.c
+ * lib
routeros
- src/main.c
* Copyright (C) 2009 Florian octo Forster
*
* This program is free software; you can redistribute it and/or modify it
* Copyright (C) 2009 Florian octo Forster
*
* This program is free software; you can redistribute it and/or modify it
@@
-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 : */