stopIpfixUdpIpv4Receiver(ipfixReceiver); destroyIpfixUdpIpv4Receiver(ipfixReceiver); deinitializeIpfixUdpIpv4Receivers();  stopIpfixPrinter(ipfixPrinter); destroyIpfixPrinter(ipfixPrinter);
stopIpfixCollector(ipfixCollector);  destroyIpfixCollector(ipfixCollector); deinitializeIpfixCollectors();  stopIpfixPrinter(ipfixPrinter); destroyIpfixPrinter(ipfixPrinter);
void start_collector_using_new_interface(int lport) {        initializeIpfixPrinters();        initializeIpfixUdpIpv4Receivers();        IpfixPrinter* ipfixPrinter = createIpfixPrinter();        startIpfixPrinter(ipfixPrinter);        IpfixUdpIpv4Receiver* ipfixReceiver = createIpfixUdpIpv4Receiver(lport);        IpfixParser* ipfixParser = createIpfixParser();        addIpfixParserCallbacks(ipfixParser, getIpfixPrinterCallbackInfo(ipfixPrinter));        PacketProcessor* packetProcessor = createPacketProcessor();        setIpfixParser(packetProcessor, ipfixParser);        addPacketProcessor(ipfixReceiver, packetProcessor);        startIpfixUdpIpv4Receiver(ipfixReceiver);        debugf("Listening on Port %d. Hit Ctrl+C to quit", lport);        pause();        debug("Stopping threads and tidying up.");        stopIpfixUdpIpv4Receiver(ipfixReceiver);        destroyIpfixUdpIpv4Receiver(ipfixReceiver);        deinitializeIpfixUdpIpv4Receivers();        stopIpfixPrinter(ipfixPrinter);        destroyIpfixPrinter(ipfixPrinter);        deinitializeIpfixPrinters();        }