Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sp_proto.h File Reference

Go to the source code of this file.

Functions

int to_helper (char *buf)
 
int to_dataserv (char *buf)
 
int do_quit (void)
 
int printKeySymHelp (void)
 
int do_help (char *buf)
 
int doSpecWinRepaint (void)
 
int doSpecWinReSize (void)
 
int putChanTemp (int c, double t)
 
int checkKeyPress (XEvent *event)
 
int doSpecPlotWinEvent (XEvent *event, unsigned int mask)
 
char * vxstrtok (char *string, char *last_token, char *delim)
 
int readMail (char *buf, int len)
 
int parseMail (char *buf)
 
int myIOErrorHandler (Display *display, XErrorEvent *myerr)
 
int myErrorHandler (Display *display, XErrorEvent *myerr)
 
void signalHandler (void)
 
int exitProc (int status)
 
int processEvent (struct XGR_ *s)
 
int determine_min_max (float *ydata, int dl, double scan)
 
int putHeader (struct DS_IMAGE_INFO *image)
 
int display_image (double xb, double xe, double yb, double ye, struct DS_IMAGE_INFO *im)
 
int doSpecPlot (struct DS_IMAGE_INFO *im)
 
struct WINDOW * createWindow (struct XGR_ *s, char *title, int cw, int ch, int xpos, int ypos, int bg, int usPixmap, int which)
 
int createWindows (struct XGR_ *s, char *title, int cw, int ch, int xpos, int ypos, int bg, int usPixmap)
 
int main_loop (void)
 
int set_sock_callback (int(*call)(void))
 
int main (int argc, char *argv[])
 
int xgr_graphInit (struct XGR_ *s)
 
int xgr_setNumColors (int n)
 
int xgr_setColorChoice (int c)
 
int loadGrayScale (struct XGR_ *s)
 
int flame (double a, double b, double x)
 
int loadFlameScale (struct XGR_ *s, int cindx)
 
int loadPseudoScale (struct XGR_ *s)
 
int xgr_freeWindows (struct XGR_ *s)
 
int xgr_setWindowSize (char *name, double x, double y)
 
int xgr_setCurWindow (int win, int which)
 
int xgr_pixmapToWindow (char *name)
 
int xgr_mapUnmapWindow (char *name, int map)
 
int xgr_findWindow (Display *dpy, Window win, struct WINDOW **w)
 
int xgr_putXimage (char *win_name, double fx, double fy, int w, int h, unsigned char *data)
 
int xgr_reSizeProc (Window window, int width, int height)
 
int xgr_eventProc (XEvent *event, Window window, unsigned int mask)
 
int xgr_rePaintProc (Window window)
 
struct WINDOW * xgr_getWin (Window win)
 
int xgr_hardCopy (char *win, int land, int rev, char *file)
 
int xgr_makeGif (char *win, char *file)
 
int xgr_clearScreen (void)
 
int xgr_clearArea (double x, double y, double dx, double dy)
 
int find_close_color (Display *dpy, Colormap cmap, XColor *exact_color, char *color)
 
int xgr_drawLine (float *xdata, float *ydata, int n, int color)
 
int xgr_drawLineDirect (double xmin, double xmax, double ymin, double ymax, float *xdata, float *ydata, int n, int color)
 
int xgr_drawPoints (double xmin, double xmax, double ymin, double ymax, float *xdata, float *ydata, int n, int color)
 
int xgr_drawBin (float *xdata, float *ydata, int n, int color)
 
int xgr_drawGrid (double f1b, double f1e, double f2b, double f2e, int n1, int n2, int dx, int dy, int tick, int label, int clr1, int clr2, int format)
 
int xgr_drawBox (double x, double y, double x2, double y2, int color)
 
int xgr_setBox (double x, double y, double dx, double dy)
 
int xgr_drawFillBox (double xmin, double xmax, double ymin, double ymax, double xl, double yt, double xr, double yb, int color)
 
int xgr_drawRectangle (double xmin, double xmax, double ymin, double ymax, double xl, double yt, double xr, double yb, int color, int bold)
 
int xgr_drawTextInGrid (double xmin, double xmax, double ymin, double ymax, double x, double y, char *msg, int color, int f)
 
int xgr_drawCircle (double xmin, double xmax, double ymin, double ymax, double x, double y, double w, double h, int color, int size)
 
int xgr_drawPosText (double x, double y, char *msg, int clr, int f)
 
