mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 20:43:37 +01:00
36 lines
802 B
C
36 lines
802 B
C
//---
|
|
// fxlink:fxlink - Application logic
|
|
//---
|
|
|
|
#ifndef FXLINK_FXLINK_H
|
|
#define FXLINK_FXLINK_H
|
|
|
|
#include <libusb.h>
|
|
#include "filter.h"
|
|
#include "util.h"
|
|
|
|
struct fxlink_options
|
|
{
|
|
bool quiet;
|
|
bool force_unmount;
|
|
FILE *log_file;
|
|
};
|
|
|
|
extern struct fxlink_options options;
|
|
|
|
/* 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);
|
|
|
|
/* Main function for -i */
|
|
int main_interactive(filter_t *filter, delay_t *delay, libusb_context *context);
|
|
|
|
/* Main function for -p */
|
|
int main_push(filter_t *filter, delay_t *delay, libusb_context *context, char **files);
|
|
|
|
#endif /* FXLINK_FXLINK_H */
|