doc/: Add Makefile.am for building and installing the manual page(s).
[routeros-api.git] / src / routeros_api.h
index 558bbf6..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
  *   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"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 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);
 
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ROUTEROS_API_H */
+
 /* vim: set ts=2 sw=2 noet fdm=marker : */