7 NtpTime deadline, minimumSeparation;
8 ORTESubscription *s_octet;
9 ORTESubscription *s_short;
10 ORTESubscription *s_long;
17 main(int argc, char *argv[])
21 d = ORTEDomainAppCreate(ORTE_DEFAULT_DOMAIN, NULL, NULL, ORTE_FALSE);
24 NTPTIME_BUILD(deadline, 10); //10s
25 NTPTIME_BUILD(minimumSeparation, 0); //0s
27 //register serialization/deserealization functions for a given types
28 ofb_octet_type_register(d);
29 ofb_short_type_register(d);
30 ofb_long_type_register(d);
31 ofb_float_type_register(d);
32 ofb_double_type_register(d);
35 s_octet = ORTESubscriptionCreate(
47 s_short = ORTESubscriptionCreate(
59 s_long = ORTESubscriptionCreate(