"Fossies" - the Fresh Open Source Software Archive

Member "cfitsio-4.0.0/group.h" (20 May 2021, 2097 Bytes) of package /linux/misc/cfitsio-4.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "group.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 3430_vs_3440.

    1 #define MAX_HDU_TRACKER 1000
    2 
    3 typedef struct _HDUtracker HDUtracker;
    4 
    5 struct _HDUtracker
    6 {
    7   int nHDU;
    8 
    9   char *filename[MAX_HDU_TRACKER];
   10   int  position[MAX_HDU_TRACKER];
   11 
   12   char *newFilename[MAX_HDU_TRACKER];
   13   int  newPosition[MAX_HDU_TRACKER];
   14 };
   15 
   16 /* functions used internally in the grouping convention module */
   17 
   18 int ffgtdc(int grouptype, int xtensioncol, int extnamecol, int extvercol,
   19        int positioncol, int locationcol, int uricol, char *ttype[],
   20        char *tform[], int *ncols, int  *status);
   21 
   22 int ffgtgc(fitsfile *gfptr, int *xtensionCol, int *extnameCol, int *extverCol,
   23        int *positionCol, int *locationCol, int *uriCol, int *grptype,
   24        int *status);
   25 
   26 int ffvcfm(fitsfile *gfptr, int xtensionCol, int extnameCol, int extverCol,
   27        int positionCol, int locationCol, int uriCol, int *status);
   28 
   29 int ffgmul(fitsfile *mfptr, int rmopt, int *status);
   30 
   31 int ffgmf(fitsfile *gfptr, char *xtension, char *extname, int extver,      
   32       int position, char *location, long *member, int *status);
   33 
   34 int ffgtrmr(fitsfile *gfptr, HDUtracker *HDU, int *status);
   35 
   36 int ffgtcpr(fitsfile *infptr, fitsfile *outfptr, int cpopt, HDUtracker *HDU,
   37         int *status);
   38 
   39 int fftsad(fitsfile *mfptr, HDUtracker *HDU, int *newPosition, 
   40        char *newFileName);
   41 
   42 int fftsud(fitsfile *mfptr, HDUtracker *HDU, int newPosition, 
   43        char *newFileName);
   44 
   45 void prepare_keyvalue(char *keyvalue);
   46 
   47 int fits_path2url(char *inpath, int maxlength, char *outpath, int  *status);
   48 
   49 int fits_url2path(char *inpath, char *outpath, int  *status);
   50 
   51 int fits_get_cwd(char *cwd, int *status);
   52 
   53 int fits_get_url(fitsfile *fptr, char *realURL, char *startURL, 
   54          char *realAccess, char *startAccess, int *iostate, 
   55          int *status);
   56 
   57 int fits_clean_url(char *inURL, char *outURL, int *status);
   58 
   59 int fits_relurl2url(char *refURL, char *relURL, char *absURL, int *status);
   60 
   61 int fits_url2relurl(char *refURL, char *absURL, char *relURL, int *status);
   62 
   63 int fits_encode_url(char *inpath, int maxlength, char *outpath, int *status);
   64 
   65 int fits_unencode_url(char *inpath, char *outpath, int *status);
   66 
   67 int fits_is_url_absolute(char *url);
   68