home *** CD-ROM | disk | FTP | other *** search
/ ftp.ncsa.uiuc.edu / ftp.ncsa.uiuc.edu.zip / ftp.ncsa.uiuc.edu / DataScope / misc / dsfn.h < prev    next >
C/C++ Source or Header  |  2017-03-03  |  789b  |  44 lines

  1.  
  2. /*
  3. *  Declarations for externally callable routines for the DataScope server
  4. *  on UNIX machines.
  5. *
  6. *  Add your external function to each of the lists.
  7. *  The internal routine, when compiled, will automatically register the
  8. *  routine name and which function to call.
  9. *  
  10. *  The routine name does not need to match the function name string.
  11. */
  12.  
  13. int 
  14.     NORM(),                    /* FORTRAN declaration */
  15.     exhifilter(),                /* C declaration */
  16.     scos(),
  17.     smooth(),                    /* add your entry here */
  18.     puts();                        /* dummy entry, anchors list */
  19.  
  20.  
  21. struct flist {
  22.     char *namestring;
  23.     int (*fncall)();
  24.  
  25. };
  26.  
  27.  
  28. struct flist dsc[] = {
  29.     "hifilter",exhifilter,
  30.     "sincos",scos,
  31.     "smooth",smooth,            /* add your entry here */
  32.     "",puts
  33.  
  34.     };
  35.  
  36.  
  37. struct flist dsf[] = {            /* FORTRAN calls list */
  38.     "norm",NORM,
  39.     "",puts
  40.  
  41.     };
  42.  
  43.  
  44.