paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
afs_table_operations Struct Reference

Methods for table startup/shutdown and event handling. More...

#include <afs.h>

Data Fields

int(* open )(const char *base_dir)
 Gets called on startup and on SIGHUP. More...
 
void(* close )(void)
 Gets called on shutdown and on SIGHUP. More...
 
int(* create )(const char *)
 Called from the init command. More...
 
int(* event_handler )(enum afs_events event, struct para_buffer *pb, void *data)
 Handle events generated by other tables. More...
 

Detailed Description

Methods for table startup/shutdown and event handling.

Field Documentation

◆ open

int(* open) (const char *base_dir)

Gets called on startup and on SIGHUP.

◆ close

void(* close) (void)

Gets called on shutdown and on SIGHUP.

◆ create

int(* create) (const char *)

Called from the init command.

◆ event_handler

int(* event_handler) (enum afs_events event, struct para_buffer *pb, void *data)

Handle events generated by other tables.

See enum afs_events.


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