#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/Xaw/StripChart.h>
#include <X11/Xmu/SysUtil.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 |
char | interface [1025] = { 0 } |
char | units [256] = { 'k', 'b', 0 } |
unsigned int | divisor = 10 |
static XrmOptionDescRec | options [] |
static XtResource | my_resources [] |
XNetResources | resources |
static XtActionsRec | xnet_actions [] |
static Atom | wm_delete_window |
|
|
|
Definition at line 147 of file xnet.c. References divisor, GetNetPoint(), InitNetPoint(), interface, my_resources, options, ProgramName, units, usage(), wm_delete_window, and xnet_actions. Here is the call graph for this function: |
|
Definition at line 242 of file xnet.c. References wm_delete_window. |
|
Definition at line 112 of file xnet.c. References ProgramName. Referenced by main(). |
|
Definition at line 62 of file xnet.c. Referenced by GetNetPoint(), and main(). |
|
Definition at line 60 of file xnet.c. Referenced by __GetNetPoint(), and main(). |
|
Initial value: { {"showLabel", XtCBoolean, XtRBoolean, sizeof(Boolean), Offset(show_label), XtRImmediate, (XtPointer) TRUE}, {"interface", XtCString, XtRString, sizeof(XtRString), Offset(interface), XtRImmediate, (XtPointer) FALSE}, {"units", XtCString, XtRString, sizeof(XtRString), Offset(units), XtRImmediate, (XtPointer) FALSE}, } Definition at line 90 of file xnet.c. Referenced by main(). |
|
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"}, {"-jumpscroll", "*net.jumpScroll", XrmoptionSepArg, NULL}, {"-interface", "*net.interface", XrmoptionSepArg, NULL}, {"-units", "*net.units", XrmoptionSepArg, NULL}, } Definition at line 71 of file xnet.c. Referenced by main(). |
|
|
|
|
|
Definition at line 61 of file xnet.c. Referenced by GetNetPoint(), and main(). |
|
|
|
Initial value: { { "quit", quit }, } Definition at line 103 of file xnet.c. Referenced by main(). |