Table of Contents

Name

PrintCONFIG_TBL - print the contents of a configuration table

Description

PrintCONFIG_TBL is a small family of print routines to help print the conguration file.

PrintCONFIG_TBL prints a header and prints the contents of all of the records in a CONFIG_TBL array. It calls PrintCONFIG_TBL_hdr and PrintCONFIG_TBL_body to do it’s work.

PrintCONFIG_TBL_hdr prints the header lines.

PrintCONFIG_TBL_body prints the items in the configuration table.

This function is part of libconfig.

Syntax

void PrintCONFIG_TBL_hdr(
   FILE *fd

   );

void PrintCONFIG_TBL_body(
   FILE *fd,

   CONFIG_TBL CFTpnt[],

   int Size,

   );

void PrintCONFIG_TBL(
   FILE *fd,

   CONFIG_TBL CFTpnt[],

   int Size,

   );

Arguments

fd

the file descriptor to print to.

CFTpnt

pointer to the CONFIG_TBL array.

Size

size of the CONFIG_TBL array.

See Also

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

Manual page revision

$Id: PrintCONFIG_TBL.3,v 1.2 2002/09/11 11:58:48 kitchen Exp $


Table of Contents