comparison extensions/radius_gw/rg_utils.c @ 406:3a8e91184d4d

Added code to handle RADIUS client deconnection
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 10 Jun 2009 15:33:26 +0900
parents 03b512313cc1
children
comparison
equal deleted inserted replaced
405:c7ea4e86870a 406:3a8e91184d4d
128 128
129 /* Global functions not exported through the API (bad practice since no ABI control...) */ 129 /* Global functions not exported through the API (bad practice since no ABI control...) */
130 int rg_pointers_init(void ** hdl) 130 int rg_pointers_init(void ** hdl)
131 { 131 {
132 CHECK_PARAMS(hdl); 132 CHECK_PARAMS(hdl);
133 *hdl = dlopen(0, RTLD_LAZY); 133 *hdl = dlopen(0, RTLD_LAZY | RTLD_GLOBAL);
134 if (!*hdl) { 134 if (!*hdl) {
135 TRACE_DEBUG(INFO, "Error in dlopen(0): %s", dlerror()); 135 TRACE_DEBUG(INFO, "Error in dlopen(0): %s", dlerror());
136 return ENOTSUP; 136 return ENOTSUP;
137 } 137 }
138 return 0; 138 return 0;
"Welcome to our mercurial repository"