int x52d_recv_notification(int sock_fd, x52d_notify_callback_fn callback)
Receive a notification from the daemon.
int x52d_dial_command(const char *sock_path)
Open a connection to the daemon command socket.
int x52d_format_command(int argc, const char **argv, char *buffer, size_t buflen)
Format a series of command strings into a buffer.
int(* x52d_notify_callback_fn)(int argc, char **argv)
Notification callback function type.
Definition: x52dcomm.h:129
int x52d_dial_notify(const char *sock_path)
Open a connection to the daemon notify socket.
int x52d_send_command(int sock_fd, char *buffer, size_t bufin, size_t bufout)
Send a command to the daemon and retrieve the response.