prt_api_get_item_types

Name

prt_api_get_item_types

Purpose

Return a list of all configured item types.

Description

This routine returns a list of all the configured item types in the PRT system. It also returns a counter for the number of items found.

Syntax

int prt_api_get_item_types ( item_type_ids, total, retstat )

char          **item_type_ids;

COR_I4        *total;

COR_STATUS    *retstat;

Data Structures

None

Arguments

Argument

Description

Input

 

None

 

Output

 

item_type_ids

Pointer to a pointer to list of item ids.

Total

Pointer to an integer with the total number of item ids in the item_type_ids list.

Return Value

Either COR_SUCCESS or COR_WARNING.

COR_SUCCESS is returned as long as the list exists. COR_WARNING is returned if no list exists.

More information

Application subroutines.