Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:49:43 2009

## Asterisk developer's documentation

# manager_action Struct Reference

`#include <manager.h>`

Collaboration diagram for manager_action:

[legend]

## Data Fields

const char * | action
int | authority
const char * | description
int(* | func )(struct mansession *s, struct message *m)
struct manager_action * | next
const char * | synopsis

## Detailed Description

Definition at line 107 of file manager.h.

## Field Documentation

const char* action

Name of the action

Definition at line 109 of file manager.h.

Referenced by action_listcommands(), ast_manager_register2(), ast_manager_register_struct(), ast_manager_unregister(), complete_show_mancmd(), handle_showmancmd(), handle_showmancmds(), and process_message().

int authority

Permission required for action. EVENT_FLAG_*

Definition at line 115 of file manager.h.

Referenced by action_listcommands(), ast_manager_register2(), handle_showmancmd(), handle_showmancmds(), and process_message().

const char* description

Detailed description of the action

Definition at line 113 of file manager.h.

Referenced by ast_manager_register2(), and handle_showmancmd().

int(* func)(struct mansession *s, struct message *m)

Function to be called

Referenced by ast_manager_register2(), and process_message().

struct manager_action* next`[read]`

For easy linking

Definition at line 119 of file manager.h.

Referenced by action_listcommands(), ast_manager_register2(), ast_manager_register_struct(), ast_manager_unregister(), complete_show_mancmd(), handle_showmancmd(), handle_showmancmds(), and process_message().

const char* synopsis

Short description of the action

Definition at line 111 of file manager.h.

Referenced by action_listcommands(), ast_manager_register2(), handle_showmancmd(), and handle_showmancmds().

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

- manager.h