Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
sficomwire.hh File Reference
#include <sfi/sfitypes.hh>
#include <sfi/sfiring.hh>
Include dependency graph for sficomwire.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SfiComWire
 
struct  SfiComMsg
 

Macros

#define BSE_MAGIC_BSEm
 

Typedefs

typedef gboolean(* SfiComDispatch) (gpointer data, guint request, const gchar *request_msg, SfiComWire *wire)
 

Enumerations

enum  SfiComMsgType {
  SFI_COM_MSG_INVALID, SFI_COM_MSG_RESERVED1, SFI_COM_MSG_RESERVED2, SFI_COM_MSG_RESERVED3,
  SFI_COM_MSG_RESERVED4, SFI_COM_MSG_REQUEST, SFI_COM_MSG_RESULT
}
 

Functions

SfiComWire * sfi_com_wire_from_pipe (const gchar *ident, gint remote_input, gint remote_output)
 
SfiComWire * sfi_com_wire_from_child (const gchar *ident, gint remote_input, gint remote_output, gint standard_input, gint standard_output, gint standard_error, gint remote_pid)
 
guint sfi_com_wire_send_request (SfiComWire *wire, const gchar *request_msg)
 
gchar * sfi_com_wire_receive_result (SfiComWire *wire, guint request)
 
void sfi_com_wire_forget_request (SfiComWire *wire, guint request)
 
guint sfi_com_wire_peek_first_result (SfiComWire *wire)
 
const gchar * sfi_com_wire_receive_request (SfiComWire *wire, guint *request)
 
void sfi_com_wire_send_result (SfiComWire *wire, guint request, const gchar *result_msg)
 
void sfi_com_wire_discard_request (SfiComWire *wire, guint request)
 
void sfi_com_wire_set_dispatcher (SfiComWire *wire, SfiComDispatch dispatch_func, gpointer dispatch_data, GDestroyNotify destroy_data)
 
void sfi_com_wire_dispatch (SfiComWire *wire, guint request)
 
gboolean sfi_com_wire_need_dispatch (SfiComWire *wire)
 
gint * sfi_com_wire_get_read_fds (SfiComWire *wire, guint *n_fds)
 
gint * sfi_com_wire_get_write_fds (SfiComWire *wire, guint *n_fds)
 
GPollFD * sfi_com_wire_get_poll_fds (SfiComWire *wire, guint *n_pfds)
 
void sfi_com_wire_process_io (SfiComWire *wire)
 
gchar * sfi_com_wire_collect_stdout (SfiComWire *wire, guint *n_chars)
 
gchar * sfi_com_wire_collect_stderr (SfiComWire *wire, guint *n_chars)
 
void sfi_com_wire_close_remote (SfiComWire *wire, gboolean terminate)
 
void sfi_com_wire_destroy (SfiComWire *wire)
 
gboolean sfi_com_wire_receive_dispatch (SfiComWire *wire)
 
void sfi_com_wire_select (SfiComWire *wire, guint timeout)
 
gchar * sfi_com_wire_ping_pong (SfiComWire *wire, const gchar *ping, guint timeout)
 
void sfi_com_set_spawn_dir (const gchar *cwd)
 
const charsfi_com_spawn_async (const gchar *executable, gint *child_pid, gint *standard_input, gint *standard_output, gint *standard_error, const gchar *command_fd_option, gint *command_input, gint *command_output, SfiRing *args)