Wed Oct 28 11:46:38 2009

Asterisk developer's documentation


ast_custom_function Struct Reference

Data structure associated with a custom dialplan function. More...

#include <pbx.h>

Collaboration diagram for ast_custom_function:

Collaboration graph
[legend]

Data Fields

struct {
   struct ast_custom_function *   next
acflist
const char * desc
struct ast_modulemod
const char * name
int(* read )(struct ast_channel *, const char *, char *, char *, size_t)
const char * synopsis
const char * syntax
int(* write )(struct ast_channel *, const char *, char *, const char *)

Detailed Description

Data structure associated with a custom dialplan function.

Definition at line 74 of file pbx.h.


Field Documentation

struct { ... } acflist

const char* desc

Help text that explains it all

Definition at line 77 of file pbx.h.

Referenced by free_acf_query(), and handle_show_function().

struct ast_module* mod [read]

Module this custom function belongs to

Definition at line 81 of file pbx.h.

Referenced by __ast_custom_function_register(), ast_func_read(), and ast_func_write().

const char* name

struct ast_custom_function* next [read]

Definition at line 82 of file pbx.h.

int(* read)(struct ast_channel *, const char *, char *, char *, size_t)

Read function, if read is supported

Referenced by ast_func_read(), init_acf_query(), and op_func().

const char* synopsis

Short description for "show functions"

Definition at line 76 of file pbx.h.

Referenced by handle_show_function(), handle_show_functions(), and init_acf_query().

const char* syntax

Syntax description

Definition at line 78 of file pbx.h.

Referenced by free_acf_query(), handle_show_function(), and handle_show_functions().

int(* write)(struct ast_channel *, const char *, char *, const char *)

Write function, if write is supported

Referenced by ast_func_write().


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

Generated on Wed Oct 28 11:46:39 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6