#define UDM_PARAM_SITEID 28
#define UDM_PARAM_DETECT_CLONES 29
#define UDM_PARAM_SORT_ORDER 30
+#define UDM_PARAM_RESULTS_LIMIT 31
/* udm_add_search_limit constants */
#define UDM_LIMIT_URL 1
REGISTER_LONG_CONSTANT("UDM_PARAM_SITEID", UDM_PARAM_SITEID,CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("UDM_PARAM_DETECT_CLONES",UDM_PARAM_DETECT_CLONES,CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("UDM_PARAM_SORT_ORDER",UDM_PARAM_SORT_ORDER,CONST_CS | CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("UDM_PARAM_RESULTS_LIMIT",UDM_PARAM_RESULTS_LIMIT,CONST_CS | CONST_PERSISTENT);
/* udm_add_search_limit constants */
REGISTER_LONG_CONSTANT("UDM_LIMIT_CAT", UDM_LIMIT_CAT,CONST_CS | CONST_PERSISTENT);
break;
#endif
+#if UDM_VERSION_ID >= 30215
+ case UDM_PARAM_RESULTS_LIMIT:
+ UdmVarListReplaceStr(&Agent->Conf->Vars,"ResultsLimit",val);
+
+ break;
+#endif
default:
php_error_docref(NULL TSRMLS_CC, E_WARNING,"Unknown agent session parameter");
RETURN_FALSE;