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
/
routeros_api.h
diff --git
a/src/routeros_api.h
b/src/routeros_api.h
index
558bbf6
..
7f6956c
100644
(file)
--- a/
src/routeros_api.h
+++ b/
src/routeros_api.h
@@
-19,8
+19,17
@@
* Florian octo Forster <octo at verplant.org>
**/
* Florian octo Forster <octo at verplant.org>
**/
+#ifndef ROUTEROS_API_H
+#define ROUTEROS_API_H 1
+
+#include <routeros_version.h>
+
#define ROUTEROS_API_PORT "8728"
#define ROUTEROS_API_PORT "8728"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct ros_connection_s;
typedef struct ros_connection_s ros_connection_t;
struct ros_connection_s;
typedef struct ros_connection_s ros_connection_t;
@@
-60,4
+69,10
@@
const char *ros_reply_param_val_by_index (const ros_reply_t *r,
unsigned int index);
const char *ros_reply_param_val_by_key (const ros_reply_t *r, const char *key);
unsigned int index);
const char *ros_reply_param_val_by_key (const ros_reply_t *r, const char *key);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ROUTEROS_API_H */
+
/* vim: set ts=2 sw=2 noet fdm=marker : */
/* vim: set ts=2 sw=2 noet fdm=marker : */