Skip to content

Commit

Permalink
Expose map_cast_from_hex()
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Sep 30, 2014
1 parent 9decdc4 commit a947878
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/include/map.h
Expand Up @@ -100,6 +100,8 @@ size_t map_prints(char *buffer, size_t bufsize, value_pair_map_t const *map);

void map_debug_log(REQUEST *request, value_pair_map_t const *map,
VALUE_PAIR const *vp) CC_HINT(nonnull(1, 2));

bool map_cast_from_hex(value_pair_map_t *map, FR_TOKEN rhs_type, char const *rhs);
#ifdef __cplusplus
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/main/map.c
Expand Up @@ -40,7 +40,7 @@ RCSID("$Id$")
* @param rhs_type quotation type around rhs.
* @param rhs string to re-parse.
*/
static bool map_cast_from_hex(value_pair_map_t *map, FR_TOKEN rhs_type, char const *rhs)
bool map_cast_from_hex(value_pair_map_t *map, FR_TOKEN rhs_type, char const *rhs)
{
size_t len;
ssize_t rlen;
Expand Down

0 comments on commit a947878

Please sign in to comment.