OSF DCE Application Development Guide--Core Components

Attribute Configuration Language
typedef [cs_char(ltype)] my_byte;
For a fixed array, if the IDL file contains
typedef struct {
my_byte fixed_array[80];
} fixed_struct;
the declaration generated in the header file is
typedef struct {
ltype fixed_array[80];
} fixed_struct;
The number of array elements in the local and network representations of the data must
be the same as the array size stated in the IDL.
For a varying array, if the IDL file contains
typedef struct {
long l;
[length_is(l)] my_byte varying_array[80];
} varying_struct;
the declaration generated in the header file is
typedef struct {
idl_long_int l;
ltype varying_array[80];
} varying_struct;
Neither the number of array elements in the local representation nor the number of array
elements in the network representation may exceed the array size in the IDL.
For a conformant array, if the IDL file contains
typedef struct {
long s;
[size_is(s)] my_byte conf_array[];
} conf_struct;
the declaration generated in the header file is
typedef struct {
idl_long_int s;
ltype conf_array[1];
} conf_struct;
The number of array elements in the local representation and the number of array
elements in the network representation need not be the same. The conversions between
these numbers are done in the user-provided _net_size and _local_size routines.
124245 Tandem Computers Incorporated 18 23