man3mngr/AddConfEntry

Table of Contents

Name

AddConfEntry - Add an entry to the CONFLIST database

Description

AddConfEntry traverses the CONFLIST array and adds an entry to the first available slot in the table.

The array is presumed to have been previously initialized using InitConfList(3mngr) .

This function is part of libmngr.

Syntax

int AddConfEntry(
   CONFLIST CFpnt[],

   int Size,

   int Group,

   int Function,

   int Index,

   char *L,

   char *R

   );

Arguments

CFpnt

pointer to the CONFLIST array.

Size

size of the CONFLIST array.

Group, Function, Index

The group, function and index values to use for the new entry.

L

the Label value for the new entry

R

the RefName value for the new entry

Return Value

The index into the CONFLIST array is returned on success.
-1 is returned on failure.

See Also

libmngr(3mngr)

Manual page revision

$Id: AddConfEntry.3,v 1.1 2002/04/07 18:35:52 kitchen Exp $


Table of Contents