+ if (ptr->type == XML_ELEMENT_NODE
+ && !strcmp((const char *) ptr->name, "search"))
+ {
+ const char *t = get_text(ptr);
+ if (t)
+ *limit_search = atoi(t);
+ }
+ if (ptr->type == XML_ELEMENT_NODE
+ && !strcmp((const char *) ptr->name, "connect"))
+ {
+ const char *t = get_text(ptr);
+ if (t)
+ *limit_connect = atoi(t);
+ }