YAZ  5.23.1
Functions
charneg.h File Reference

Header for Z39.50 Charset negotiation utilities. More...

#include <yaz/proto.h>

Go to the source code of this file.

Functions

Z_CharSetandLanguageNegotiationyaz_get_charneg_record (Z_OtherInformation *p)
 
int yaz_del_charneg_record (Z_OtherInformation **p)
 
Z_Externalyaz_set_proposal_charneg (ODR odr, const char **charsets, int num_charsets, const char **langs, int num_langs, int selected)
 
Z_Externalyaz_set_proposal_charneg_list (ODR o, const char *delim, const char *charset_list, const char *lang_list, int selected)
 
void yaz_get_response_charneg (NMEM mem, Z_CharSetandLanguageNegotiation *p, char **charset, char **lang, int *selected)
 
Z_Externalyaz_set_response_charneg (ODR odr, const char *charset, const char *lang, int selected)
 
void yaz_get_proposal_charneg (NMEM mem, Z_CharSetandLanguageNegotiation *p, char ***charsets, int *num_charsets, char ***langs, int *num_langs, int *selected)
 

Detailed Description

Header for Z39.50 Charset negotiation utilities.

Helper functions for Character Set and Language Negotiation - 3

Definition in file charneg.h.

Function Documentation

int yaz_del_charneg_record ( Z_OtherInformation **  p)
Z_CharSetandLanguageNegotiation* yaz_get_charneg_record ( Z_OtherInformation p)
void yaz_get_proposal_charneg ( NMEM  mem,
Z_CharSetandLanguageNegotiation p,
char ***  charsets,
int *  num_charsets,
char ***  langs,
int *  num_langs,
int *  selected 
)
void yaz_get_response_charneg ( NMEM  mem,
Z_CharSetandLanguageNegotiation p,
char **  charset,
char **  lang,
int *  selected 
)
Z_External* yaz_set_proposal_charneg ( ODR  odr,
const char **  charsets,
int  num_charsets,
const char **  langs,
int  num_langs,
int  selected 
)
Z_External* yaz_set_proposal_charneg_list ( ODR  o,
const char *  delim,
const char *  charset_list,
const char *  lang_list,
int  selected 
)

Definition at line 174 of file charneg.c.

References nmem_strsplit(), odr_getmem, and yaz_set_proposal_charneg().

Referenced by ZOOM_connection_Z3950_send_init().

Z_External* yaz_set_response_charneg ( ODR  odr,
const char *  charset,
const char *  lang,
int  selected 
)