Fri Aug 24 02:29:07 2007

Asterisk developer's documentation


ast_custom_function Struct Reference

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

#include <pbx.h>


Public Member Functions

 AST_LIST_ENTRY (ast_custom_function) acflist

Data Fields

const char * desc
const char * name
int(* read )(struct ast_channel *, char *, char *, char *, size_t)
const char * synopsis
const char * syntax
int(* write )(struct ast_channel *, char *, char *, const char *)


Detailed Description

Data structure associated with a custom dialplan function.

Definition at line 72 of file pbx.h.


Member Function Documentation

AST_LIST_ENTRY ( ast_custom_function   ) 


Field Documentation

const char* desc

Help text that explains it all

Definition at line 75 of file pbx.h.

Referenced by handle_show_function(), and handle_show_function_deprecated().

const char* name

Name

Definition at line 73 of file pbx.h.

Referenced by ast_custom_function_find(), ast_custom_function_register(), ast_custom_function_unregister(), complete_show_function(), handle_show_function(), handle_show_function_deprecated(), handle_show_functions(), and handle_show_functions_deprecated().

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

Read function, if read is supported

Referenced by ast_func_read().

const char* synopsis

Short description for "show functions"

Definition at line 74 of file pbx.h.

Referenced by handle_show_function(), handle_show_function_deprecated(), handle_show_functions(), and handle_show_functions_deprecated().

const char* syntax

Syntax description

Definition at line 76 of file pbx.h.

Referenced by handle_show_function(), handle_show_function_deprecated(), handle_show_functions(), and handle_show_functions_deprecated().

int(* write)(struct ast_channel *, 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 Fri Aug 24 02:29:07 2007 for Asterisk - the Open Source PBX by  doxygen 1.5.1