static void init(void) { if(!initialized) {initialized=1; rnl_init(); rnv_init(); rnv_verror_handler=&verror_handler_rnv; drv_add_dtl(DXL_URL,&dxl_equal,&dxl_allows); drv_add_dtl(DSL_URL,&dsl_equal,&dsl_allows); quebuf=(char*)m_alloc(len_q=LEN_B,sizeof(char)); } }
static void init(void) { if(!initialized) {initialized=1; rnl_init(); rnl_verror_handler=&verror_handler_rnl; rnv_init(); rnv_verror_handler=&verror_handler_rnv; rnx_init(); drv_add_dtl(DXL_URL,&dxl_equal,&dxl_allows); drv_add_dtl(DSL_URL,&dsl_equal,&dsl_allows); text=(char*)m_alloc(len_txt=LEN_T,sizeof(char)); windup(); } }
static void init(void) { if(!initialized) {initialized=1; rnl_init(); rnv_init(); rnv_verror_handler=&silent_verror_handler; string=(char*)m_alloc(len_v=LEN_S*S_AVG_SIZE,sizeof(char)); t2s=(int(*)[2])m_alloc(len_2=LEN_2,sizeof(int[2])); rules=(int(*)[3])m_alloc(len_r=LEN_R,sizeof(int[3])); ht_init(&ht_s,LEN_S,&hash_s,&equal_s); value=(char*)m_alloc(len_v=LEN_V,sizeof(char)); text=(char*)m_alloc(len_txt=LEN_T,sizeof(char)); windup(); } }