paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
afs_callback_arg Struct Reference

Arguments passed to each afs callback. More...

#include <afs.h>

Data Fields

int fd
 The local socket connecting afs and the command handler. More...
 
struct osl_object query
 Callback-specific data. More...
 
struct para_buffer pbout
 Will be written on band SBD_OUTPUT, fully buffered. More...
 
struct lls_parse_result * lpr
 Convenience pointer for the deserialized parse result. More...
 

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: