2 * $Id: charneg.h,v 1.3 2002-07-25 12:50:16 adam Exp $
12 * Character set and language negotiation model - 3 (*)
14 * These a set helper functions for support (*). There are
15 * client and server parts. At that moment the (*) is based on
16 * Z_PrivateCharacterSet_externallySpecified method.
21 * Get (*) record from request
23 YAZ_EXPORT Z_CharSetandLanguageNegotiation *
24 yaz_get_charneg_record(Z_OtherInformation *p);
29 YAZ_EXPORT Z_External *yaz_set_proposal_charneg(ODR odr,
30 const char **charsets, int num_charsets, const char **langs,
31 int num_langs, int selected);
33 YAZ_EXPORT void yaz_get_response_charneg(NMEM mem,
34 Z_CharSetandLanguageNegotiation *p, char **charset, char **lang,
41 YAZ_EXPORT Z_External *yaz_set_response_charneg(ODR odr,
42 const char *charset, const char *lang, int selected);
45 YAZ_EXPORT void yaz_get_proposal_charneg(NMEM mem,
46 Z_CharSetandLanguageNegotiation *p,
47 char ***charsets, int *num_charsets,
48 char ***langs, int *num_langs,