On Tue, May 29, 2018 at 11:42:15PM +0200, Anders Selhammer wrote: > +int main(int argc, char *argv[]) > +{ > + int err = 0; > + > + if (handle_term_signals()) { > + return -1; > + } > + > + if (open_snmp()) { > + return -1; > + } > + > + while (is_running()) { > + agent_check_and_process(1); > + } > + > + snmp_shutdown("linuxptpAgent"); > + > + return err; > +}
Please forgive my ignorance, but this minimal program is functional, right? What does it do? How does one test it to see that it is working? Thanks, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel