StreamLinkforC  7.0.3-308369
sl_commandlistener Struct Reference

Defines the interface that should be satisfied to receive information on publishing success and failure. More...

#include <sl4c.h>

Data Fields

void(* ok )(streamlink *client, void *ctx, const char *subject)
 Invoked when a command has successfully executed. More...
 
void(* error )(streamlink *client, void *ctx, const char *subject, sl_subjecterror error, sl_error_reason reason)
 Invoked when a command has not executed successfully. More...
 

Detailed Description

Defines the interface that should be satisfied to receive information on publishing success and failure.

Field Documentation

void(* sl_commandlistener::error) (streamlink *client, void *ctx, const char *subject, sl_subjecterror error, sl_error_reason reason)

Invoked when a command has not executed successfully.

Parameters
client- The client with which this command is associated.
ctx- The user supplied context.
subject- The subject to which the command applied.
error- The reason why the command failed.
reason- Sub-reason for the error
void(* sl_commandlistener::ok) (streamlink *client, void *ctx, const char *subject)

Invoked when a command has successfully executed.

Parameters
client- The client with which this command is associated.
ctx- The user supplied context.
subject- The subject to which the command applied.

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

Generated on Tue Oct 16 2018 12:25:43 for StreamLinkforC