Merge pull request #100 from painless-security/milestone/monitoring
[trust_router.git] / include / tr_name_internal.h
index 02c78f8..a67a64d 100644 (file)
  */
 
 #ifndef TR_NAME_INTERNAL_H
+#define TR_NAME_INTERNAL_H
 
 #include<trust_router/tr_name.h>
 #include <jansson.h>
 
 /** Prototypes */
-json_t *tr_name_to_json_string(TR_NAME *src);
-int tr_name_cmp_str(TR_NAME *one, const char *two_str);
-int tr_name_prefix_wildcard_match(TR_NAME *str, TR_NAME *wc_str);
-
-#define TR_NAME_INTERNAL_H
+json_t *tr_name_to_json_string(const TR_NAME *src);
+int tr_name_cmp_str(const TR_NAME *one, const char *two_str);
+int tr_name_prefix_wildcard_match(const TR_NAME *str, const TR_NAME *wc_str);
 
 #endif //TRUST_ROUTER_TR_NAME_INTERNAL_H