int xgr_drawText (double x, double y, char *msg, int clr, int f)
 
int xgr_drawTextClear (double x, double y, char *msg, int clr, int f)
 
int xgr_drawPoint (float *xdata, float *ydata, int n, double xmin, double xmax, char *msg, int color, int f)
 
int xgr_drawOn (double x, double y, int n, double xmin, double xmax, char *msg, int color, int f)
 
int xgr_drawLabel (char *b1, char *b2, char *b3, int color)
 
int xgr_setFont (struct XGR_ *s, int f)
 
int setInValid (int w)
 
char ** findFixedFonts (Display *dpy, int *num)
 
int charcompare (char **s1, char **s2)
 
int setFrameFooter (char *msg, int lr)
 
int xgr_checkForEvents (void)
 

Function Documentation

int charcompare ( char **  s1,
char **  s2 
)

Definition at line 2458 of file xgr.c.

int checkKeyPress ( XEvent *  event)

Definition at line 3293 of file otf.c.

struct WINDOW* createWindow ( struct XGR_ *  s,
char *  title,
int  cw,
int  ch,
int  xpos,
int  ypos,
int  bg,
int  usPixmap,
int  which 
)

Definition at line 415 of file dataserv.c.

int createWindows ( struct XGR_ *  s,
char *  title,
int  cw,
int  ch,
int  xpos,
int  ypos,
int  bg,
int  usPixmap 
)

Definition at line 512 of file dataserv.c.

int determine_min_max ( float *  ydata,
int  dl,
double  scan 
)
int display_image ( double  xb,
double  xe,
double  yb,
double  ye,
struct DS_IMAGE_INFO *  im 
)
int do_help ( char *  buf)

Definition at line 419 of file mailparse.c.

int do_quit ( void  )

Definition at line 384 of file mailparse.c.

int doSpecPlot ( struct DS_IMAGE_INFO *  im)

Definition at line 964 of file specplot.c.

int doSpecPlotWinEvent ( XEvent *  event,
unsigned int  mask 
)

Definition at line 404 of file specplot.c.

int doSpecWinRepaint ( void  )

Definition at line 211 of file specplot.c.

int doSpecWinReSize ( void  )

Definition at line 227 of file specplot.c.

int exitProc ( int  status)

Definition at line 371 of file dataserv.c.

int find_close_color ( Display *  dpy,
Colormap  cmap,
XColor *  exact_color,
char *  color 
)

Definition at line 981 of file xgr.c.

char** findFixedFonts ( Display *  dpy,
int *  num 
)

Definition at line 2351 of file xgr.c.

int flame ( double  a,
double  b,
double  x 
)

Definition at line 195 of file xgr.c.

int loadFlameScale ( struct XGR_ *  s,
int  cindx 
)

Definition at line 215 of file xgr.c.

int loadGrayScale ( struct XGR_ *  s)

Definition at line 168 of file xgr.c.

int loadPseudoScale ( struct XGR_ *  s)

Definition at line 279 of file xgr.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 22 of file gpReadMouseTest.c.

int main_loop ( void  )

Definition at line 847 of file dataserv.c.

int myErrorHandler ( Display *  display,
XErrorEvent *  myerr 
)

Definition at line 333 of file dataserv.c.

int myIOErrorHandler ( Display *  display,
XErrorEvent *  myerr 
)

Definition at line 314 of file dataserv.c.

int parseMail ( char *  buf)

Definition at line 245 of file mailparse.c.

int printKeySymHelp ( void  )

Definition at line 2891 of file otf.c.

int processEvent ( struct XGR_ *  s)

Definition at line 908 of file dataserv.c.

int putChanTemp ( int  c,
double  t 
)
int putHeader ( struct DS_IMAGE_INFO *  image)

Definition at line 819 of file specplot.c.

int readMail ( char *  buf,
int  len 
)

Definition at line 223 of file mailparse.c.

int set_sock_callback ( int(*)(void)  call)
int setFrameFooter ( char *  msg,
int  lr 
)

Definition at line 2514 of file xgr.c.

int setInValid ( int  w)

Definition at line 2333 of file xgr.c.

void signalHandler ( void  )

Definition at line 351 of file dataserv.c.

int to_dataserv ( char *  buf)

Definition at line 82 of file otf.c.

int to_helper ( char *  buf)

Definition at line 125 of file dataserv.c.

