~ubuntu-branches/ubuntu/trusty/argyll/trusty-proposed

« back to all changes in this revision

Viewing changes to xicc/ccss.h

  • Committer: Package Import Robot
  • Author(s): Artur Rona
  • Date: 2014-02-12 00:35:39 UTC
  • mfrom: (13.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20140212003539-24tautzlitsiz61w
Tags: 1.5.1-5ubuntu1
* Merge from Debian unstable. (LP: #1275572) Remaining changes:
  - debian/control:
    + Build-depend on libtiff-dev rather than libtiff4-dev.
  - debian/control, debian/patches/06_fix_udev_rule.patch:
    + Fix udev rules to actually work; ENV{ACL_MANAGE} has
      stopped working ages ago, and with logind it's now the
      "uaccess" tag. Dropping also consolekit from Recommends.
  - debian/patches/drop-usb-db.patch:
    + Use hwdb builtin, instead of the obsolete usb-db
      in the udev rules.
* debian/patches/05_ftbfs-underlinkage.diff:
  - Dropped change, no needed anymore.
* Refresh the patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        /* Set the contents of the ccss. return nz on error. */
34
34
        /* (Makes copies of all parameters) */
35
35
        int (*set_ccss)(struct _ccss *p, char *orig, char *cdate,
36
 
                        char *desc, char *disp, char *tech, char *ref,
37
 
                        xspect *samples, int no_samp);  
 
36
                        char *desc, char *disp, char *tech, int refrmode, char *sel,
 
37
                        char *ref, xspect *samples, int no_samp);       
38
38
 
39
39
        /* write to a CGATS .ccss file */
40
40
        /* return nz on error, with message in err[] */
41
41
        int (*write_ccss)(struct _ccss *p, char *filename);
42
42
 
 
43
        /* write a CGATS .ccss file to a memory buffer. */
 
44
        /* return nz on error, with message in err[] */
 
45
        int (*buf_write_ccss)(struct _ccss *p, unsigned char **buf, int *len);
 
46
 
43
47
        /* read from a CGATS .ccss file */
44
48
        /* return nz on error, with message in err[] */
45
49
        int (*read_ccss)(struct _ccss *p, char *filename);
46
50
 
 
51
        /* read from a CGATS .ccss file from a memory buffer. */
 
52
        /* return nz on error, with message in err[] */
 
53
        int (*buf_read_ccss)(struct _ccss *p, unsigned char *buf, int len);
 
54
 
47
55
  /* Private: */
48
56
        /* (All char * are owned by ccss) */
49
57
        char *orig;                     /* Originator. May be NULL */
51
59
        char *desc;                     /* General Description (optional) */
52
60
        char *disp;                     /* Description of the display (Manfrr and Model No) (optional if tech) */
53
61
        char *tech;                     /* Technology (CRT, LCD + backlight type etc.) (optional if disp) */
 
62
        int refrmode;           /* Refresh mode, -1 if unknown, 0 of no, 1 if yes */
 
63
        char *sel;                      /* Optional UI selector characters. May be NULL */
54
64
        char *ref;                      /* Name of reference spectrometer instrument (optional) */
55
65
        xspect *samples;        /* Set of spectral samples */
56
66
        int no_samp;            /* Number of samples */
57
67
        
58
 
        /* Houskeeping */
 
68
        /* Houskeeping - should switch this to a1log ? */
59
69
        int errc;                               /* Error code */
60
70
        char err[200];                  /* Error message */
61
71
}; typedef struct _ccss ccss;