ARB
Classes | Macros | Functions | Variables
dbserver.cxx File Reference
#include "trackers.hxx"
#include "dbserver.hxx"
#include "macros.hxx"
#include <arbdbt.h>
#include <ad_remote.h>
#include <aw_awar.hxx>
#include <aw_msg.hxx>
#include <aw_window.hxx>
#include <unistd.h>
Include dependency graph for dbserver.cxx:

Go to the source code of this file.

Classes

struct  db_interrupt_data
 

Macros

#define IF_DUMP_ACTION(cmd)
 
#define IF_DUMP_AUTH(cmd)
 
#define ARB_SERVE_DB_TIMER   50
 
#define ARB_CHECK_DB_TIMER   200
 

Functions

static __ATTR__USERESULT GB_ERROR check_for_remote_command (AW_root *aw_root, const db_interrupt_data &dib)
 
bool remote_command_handler (AW_root *awr, const db_interrupt_data &dib)
 
static unsigned serve_db_interrupt (AW_root *awr, db_interrupt_data *dib)
 
static unsigned check_db_interrupt (AW_root *awr, db_interrupt_data *dib)
 
GB_ERROR startup_dbserver (AW_root *aw_root, const char *application_id, GBDATA *gb_main)
 
GB_ERROR reconfigure_dbserver (const char *application_id, GBDATA *gb_main)
 

Variables

static db_interrupt_dataidle_interrupt = NULp
 

Macro Definition Documentation

#define IF_DUMP_ACTION (   cmd)

Definition at line 33 of file dbserver.cxx.

Referenced by check_for_remote_command().

#define IF_DUMP_AUTH (   cmd)

Definition at line 39 of file dbserver.cxx.

Referenced by check_for_remote_command().

#define ARB_SERVE_DB_TIMER   50

Definition at line 44 of file dbserver.cxx.

Referenced by serve_db_interrupt(), and startup_dbserver().

#define ARB_CHECK_DB_TIMER   200

Definition at line 45 of file dbserver.cxx.

Referenced by check_db_interrupt(), and startup_dbserver().

Function Documentation

static __ATTR__USERESULT GB_ERROR check_for_remote_command ( AW_root aw_root,
const db_interrupt_data dib 
)
static
bool remote_command_handler ( AW_root awr,
const db_interrupt_data dib 
)
inline
static unsigned serve_db_interrupt ( AW_root awr,
db_interrupt_data dib 
)
static
static unsigned check_db_interrupt ( AW_root awr,
db_interrupt_data dib 
)
static

Definition at line 243 of file dbserver.cxx.

References ARB_CHECK_DB_TIMER, and remote_command_handler().

Referenced by startup_dbserver().

GB_ERROR startup_dbserver ( AW_root aw_root,
const char application_id,
GBDATA gb_main 
)
GB_ERROR reconfigure_dbserver ( const char application_id,
GBDATA gb_main 
)

Definition at line 292 of file dbserver.cxx.

References arb_assert, and db_interrupt_data::reconfigure().

Referenced by configure_macro_recording().

Variable Documentation

db_interrupt_data* idle_interrupt = NULp
static

Definition at line 250 of file dbserver.cxx.