projects
/
routeros-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
174acd5
)
src/routeros_api.h: Protect against multiple inclusions.
author
Florian Forster
<octo@verplant.org>
Wed, 25 Nov 2009 16:06:14 +0000
(17:06 +0100)
committer
Florian Forster
<octo@verplant.org>
Wed, 25 Nov 2009 16:06:14 +0000
(17:06 +0100)
src/routeros_api.h
patch
|
blob
|
history
diff --git
a/src/routeros_api.h
b/src/routeros_api.h
index
558bbf6
..
bdd1839
100644
(file)
--- a/
src/routeros_api.h
+++ b/
src/routeros_api.h
@@
-19,6
+19,9
@@
* Florian octo Forster <octo at verplant.org>
**/
+#ifndef ROUTEROS_API_H
+#define ROUTEROS_API_H 1
+
#define ROUTEROS_API_PORT "8728"
struct ros_connection_s;
@@
-60,4
+63,6
@@
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);
+#endif /* ROUTEROS_API_H */
+
/* vim: set ts=2 sw=2 noet fdm=marker : */