char* vxstrtok ( char *  string,
char *  last_token,
char *  delim 
)

Definition at line 655 of file mailparse.c.

int xgr_checkForEvents ( void  )

Definition at line 2547 of file xgr.c.

int xgr_clearArea ( double  x,
double  y,
double  dx,
double  dy 
)
int xgr_clearScreen ( void  )

Definition at line 921 of file xgr.c.

int xgr_drawBin ( float *  xdata,
float *  ydata,
int  n,
int  color 
)

Definition at line 1455 of file xgr.c.

int xgr_drawBox ( double  x,
double  y,
double  x2,
double  y2,
int  color 
)
int xgr_drawCircle ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  x,
double  y,
double  w,
double  h,
int  color,
int  size 
)
int xgr_drawFillBox ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  xl,
double  yt,
double  xr,
double  yb,
int  color 
)
int xgr_drawGrid ( double  f1b,
double  f1e,
double  f2b,
double  f2e,
int  n1,
int  n2,
int  dx,
int  dy,
int  tick,
int  label,
int  clr1,
int  clr2,
int  format 
)
int xgr_drawLabel ( char *  b1,
char *  b2,
char *  b3,
int  color 
)

Definition at line 2164 of file xgr.c.

int xgr_drawLine ( float *  xdata,
float *  ydata,
int  n,
int  color 
)

Definition at line 1124 of file xgr.c.

int xgr_drawLineDirect ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
float *  xdata,
float *  ydata,
int  n,
int  color 
)
int xgr_drawOn ( double  x,
double  y,
int  n,
double  xmin,
double  xmax,
char *  msg,
int  color,
int  f 
)
int xgr_drawPoint ( float *  xdata,
float *  ydata,
int  n,
double  xmin,
double  xmax,
char *  msg,
int  color,
int  f 
)
int xgr_drawPoints ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
float *  xdata,
float *  ydata,
int  n,
int  color 
)
int xgr_drawPosText ( double  x,
double  y,
char *  msg,
int  clr,
int  f 
)
int xgr_drawRectangle ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  xl,
double  yt,
double  xr,
double  yb,
int  color,
int  bold 
)
int xgr_drawText ( double  x,
double  y,
char *  msg,
int  clr,
int  f 
)
int xgr_drawTextClear ( double  x,
double  y,
char *  msg,
int  clr,
int  f 
)
int xgr_drawTextInGrid ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  x,
double  y,
char *  msg,
int  color,
int  f 
)
int xgr_eventProc ( XEvent *  event,
Window  window,
unsigned int  mask 
)

Definition at line 762 of file xgr.c.

int xgr_findWindow ( Display *  dpy,
Window  win,
struct WINDOW **  w 
)

Definition at line 602 of file xgr.c.

int xgr_freeWindows ( struct XGR_ *  s)

Definition at line 348 of file xgr.c.

struct WINDOW* xgr_getWin ( Window  win)

Definition at line 826 of file xgr.c.

int xgr_graphInit ( struct XGR_ *  s)

Definition at line 71 of file xgr.c.

int xgr_hardCopy ( char *  win,
int  land,
int  rev,
char *  file 
)

Definition at line 851 of file xgr.c.

int xgr_makeGif ( char *  win,
char *  file 
)

Definition at line 887 of file xgr.c.

int xgr_mapUnmapWindow ( char *  name,
int  map 
)

Definition at line 568 of file xgr.c.

int xgr_pixmapToWindow ( char *  name)

Definition at line 530 of file xgr.c.

int xgr_putXimage ( char *  win_name,
double  fx,
double  fy,
int  w,
int  h,
unsigned char *  data 
)
int xgr_rePaintProc ( Window  window)

Definition at line 794 of file xgr.c.

int xgr_reSizeProc ( Window  window,
int  width,
int  height 
)

Definition at line 698 of file xgr.c.

int xgr_setBox ( double  x,
double  y,
double  dx,
double  dy 
)
int xgr_setColorChoice ( int  c)

Definition at line 106 of file xgr.c.

int xgr_setCurWindow ( int  win,
int  which 
)

Definition at line 483 of file xgr.c.

int xgr_setFont ( struct XGR_ *  s,
int  f 
)

Definition at line 2294 of file xgr.c.

int xgr_setNumColors ( int  n)

Definition at line 93 of file xgr.c.

int xgr_setWindowSize ( char *  name,
double  x,
double  y 
)