2021-04-03 11:58:30 +02:00
|
|
|
//---
|
|
|
|
// fxlink:fxlink - Application logic
|
|
|
|
//---
|
|
|
|
|
|
|
|
#ifndef FXLINK_FXLINK_H
|
|
|
|
#define FXLINK_FXLINK_H
|
|
|
|
|
|
|
|
#include <libusb.h>
|
|
|
|
#include "filter.h"
|
|
|
|
#include "util.h"
|
|
|
|
|
|
|
|
/* Main function for -l */
|
|
|
|
int main_list(filter_t *filter, delay_t *delay, libusb_context *context);
|
|
|
|
|
|
|
|
/* Main function for -b */
|
|
|
|
int main_blocks(filter_t *filter, delay_t *delay);
|
|
|
|
|
|
|
|
/* Main function for -s */
|
|
|
|
int main_send(filter_t *filter, delay_t *delay, char **files);
|
|
|
|
|
2021-05-25 20:46:27 +02:00
|
|
|
/* Main function for -i */
|
|
|
|
int main_interactive(filter_t *filter,delay_t *delay,libusb_context *context);
|
|
|
|
|
2021-04-03 11:58:30 +02:00
|
|
|
#endif /* FXLINK_FXLINK_H */
|