next up previous 231
Next: Examples of using IMG from C
Up: USING IMG FROM C
Previous: IMG C functions

HDR C functions


  void hdrDelet(char *param, char *xname, char *item, int comp, int *status) 
     Delete a header item 

  void hdrIn(char *param, char *xname, char *item, int comp, char *value, int value_length, int *status) 
     Read a character header item 

  void hdrInC(char *param, char *xname, char *item, int comp, char *value, int value_length, int *status) 
     Read a character header item 

  void hdrIn[X](char *param, char *xname, char *item, int comp, TYPE *value, int *status) 
     Read a header item 

  void hdrMod(char *param, int *status) 
     Open an image allowing modification of any header items 

  void hdrName(char *param, char *xname, int n, char *item, int item_length, int *status) 
     Return a header item name 

  void hdrNumb(char *param, char *xname, char *item, int *n, int *status) 
     Return a header item count 

  void hdrOut(char *param, char *xname, char *item, char *commen, char *value,   int value_length, int *status) 
     Write a character header item 

  void hdrOutc(char *param, char *xname, char *item, char *commen, char *value,   int value_length, int *status) 
     Write a character header item 

  void hdrOut[X](char *param, char *xname, char *item, char *commen, TYPE *value,   int *status) 
     Write a header item 
Where the "[X]" indicate the data type of the header items. The possible values of [X] are:
Character code[X] C data type (TYPE) Description
C char Character string
D double
I int
L int Boolean
F float



next up previous 231
Next: Examples of using IMG from C
Up: USING IMG FROM C
Previous: IMG C functions

IMG Simple Image Data Access
Starlink User Note 160
P.W. Draper
R.F. Warren-Smith
3 March 2003
E-mail:P.W.Draper@durham.ac.uk

Copyright © 2000-2003 Council for the Central Laboratory of the Research Councils