paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
afs_callback_arg Struct Reference

Data Fields

int fd
 
struct osl_object query
 
struct para_buffer pbout
 
struct lls_parse_result * lpr
 

Detailed Description

Arguments passed to each afs callback.

Field Documentation

◆ fd

int fd

The local socket connecting afs and the command handler.

Referenced by afs_error().

◆ query

struct osl_object query

Callback-specific data.

◆ pbout

struct para_buffer pbout

Will be written on band SBD_OUTPUT, fully buffered.

Referenced by aft_check_callback(), mood_check_callback(), and playlist_check_callback().

◆ lpr

struct lls_parse_result* lpr

Convenience pointer for the deserialized parse result.

Most afs command handlers call send_lls_callback_request() to serialize the parse result of the subcommand and pass it to the callback. In afs context a pointer to the deserialized parse result is stored here.


The documentation for this struct was generated from the following file: