#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <X11/Intrinsic.h>
#include <X11/Xatom.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
#include <X11/Xaw/Cardinals.h>
#include <X11/Xaw/Label.h>
#include <X11/Xaw/Paned.h>
#include <X11/Xmu/SysUtil.h>
#include "UnitStripChart.h"
#include "xnet.h"
#include "xnet.bit"
Include dependency graph for xnet.c:
Go to the source code of this file.
Defines | |
#define | Offset(field) (XtOffsetOf(XNetResources, field)) |
Functions | |
static void | quit (Widget w, XEvent *event, String *params, Cardinal *num_params) |
static void | usage (void) |
int | main (int argc, char **argv) |
Variables | |
char * | ProgramName |
static XrmOptionDescRec | options [] |
static XtResource | my_resources [] |
XNetResources | xnet_resources |
static XtActionsRec | xnet_actions [] |
static Atom | wm_delete_window |
|
|
|
Definition at line 144 of file xnet.c. References GetNetPoint(), InitNetPoint(), my_resources, options, ProgramName, unitStripChartWidgetClass, usage(), wm_delete_window, xnet_actions, XtNgetValue, XtNlabel, and XtNunits. Here is the call graph for this function: |
|
Definition at line 243 of file xnet.c. References wm_delete_window. |
|
Definition at line 109 of file xnet.c. References ProgramName. |
|
Initial value: |
|
Initial value: { {"-scale", "*net.minScale", XrmoptionSepArg, NULL}, {"-update", "*net.update", XrmoptionSepArg, NULL}, {"-hl", "*net.highlight", XrmoptionSepArg, NULL}, {"-highlight", "*net.highlight", XrmoptionSepArg, NULL}, {"-label", "*label.label", XrmoptionSepArg, NULL}, {"-nolabel", "*showLabel", XrmoptionNoArg, "False"}, {"-showlabel", "*showLabel", XrmoptionNoArg, "True"}, {"-jumpscroll", "*net.jumpScroll", XrmoptionSepArg, NULL}, {"-interface", "*interface", XrmoptionSepArg, NULL}, {"-units", "*net.units", XrmoptionSepArg, "B/s"}, {"-unit-fn", "*net.fontSet", XrmoptionSepArg, NULL}, } |
|
|
|
|
|
Initial value: { { "quit", quit }, } Definition at line 100 of file xnet.c. Referenced by main(). |
|
Definition at line 98 of file xnet.c. Referenced by __GetNetPoint(). |