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

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

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

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

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

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

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 Nov 5 15:36:21 2008 for Bayonne by  doxygen 1.5.6