Tue Aug 24 20:37:21 2010

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]

Public Member Functions

 AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(synopsis);AST_STRING_FIELD(desc);AST_STRING_FIELD(syntax);AST_STRING_FIELD(arguments);AST_STRING_FIELD(seealso);)

Data Fields

struct {
   struct ast_custom_function *   next
} acflist
enum ast_doc_src docsrc
struct ast_module * mod
const char * name
int(* read )(struct ast_channel *, const char *, char *, char *, size_t)
int(* write )(struct ast_channel *, const char *, char *, const char *)

Detailed Description

Data structure associated with a custom dialplan function.

Definition at line 83 of file pbx.h.


Member Function Documentation

AST_DECLARE_STRING_FIELDS ( AST_STRING_FIELD(synopsis);AST_STRING_FIELD(desc);AST_STRING_FIELD(syntax);AST_STRING_FIELD(arguments);AST_STRING_FIELD(seealso);   ) 

Field Documentation

struct { ... } acflist

Where the documentation come from

Definition at line 92 of file pbx.h.

Referenced by __ast_custom_function_register(), acf_retrieve_docs(), ast_custom_function_unregister(), and handle_show_function().

struct ast_module* mod [read]

Module this custom function belongs to

Definition at line 95 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 96 of file pbx.h.

Referenced by listfilter().

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

Read function, if read is supported

Referenced by ast_func_read(), and op_func().

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 24 Aug 2010 for Asterisk - the Open Source PBX by  doxygen 1.6.1