Utility Functions and C Language Reference > Utility Functions: C Language (lr_) > Alphabetical Listing > lr_zip

lr_zip

Compresses the information in a parameter and stores the compressed information in another parameter.

C Language

int lr_zip ( "source=<parameter  name>", "target=<parameter name>" );
Example: lr_zip and lr_unzip String and Parameter Functions

Arguments

Name Comments
source The name of the parameter containing the information to be compressed.
target The name of the parameter to store the compressed information.

lr_zip compresses the information in a parameter and stores the compressed information in another parameter.

Return Values

Returns LR_PASS on success.

Returns LR_FAIL if the source parameter does not exist or if the compression fails.

Parameterization

Standard parameterization does not apply to this function.