$callback_arg = "arg";
$orte_domain = "orte_domain";
+$refresh_period = 3;
+$expiration_time = 10;
+
$publication_persistence = "3";
$publication_strength = "1";
$publication_callback_enabled = undef;
ROBOORTE_INIT()
{
\tint rv = 0;
-\t
+\tORTEDomainProp prop;
\tORTEInit();
\tif ($data_arg_name->strength < 0)
\t\t$data_arg_name->strength = $publication_strength;
\tORTEVerbositySetOptions("ALL.0");
+\tORTEDomainPropDefaultGet(&prop);
+\tNTPTIME_BUILD(prop.baseProp.refreshPeriod, $refresh_period);
+\tNTPTIME_BUILD(prop.baseProp.expirationTime, $expiration_time);
\t$data_arg_name->$orte_domain = ORTEDomainAppCreate(ORTE_DEFAULT_DOMAIN,
-\t NULL, NULL, ORTE_FALSE);
+\t &prop, NULL, ORTE_FALSE);
\tif (!$data_arg_name->$orte_domain) {
\t\tprintf("ORTEDomainAppCreate failed!\\n");
\t\trv = -1;