/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:16 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:35:04 _$11$DUA933:[BUILD.SDL]DCX$ROUTINES.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE DCX$ROUTINES IDENT X-1 ***/ #ifndef __DCX$ROUTINES_LOADED #define __DCX$ROUTINES_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*--------------------------------------------------------------- */ /* */ /* Data Compression/Expansion (DCX) Routines */ /* */ /* */ /* DCX$ANALYZE_DATA - Analyze a data record */ /* */ /* status = DCX$ANALYZE_DATA (context, record) */ /* */ /* context - Context value returned by DCX$ANALYZE_INIT */ /* record - Record to be analyzed */ unsigned int dcx$analyze_data(__unknown_params); /* */ /* DCX$ANALYZE_DONE - Complete analysis */ /* */ /* status = DCX$ANALYZE_DONE (context) */ /* */ /* context - Context value returned by DCX$ANALYZE_INIT */ unsigned int dcx$analyze_done(__unknown_params); /* */ /* DCX$ANALYZE_INIT - Initialize context for analysis */ /* */ /* status = DCX$ANALYZE_INIT (context [,item_code, item_value]) */ /* */ /* context - Receives context value for data stream */ /* item_code - Specifies information to be used during analysis */ /* item_value - Value of information item */ /* [Note - successive pairs of item_code and item_value can be passed */ /* in the argument list] */ /* */ unsigned int dcx$analyze_init(__unknown_params); /* */ /* DCX$COMPRESS_DATA - Compress a data record */ /* */ /* status = DCX$COMPRESS_DATA (context, in_rec, out_rec, out_length) */ /* */ /* context - Value returned by DCX$COMPRESS_INIT */ /* in_rec - Data record to be compressed */ /* out_rec - Receives compressed record */ /* out_length - Receives length of compressed record */ /* */ unsigned int dcx$compress_data(__unknown_params); /* */ /* DCX$COMPRESS_DONE - Delete context for compression */ /* */ /* status = DCX$COMPRESS_DONE (context) */ /* */ /* context - Value returned by DCX$COMPRESS_INIT */ /* */ unsigned int dcx$compress_done(__unknown_params); /* */ /* DCX$COMPRESS_INIT - Initialize context for compression */ /* */ /* status = DCX$COMPRESS_INIT (context, map) */ /* */ /* context - Context value for this data stream */ /* map - Map value returned by DCX$MAKE_MAP */ /* */ unsigned int dcx$compress_init(__unknown_params); /* */ /* DCX$EXPAND_DATA - Expand a compressed data record */ /* */ /* status = DCX$EXPAND_DATA (context, in_rec, out_rec [,out_length]) */ /* */ /* context - Value returned by DCX$EXPAND_INIT */ /* in_rec - Data record to be expanded */ /* out_rec - Receives expanded data record */ /* out_length - Receives length of expanded record */ /* */ unsigned int dcx$expand_data(__unknown_params); /* */ /* DCX$EXPAND_DONE - Delete context for expansion */ /* */ /* status = DCX$EXPAND_DONE (context) */ /* */ /* context - Value returned by DCX$EXPAND_INIT */ /* */ unsigned int dcx$expand_done(__unknown_params); /* */ /* DCX$EXPAND_INIT - Initialize context for expansion */ /* */ /* status = DCX$EXPAND_INIT (context, map) */ /* */ /* context - Receives context value identifying data stream */ /* map - Map value returned by DCX$MAKE_MAP */ /* */ unsigned int dcx$expand_init(__unknown_params); /* */ /* DCX$MAKE_MAP - Compute compression/expansion map */ /* */ /* status = DCX$MAKE_MAP (context, map_addr [, map_size]) */ /* */ /* context - Value returned by DCX$ANALYZE_INIT */ /* map_addr - Receives address of allocated map data */ /* map_size - Receives size of allocated map data */ /* */ unsigned int dcx$make_map(__unknown_params); #ifdef __cplusplus } #endif #pragma standard #endif /* __DCX$ROUTINES_LOADED */