Locales in C for RAD

The following are the RAD locale functions in the C language:

int rad_locale_parse(const char *locale, rad_locale_t **rad_locale);

Updates rad_locale with locale details based on locale. If locale is NULL, then attempt to retrieve a locale based on the locale of the RAD connection. Returns 0 on success.

void rad_locale_free(rad_locale_t *rad_locale);

Frees a locale, rad_locale, previously obtained with rad_locale_parse.