Sun Java System Access Manager 7.1 C API Reference

am_auth_locale_t

Data type that holds the attributes that define the locale retrieved in am_auth_language_callback_t.

Details

For more information, see am_auth_language_callback_t.

Syntax

#include "am_auth.h"
typedef struct am_auth_locale {
    const char *language;
    const char *country;
    const char *variant;
} am_auth_locale_t;

Members

language

Pointer to a valid lower case, two-character ISO—639 language code as defined at http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt.

country

Pointer to a valid upper case, two-character ISO—3166 country code as defined at http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html.

variant

Pointer to a vendor or browser-specific character code. For example, WIN for Windows, MAC for Macintosh, and POSIX for POSIX.