*/
#include "$library_name_prefix$roboorte_name.h"
+#include <stdlib.h>
/* ----------------------------------------------------------------------
* CREATE PUBLISHERS
int ${roboorte_name}_roboorte_init(struct ${roboorte_name}_orte_data *data)
{
\tint rv = 0;
+\tconst char *s;
\tORTEDomainProp prop;
\tORTEInit();
\tif ($data_arg_name->strength <= 0)
\t\t$data_arg_name->strength = $publication_strength;
+ if ((s = getenv("ORTE_STRENGTH"))) {
+ char *end;
+ long l = strtol(s, &end, 10);
+ if (s != end)
+ data->strength = l;
+ }
+
\tORTEVerbositySetOptions("ALL.0");
\tORTEDomainPropDefaultGet(&prop);
\tNTPTIME_BUILD(prop.baseProp.refreshPeriod, $refresh_period);