int report_event( SNET *sn, char *event, char *repodata ); void report_error_and_exit( SNET *sn, char *event, char *repodata, int rc );