ost::Bayonne::State Struct Reference

The primary state data structure. More...

#include <bayonne.h>

List of all members.

Public Attributes

Handler handler
Handler logstate
const char * name
timeout_t timeout
bool peering
Name * menu
unsigned stack
Line * lib
int pfd
result_t result
int pid
libaudio_tlibaudio
bool refer
union {
   struct {
      unsigned   count
      timeout_t   interval
   }   wait
   struct {
      Audio::Mode   mode
      Audio::Level   level
      timeout_t   total
      timeout_t   silence
      timeout_t   intersilence
      long   lastnum
      bool   exitkey
      bool   compress
      bool   trigger
      const char *   pos
      const char *   exit
      const char *   menu
      const char *   note
      union {
         const char *   list [256]
         struct {
            const char *   pathv [4]
            char   path1 [128]
            char   path2 [128]
            char   meta [256 *2]
         } 
      } 
   }   audio
   struct {
      timeout_t   interdigit
      timeout_t   lastdigit
      const char *   var
      const char *   exit
      const char *   format
      const char *   ignore
      const char *   route
      unsigned   count
      unsigned   size
      unsigned   required
   }   input
   struct {
      const char *   var
      const char *   menu
   }   inkey
   struct {
      const char *   sequence
      bool   flashing
      bool   dialing
      bool   exiting
      bool   hangup
      bool   dtmf
      bool   refer
      char *   syncdigit
      timeout_t   synctimer
      timeout_t   duration
      char   digits [64]
      char   sessionid [16]
   }   tone
   struct {
      timeout_t   on
      timeout_t   off
      timeout_t   interdigit
      unsigned   pos
      bool   flashing
      bool   dialing
      unsigned char   digits [64]
   }   pulse
   struct {
      const char *   dial
      const char *   exit
      bool   dtmf
      bool   drop
      bool   hangup
      bool   refer
      BayonneSession *   peer
      timeout_t   answer_timer
      timeout_t   hunt_timer
      Line *   select
      unsigned   index
      char   digits [64]
   }   join
   struct {
      const char *   ref
      char   buf [256 *sizeof(char *)]
   }   url
}; 


Detailed Description

The primary state data structure.

This holds data that is setup by the interpreter and which must remain persistent for the execution of a given state. This is composed of some common elements which exist in a session for all states, and a union of state specific data elements, all packed together.


Member Data Documentation

Handler ost::Bayonne::State::handler

Handler ost::Bayonne::State::logstate

const char* ost::Bayonne::State::name

timeout_t ost::Bayonne::State::timeout

bool ost::Bayonne::State::peering

Name* ost::Bayonne::State::menu

unsigned ost::Bayonne::State::stack

Line* ost::Bayonne::State::lib

int ost::Bayonne::State::pfd

result_t ost::Bayonne::State::result

int ost::Bayonne::State::pid

libaudio_t* ost::Bayonne::State::libaudio

bool ost::Bayonne::State::refer

unsigned ost::Bayonne::State::count

timeout_t ost::Bayonne::State::interval

struct { ... } ost::Bayonne::State::wait

Audio::Mode ost::Bayonne::State::mode

Audio::Level ost::Bayonne::State::level

timeout_t ost::Bayonne::State::total

timeout_t ost::Bayonne::State::silence

timeout_t ost::Bayonne::State::intersilence

long ost::Bayonne::State::lastnum

bool ost::Bayonne::State::exitkey

bool ost::Bayonne::State::compress

bool ost::Bayonne::State::trigger

const char* ost::Bayonne::State::pos

const char* ost::Bayonne::State::exit

const char* ost::Bayonne::State::menu

const char* ost::Bayonne::State::note

const char* ost::Bayonne::State::list[256]

const char* ost::Bayonne::State::pathv[4]

char ost::Bayonne::State::path1[128]

char ost::Bayonne::State::path2[128]

char ost::Bayonne::State::meta[256 *2]

struct { ... } ost::Bayonne::State::audio

timeout_t ost::Bayonne::State::interdigit

timeout_t ost::Bayonne::State::lastdigit

const char* ost::Bayonne::State::var

const char* ost::Bayonne::State::exit

const char* ost::Bayonne::State::format

const char* ost::Bayonne::State::ignore

const char* ost::Bayonne::State::route

unsigned ost::Bayonne::State::size

unsigned ost::Bayonne::State::required

struct { ... } ost::Bayonne::State::input

const char* ost::Bayonne::State::var

const char* ost::Bayonne::State::menu

struct { ... } ost::Bayonne::State::inkey

const char* ost::Bayonne::State::sequence

bool ost::Bayonne::State::flashing

bool ost::Bayonne::State::dialing

bool ost::Bayonne::State::exiting

bool ost::Bayonne::State::hangup

bool ost::Bayonne::State::dtmf

char* ost::Bayonne::State::syncdigit

timeout_t ost::Bayonne::State::synctimer

timeout_t ost::Bayonne::State::duration

char ost::Bayonne::State::digits[64]

char ost::Bayonne::State::sessionid[16]

struct { ... } ost::Bayonne::State::tone

timeout_t ost::Bayonne::State::on

timeout_t ost::Bayonne::State::off

unsigned ost::Bayonne::State::pos

unsigned char ost::Bayonne::State::digits[64]

struct { ... } ost::Bayonne::State::pulse

const char* ost::Bayonne::State::dial

const char* ost::Bayonne::State::exit

bool ost::Bayonne::State::drop

BayonneSession* ost::Bayonne::State::peer

timeout_t ost::Bayonne::State::answer_timer

timeout_t ost::Bayonne::State::hunt_timer

Line* ost::Bayonne::State::select

unsigned ost::Bayonne::State::index

struct { ... } ost::Bayonne::State::join

const char* ost::Bayonne::State::ref

char ost::Bayonne::State::buf[256 *sizeof(char *)]

struct { ... } ost::Bayonne::State::url

union { ... }


The documentation for this struct was generated from the following file:
Generated on Wed Jan 16 04:45:26 2008 for Bayonne by  doxygen 1.5.4