X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frouteros_api.h;h=7f6956cc3a3cb946be4571ad05be7084b12d7fee;hb=aa02c3dfe7142904ddec12dbc55a9c7b55f1a4f9;hp=558bbf672ed46e01be8d889838d37243f6ac0944;hpb=174acd58a64f43b6f7dc3efa61561b232169a2fd;p=routeros-api.git diff --git a/src/routeros_api.h b/src/routeros_api.h index 558bbf6..7f6956c 100644 --- a/src/routeros_api.h +++ b/src/routeros_api.h @@ -19,8 +19,17 @@ * Florian octo Forster **/ +#ifndef ROUTEROS_API_H +#define ROUTEROS_API_H 1 + +#include + #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 : */