libfluidsynth
1.1.2
|
Command shell interface. More...
Data Structures | |
struct | fluid_cmd_t |
Shell command information structure. More... | |
Typedefs | |
typedef int(* | fluid_cmd_func_t) (void *data, int ac, char **av, fluid_ostream_t out) |
Command handler function prototype. More... | |
typedef fluid_cmd_handler_t *(* | fluid_server_newclient_func_t) (void *data, char *addr) |
Callback function which is executed for new server connections. More... | |
Command shell interface.
The shell interface allows you to send simple textual commands to the synthesizer, to parse a command file, or to read commands from the stdin or other input streams.
typedef int(* fluid_cmd_func_t) (void *data, int ac, char **av, fluid_ostream_t out) |
Command handler function prototype.
data | User defined data |
ac | Argument count |
av | Array of string arguments |
out | Output stream to send response to |
typedef fluid_cmd_handler_t*(* fluid_server_newclient_func_t) (void *data, char *addr) |
Callback function which is executed for new server connections.
data | User defined data supplied in call to new_fluid_server() |
addr | The IP address of the client (can be NULL) |