OSF DCE Application Development Guide--Introduction and Style Guide

OSF DCE Application Development Guide—Introduction and Style Guide
typedef struct dce_db_dataheader_s_t {
uuid_t uuid; [...Object UUID.]
uuid_t owner_id;
uuid_t group_id;
uuid_t acl_uuid;
uuid_t def_object_acl;
uuid_t def_container_acl;
unsigned32 ref_count;
THE FOLLOWING FIELDS ARE PRIVATE TO THE LIBRARY:
utc_t created;
utc_t modified;
unsigned32 modified_count;
} dce_db_dataheader_t;
typedef enum {
dce_db_header_std,
dce_db_header_acl_uuid,
dce_db_header_none
} dce_db_header_type_t;
WHICH ONE OF THE FOLLOWING YOU GET DEPENDS ON A FLAG PASSED TO
THE dce_db_open() ROUTINE...
typedef union switch (dce_db_header_type_t type) tagged_union {
case dce_db_header_none: NONE ;
case dce_db_header_std: dce_db_dataheader_t h;
case dce_db_header_acl_uuid: uuid_t acl_uuid;
} dce_db_header_t;
*/
/*** ...END OF FROM dce/database.idl ****************************************/
/* Currently there is no actual object data in this structure. */
/* We just use it to hold the object piece of the */
/* name->object->acl mapping... [OLD NOTE] */
typedef struct sample_record_s_t {
[string] char message[TEXT_SIZE];
} sample_record_t;
typedef struct sample_data_s_t {
dce_db_header_t s_hdr;
sample_record_t s_data;
} sample_data_t;
void sample_data_convert(
[in] handle_t h,
[in,out] sample_data_t *data,
[in,out] error_status_t *st
);
void uu_convert(
[in] handle_t h,
A− 4 Tandem Computers Incorporated 124246