Sat Apr 12 07:12:57 2008

Asterisk developer's documentation


ast_generator Struct Reference

#include <channel.h>


Data Fields

void *(* alloc )(struct ast_channel *chan, void *params)
int(* generate )(struct ast_channel *chan, void *data, int len, int samples)
void(* release )(struct ast_channel *chan, void *data)


Detailed Description

Definition at line 145 of file channel.h.


Field Documentation

void*(* alloc)(struct ast_channel *chan, void *params)

Referenced by ast_activate_generator().

int(* generate)(struct ast_channel *chan, void *data, int len, int samples)

This function gets called with the channel locked

Referenced by __ast_read(), ast_read_generator_actions(), cb_events(), and generator_force().

void(* release)(struct ast_channel *chan, void *data)


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

Generated on Sat Apr 12 07:12:57 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.5