X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=include%2Ftr_name_internal.h;fp=include%2Ftr_name_internal.h;h=a67a64d0675a55b0905f963c86da5de02970b44f;hp=02c78f862d42074db72417b950ab4715b3477a04;hb=6f65c9cce86719147d0b4dcc9823b25443c2d185;hpb=eaa1a8ceed54fbfadc2638cf383aaa12ab446a57 diff --git a/include/tr_name_internal.h b/include/tr_name_internal.h index 02c78f8..a67a64d 100644 --- a/include/tr_name_internal.h +++ b/include/tr_name_internal.h @@ -40,15 +40,14 @@ */ #ifndef TR_NAME_INTERNAL_H +#define TR_NAME_INTERNAL_H #include #include /** 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