doc/: Add Makefile.am for building and installing the manual page(s).
[routeros-api.git] / src / routeros_api.h
index bdd1839..55309e6 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * libmikrotik - src/mikrotik.h
+ * librouteros - src/routeros_api.h
  * Copyright (C) 2009  Florian octo Forster
  *
  * This program is free software; you can redistribute it and/or modify it
 #ifndef ROUTEROS_API_H
 #define ROUTEROS_API_H 1
 
+#include <routeros_version.h>
+
 #define ROUTEROS_API_PORT "8728"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct ros_connection_s;
 typedef struct ros_connection_s ros_connection_t;
 
@@ -63,6 +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);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* ROUTEROS_API_H */
 
 /* vim: set ts=2 sw=2 noet fdm=marker : */