Table of Contents

Name

CopyCONFIG_TBL - Copy information between configuration tables

Description

CopyCONFIG_TBL copies the contents of one CONFIG_TBL to another CONFIG_TBL.

The value of name in the source table is used to index the destination table. If a match is found the value field is copied to the destination table. If no match is found the entry in the source table is ignored.

This function is part of libconfig.

Syntax

void CopyCONFIG_TBL(
   CONFIG_TBL CFTpntI[],

   CONFIG_TBL CFTpntO[],

   int Isize,

   int Osize

   );

Arguments

CFTpntI

The input CONFIG_TBL array.

CFTpntO

The output CONFIG_TBL array.

Isize

The size of the input CONFIG_TBL array.

Osize

The size of the output CONFIG_TBL array.

See Also

BldCONFIG_TBLfn(3cf) , ClearCONFIG_TBL(3cf) , CreateCONFIG_TBL(3cf) , FindCONFIG_TBL(3cf) , LoadCONFIG_TBL(3cf) , PrintCONFIG_TBL(3cf) , SaveCONFIG_TBL(3cf) , libconfigtbl(3cf)

Manual page revision

$Id: CopyCONFIG_TBL.3,v 1.1 2002/04/07 18:46:04 kitchen Exp $


Table of Contents