Defines | Functions | Variables

plserver.c File Reference

#include "plserver.h"

Go to the source code of this file.

Defines

#define NEED_PLDEBUG

Functions

static int plExitCmd (ClientData clientData, Tcl_Interp *interp, int argc, char **argv)
static void tcl_cmd (Tcl_Interp *interp, char *cmd)
static int AppInit (Tcl_Interp *interp)
int main (int argc, const char **argv)

Variables

static char * client_name
static char * auto_path
static int child
static char * client_host
static char * client_port
static Tk_ArgvInfo argTable []

Define Documentation

#define NEED_PLDEBUG

Definition at line 39 of file plserver.c.


Function Documentation

static int AppInit ( Tcl_Interp *  interp  )  [static]

Definition at line 170 of file plserver.c.

int main ( int  argc,
const char **  argv 
)

Definition at line 96 of file plserver.c.

static int plExitCmd ( ClientData  clientData,
Tcl_Interp *  interp,
int  argc,
char **  argv 
) [static]

Definition at line 254 of file plserver.c.

static void tcl_cmd ( Tcl_Interp *  interp,
char *  cmd 
) [static]

Definition at line 294 of file plserver.c.


Variable Documentation

Tk_ArgvInfo argTable[] [static]
Initial value:
 {
    { "-client_name", TK_ARGV_STRING,   (char *) NULL, (char *) &client_name,
      "Client main window name to connect to" },
    { "-client_host", TK_ARGV_STRING,   (char *) NULL, (char *) &client_host,
      "Client host to connect to" },
    { "-client_port", TK_ARGV_STRING,   (char *) NULL, (char *) &client_port,
      "Client port (Tcl-DP) to connect to" },
    { "-auto_path",   TK_ARGV_STRING,   (char *) NULL, (char *) &auto_path,
      "Additional directory(s) to autoload" },
    { "-child",       TK_ARGV_CONSTANT, (char *) 1,    (char *) &child,
      "Set ONLY when child of PLplot TK driver" },
    { (char *) NULL,  TK_ARGV_END,      (char *) NULL, (char *) NULL,
      (char *) NULL }
}

Definition at line 54 of file plserver.c.

char* auto_path [static]

Definition at line 46 of file plserver.c.

int child [static]

Definition at line 47 of file plserver.c.

char* client_host [static]

Definition at line 51 of file plserver.c.

char* client_name [static]

Definition at line 45 of file plserver.c.

char* client_port [static]

Definition at line 52 of file plserver.c.